Skip to content

Commit

Permalink
bump version v0.10.15
Browse files Browse the repository at this point in the history
  • Loading branch information
henices committed Jan 12, 2024
1 parent 133a511 commit 63933e7
Show file tree
Hide file tree
Showing 10 changed files with 13,218 additions and 36 deletions.
111 changes: 100 additions & 11 deletions custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Base Root Settings


:root {
--ls-font-family: var(--cl-font-family, -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Roboto,"Source Han Sans VF","Source Sans 3 VF",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Only Emoji");
--ls-font-family: var(--cl-font-family, -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Roboto,Ubuntu,"Droid Sans","Helvetica Neue","Source Han Sans VF","Source Sans 3 VF",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Only Emoji");
--ls-font-size: var(--cl-font-size, 16px);
--ls-font-weight: var(--cl-font-weight, 420);
--ls-font-family-code: var(--cl-font-family-code, "Fira Code",Consolas,Menlo,Monaco,monospace);
Expand Down Expand Up @@ -235,6 +235,7 @@ html[data-theme='dark'] {
--ls-scrollbar-foreground-color: hsl(var(--cl-primary), 0.4);
--ls-scrollbar-background-color: hsl(var(--ls-secondary-background-color));
--ls-scrollbar-thumb-hover-color: hsl(var(--cl-primary));
--ls-scrollbar-width: 6px;
--ls-head-text-color: var(--ls-link-text-color);
--ls-cloze-text-color: hsl(var(--cl-primary));
--ls-icon-color: hsl(var(--cl-primary));
Expand Down Expand Up @@ -364,6 +365,7 @@ html[data-theme='light'] {
--ls-scrollbar-foreground-color: hsl(var(--cl-primary), 0.4);
--ls-scrollbar-background-color: hsl(var(--ls-secondary-background-color));
--ls-scrollbar-thumb-hover-color: hsl(var(--cl-primary));
--ls-scrollbar-width: 6px;
--ls-head-text-color: var(--ls-link-text-color);
--ls-cloze-text-color: hsl(var(--cl-primary));
--ls-icon-color: hsl(var(--cl-primary));
Expand Down Expand Up @@ -565,6 +567,10 @@ Code Mirror Settings
background-color: hsl(var(--cl-background));
}

.CodeMirror .CodeMirror-hscrollbar {
height: 4px;
}

.cm-s-solarized.cm-s-dark .CodeMirror-gutters, .cm-s-solarized.cm-s-light .CodeMirror-gutters {
background-color: hsl(var(--cl-background), 0);
}
Expand Down Expand Up @@ -1935,15 +1941,24 @@ End of Live Query Styler
********************************************//********************************************
INTERFACE IMPROVEMENTS
********************************************/
/* Set scrollbar width to a thinner size */
#main-container {
overflow: hidden;

*::-webkit-scrollbar {
width: var(--ls-scrollbar-width);
height: var(--ls-scrollbar-width);
background-color: var(--ls-scrollbar-background-color);
}
/* Hides scrollbar in right panel */
.scrollbar-spacing {
overflow-x: hidden;

*::-webkit-scrollbar-thumb {
background-color: var(--ls-scrollbar-foreground-color);
}

*::-webkit-scrollbar-thumb:hover {
background-color: var(--ls-scrollbar-thumb-hover-color);
}

.ui__modal[label=plugins-dashboard] .panel-content {
overflow-y: overlay;
}
/* Hides the Favorite & Recent Titles */
/*.left-sidebar-inner .nav-content-item .header {
visibility: hidden;
Expand All @@ -1953,13 +1968,20 @@ End of Live Query Styler
MENU IMPROVEMENTS
********************************************/

/*
.absolute-modal[data-modal-name] {
}
*/

.absolute.rounded-md.shadow-lg.absolute-modal {
width: 800px !important;
max-width: 100% !important;
border: 3px solid var(--bg-color-1);
max-height: 500px !important;
height: fit-content !important;
background-color: var(--ls-secondary-background-color);
}

.menu-link {
background-color: var(--bg-color-1);
}
Expand All @@ -1970,6 +1992,7 @@ End of Live Query Styler
border-color: var(--bg-color-2);
}

#ui__ac-inner .menu-link.chosen,
.menu-link.chosen {
background-color: hsl(var(--cl-primary), 0.15);
}
Expand Down Expand Up @@ -2086,6 +2109,7 @@ a.flex.items-center.text-sm.font-medium.rounded-md.wrap-th:hover {
}

.left-sidebar-inner .nav-content-item .header {
--left-sidebar-bg-color: hsl(var(--cl-background));
background-color: hsl(var(--cl-background));
}

Expand All @@ -2095,6 +2119,7 @@ a.flex.items-center.text-sm.font-medium.rounded-md.wrap-th:hover {
}*/
/* Adjusting left sidebar size and background color */
.left-sidebar-inner {
--left-sidebar-bg-color: hsl(var(--cl-background));
padding-top: 0px;
width: var(--ls-left-sidebar-width);
background-color: hsl(var(--cl-background));
Expand Down Expand Up @@ -2327,28 +2352,45 @@ span.mx-2.opacity-50:before {
* Button
****************************************************************************/

.dark-theme .cp__plugins-item-card a.btn,
.light-theme .cp__plugins-item-card a.btn {
color: hsl(var(--cl-primary));
}

.cp__settings-main .panel-wrap .ui__button,
.cp__settings-main .ui__button-theme-color.ui__button-color-custom {
background-color: hsl(var(--cl-button-background));
background-color: hsl(var(--cl-button-background), 0.95);
color: var(--bg-color);
opacity: .95;
}

.cp__settings-main .panel-wrap .ui__button:hover,
.cp__settings-main .ui__button-theme-color.ui__button-color-custom:hover {
background-color: hsl(var(--cl-button-background));
color: var(--bg-color);
opacity: 1;
}

.ui__button {
font-family: system-ui,-apple-system,BlinkMacSystemFont;
font-family: var(--ls-font-family);
}

.ui__toggle-background-on {
background-color: hsl(var(--cl-button-background));
}

button.bg-primary\/90 {
background-color: hsl(var(--cl-button-background), 0.9);
color: var(--bg-color);
}

button.bg-primary\/90:hover {
background-color: hsl(var(--cl-button-background));
color: var(--bg-color);
}

.ui__button-shortcut-key {
background-color: transparent;
}

/******************************************************************************
* Data picker
******************************************************************************/
Expand All @@ -2372,6 +2414,48 @@ span.mx-2.opacity-50:before {
cursor: pointer;
}

div .time-repeater,
div .datepicker,
div .rc-datepicker-wrapper,
div #date-time-picker {
background-color: var(--ls-secondary-background-color);
}

/*****************************************************************************
* Plugins
* ***************************************************************************/

.light-theme .cp__plugins-page .secondary-tabs button.active .flex.items-center,
.dark-theme .cp__plugins-page .secondary-tabs button.active .flex.items-center {
color: hsl(var(--cl-primary));
}

/*****************************************************************************
* Cmdk
* ***************************************************************************/
.cp__cmdk__modal .cp__cmdk div.w-full {
background-color: var(--ls-primary-background-color) !important;
}

.cp__cmdk__modal .cp__cmdk div.text-xs {
background-color: var(--ls-primary-background-color) !important;
}

/*****************************************************************************
* Panel
* ***************************************************************************/
.dark-theme .ui__modal-panel,
.light-theme .ui__modal-panel {
background-color: var(--ls-primary-background-color);
}

/*****************************************************************************
* Theme selection
* ***************************************************************************/
.cp__themes-installed .it {
background-color: transparent;
}

/* This is a simple way to put any blocks side by side in a column view, simply by adding the tags #parallel-2 to the 2 blocks, or #parallel-3 to the 3 blocks. Additionally, the tags #parallel-small and #parallel-big work to have 2 blocks side by side with one taking more space than the other, similar to having a sidebar.
*
* https://github.com/elgatopanzon/logseq-logtools-custom
Expand Down Expand Up @@ -2478,6 +2562,11 @@ html[data-theme='light'] {
--cl-accent: var(--ct-accent-color);
}

.dark-theme #app-container,
.light-theme #app-container {
background-color: var(--ls-primary-background-color);
}

.dark-theme h1.title,
.light-theme h1.title {
color: hsl(var(--cl-title-text-color)) !important;
Expand Down
33 changes: 29 additions & 4 deletions gen_custom_css.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,36 @@
if [ $1 == "custom" ]; then
cat src/code/base.css src/code/markdown.css src/code/logseq.css src/code/live-query.css src/code/interface.css src/code/plugins.css > custom.css
cat src/palettes/nord-custom.css >> custom.css
# sed -i '$a a[priority]:not(a[priority=""]), a.priority { font-size: var(--ls-font-size) !important; margin-right: 0.5em !important;}' custom.css
sed -i "/@import '/d" custom.css
sed -i "/@import ['\"]/d" custom.css
elif [ $1 == "nord" ]; then
cat src/code/base.css src/code/markdown.css src/code/logseq.css src/code/live-query.css src/code/interface.css src/code/plugins.css > nord.css
cat src/palettes/nord.css >> nord.css
# sed -i '$a a[priority]:not(a[priority=""]), a.priority { font-size: var(--ls-font-size) !important; margin-right: 0.5em !important;}' nord.css
sed -i "/@import '/d" nord.css
sed -i "/@import ['\"]/d" nord.css
elif [ $1 == 'sepia' ]; then
cat src/code/base.css src/code/markdown.css src/code/logseq.css src/code/live-query.css src/code/interface.css src/code/plugins.css > custom.css
cat src/palettes/nord-custom.css >> custom.css
cat custom.css src/palettes/sepia.css > sepia.css
sed -i "/@import ['\"]/d" sepia.css
elif [ $1 == 'xiaobot' ]; then
cat src/code/base.css src/code/markdown.css src/code/logseq.css src/code/live-query.css src/code/interface.css src/code/plugins.css > custom.css
cat src/palettes/nord-custom.css >> custom.css
cat custom.css src/palettes/xiaobot.css > xiaobot.css
sed -i "/@import ['\"]/d" xiaobot.css
elif [ $1 == 'latte' ]; then
cat src/code/base.css src/code/markdown.css src/code/logseq.css src/code/live-query.css src/code/interface.css src/code/plugins.css > custom.css
cat src/palettes/nord-custom.css >> custom.css
cat custom.css src/palettes/catppuccin-latte.css > latte.css
sed -i "/@import ['\"]/d" latte.css
elif [ $1 == 'onedark' ]; then
cat src/code/base.css src/code/markdown.css src/code/logseq.css src/code/live-query.css src/code/interface.css src/code/plugins.css > custom.css
cat src/palettes/nord-custom.css >> custom.css
cat custom.css src/palettes/one-dark-pro.css > onedark.css
sed -i "/@import ['\"]/d" onedark.css
elif [ $1 == 'macchiato' ]; then
cat src/code/base.css src/code/markdown.css src/code/logseq.css src/code/live-query.css src/code/interface.css src/code/plugins.css > custom.css
cat src/palettes/nord-custom.css >> custom.css
cat custom.css src/palettes/catppuccin-macchiato.css > macchiato.css
sed -i "/@import ['\"]/d" macchiato.css
fi

sed -i "/@import ['\"]/d" custom.css
Loading

0 comments on commit 63933e7

Please sign in to comment.