Skip to content

Commit

Permalink
Deploying to gh-pages from @ 48f86b0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
logseq-cldwalker committed Feb 15, 2024
1 parent be4e81a commit 61167b7
Show file tree
Hide file tree
Showing 13 changed files with 22,668 additions and 20,120 deletions.
5 changes: 3 additions & 2 deletions index.html

Large diffs are not rendered by default.

25 changes: 9 additions & 16 deletions static/css/codemirror.lsradix.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,17 @@ http://ethanschoonover.com/lsradix/img/lsradix-palette.png
rendering-intent: auto;
}
.cm-s-lsradix.cm-s-dark {
/* color: or(--lx-gray-09, #839496); */
color: or(--lx-gray-11, #839496);
background-color: or(--lx-gray-01, #002b36);
text-shadow: #002b36 0 1px;
background-color: var(--lx-gray-01, hsl(var(--secondary)/.7));
color: var(--lx-gray-10, hsl(var(--secondary-foreground)));
}

.dark .cm-s-lsradix.cm-s-dark {
background-color: or(--lx-gray-02, #002b36);
background-color: var(--lx-gray-02, hsl(var(--secondary)/.7));
}

.cm-s-lsradix.cm-s-light {
/* background-color: or(--lx-gray-12, #fdf6e3); */
background-color: or(--lx-gray-02, #fdf6e3);
color: or(--lx-gray-10, #657b83);
text-shadow: #eee8d5 0 1px;
background-color: var(--lx-gray-02, hsl(var(--secondary)/.7));
color: var(--lx-gray-10, hsl(var(--secondary-foreground)));
}

.cm-s-lsradix .CodeMirror-widget {
Expand Down Expand Up @@ -124,23 +120,20 @@ http://ethanschoonover.com/lsradix/img/lsradix-palette.png

/* Dark */
.cm-s-lsradix.cm-s-dark .CodeMirror-gutters {
background-color: or(--lx-gray-01, #073642);
background-color: var(--lx-gray-03, hsl(var(--secondary)));
}

.cm-s-lsradix.cm-s-dark .CodeMirror-linenumber {
color: or(--lx-gray-09, #586e75);
/* color: or(--lx-gray-03, #586e75); */
text-shadow: #021014 0 -1px;
color: var(--lx-gray-09, #586e75);
}

/* Light */
.cm-s-lsradix.cm-s-light .CodeMirror-gutters {
background-color: or(--lx-gray-03, #eee8d5);
/* background-color: or(--lx-gray-11, #eee8d5); */
background-color: var(--lx-gray-03, hsl(var(--secondary)));
}

.cm-s-lsradix.cm-s-light .CodeMirror-linenumber {
color: or(--lx-gray-09, #839496);
color: var(--lx-gray-09, #839496);
}

/* Common */
Expand Down
187 changes: 147 additions & 40 deletions static/css/shui.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,60 @@ html * {
border-color: hsl(var(--border));
}

html[data-theme=light] {
--accent: var(--rx-gray-12-hsl);
--accent-foreground: var(--rx-gray-02-hsl);
--input: var(--rx-gray-03-hsl);
--secondary: 240 4.8% 95.9%;
}

html[data-theme=dark] {
--accent: var(--rx-gray-12-hsl);
--accent-foreground: var(--rx-gray-02-hsl);
--primary-foreground: 0 0% 22%;
--background: 0 0% 11%;
--foreground: 0 0% 95%;
--card: 0 0% 11%;
--card-foreground: 0 0% 95%;
--secondary: 0 0% 20%;
--secondary-foreground: 0 0% 98%;
--border: 0 0% 16%;
--muted: 0 0% 15%;
--popover: 0 0% 7%;
--popover-foreground: 0 0 95%;
--input: 0 0% 25%;
}

html {
.ui__dropdown-menu-content,
.ui__context-menu-content,
.ui__select-content {
--accent: var(--rx-gray-04-hsl);
--accent-foreground: var(--rx-gray-12-hsl);

--muted: var(--rx-gray-05-hsl);
}

.ui__calendar {
--accent: var(--rx-gray-04-hsl);
--accent-foreground: var(--rx-gray-12-hsl);
}

&:not([data-color=logseq]) {
.ui__dropdown-menu-item,
div[data-radix-popper-content-wrapper] div[role=menuitem] {
&:focus, &:hover {
background-color: var(--lx-gray-04, hsl(var(--accent)));
}
}


div[data-radix-popper-content-wrapper] div[role=menu],
.menu-links-wrapper,
.menu-links-outer,
.absolute-modal[data-modal-name] {
background-color: var(--lx-popover-bg, var(--lx-gray-01, hsl(var(--popover))));
}
}

&[data-color=logseq] {
Expand All @@ -23,24 +68,48 @@ html {
}
}

.ui__calendar {
--accent: var(--rx-gray-04-hsl);
--accent-foreground: var(--rx-gray-12-hsl);
&[data-color=none] {
--ls-block-bullet-color: var(--rx-gray-08);
--ls-block-bullet-active-color: var(--rx-gray-12);

::selection {
@apply bg-primary/20;
}

#ui__ac-inner {
}

.cp__cmdk {
--lx-gray-07: var(--rx-gray-07);
}

.ui__toggle {
&-background-off {
@apply bg-gray-08;

.switcher {
@apply bg-gray-10;
}
}

&-background-on {
.switcher {
@apply bg-gray-03;
}
}
}

.tl-container {
--ls-primary-background-color: hsl(var(--background));
--ls-secondary-background-color: var(--rx-gray-01);
--ls-tertiary-background-color: var(--rx-gray-03);
--ls-quaternary-background-color: var(--rx-gray-05);
}
}
}

html[data-theme=light] {
--accent: var(--rx-gray-04-hsl);
--accent-foreground: var(--rx-gray-12-hsl);
--input: var(--rx-gray-03-hsl);

&[data-color=logseq] {
--primary: 200 97% 37%;
--primary-foreground: 255 92% 100%;
--accent: 200 97% 37%;
--accent-foreground: 255 92% 100%;
--ring: 200 97% 37%;

.references-blocks-item {
--lx-bg-override: var(--rx-gray-03-alpha);
}
Expand All @@ -52,35 +121,34 @@ html[data-theme=light] {
}

html[data-theme=dark] {
--primary-foreground: 255 92% 100%;
--background: 0 0% 11%;
--foreground: 0 0% 95%;
--card: 0 0% 11%;
--card-foreground: 0 0% 95%;
--secondary: 0 0% 20%;
--secondary-foreground: 0 0% 98%;
--border: 0 0% 16%;
--muted: 0 0% 15%;
--popover: 0 0% 7%;
--popover-foreground: 0 0 95%;
--input: 0 0% 25%;
background-color: #161616;

&[data-color=logseq] {
--background: 192 100% 11%;
--foreground: 0 0% 95%;
--accent: 192 80% 10%;
--accent-foreground: 255 92% 100%;
--primary: 200 97% 37%;
--primary-foreground: 255 92% 100%;
--ring: 200 97% 37%;
--secondary: 203 50% 20%;
--secondary-foreground: 0 0% 98%;
--muted: 192 100% 13%;
--border: 192 100% 16%;
--card: 192 100% 10%;
--card-foreground: 0 0% 95%;
--popover: 192 100% 11%;
--input: 203 35% 25%;
@apply bg-[#002b36];

.ui__modal-panel {
@apply border-accent-01;
}

.tippy-tooltip {
@apply border-accent-02;
}

.references-blocks-item {
background-color: var(--lx-gray-03, var(--ls-secondary-background-color));
}

.cp__right-sidebar-inner {
.references-blocks-item {
background-color: var(--lx-gray-04, var(--ls-tertiary-background-color));
}
}

.cp__themes-installed {
.it.is-active, .it:hover {
@apply bg-accent-01;
}
}

.ui__button {
&.as-outline {
Expand All @@ -92,6 +160,17 @@ html[data-theme=dark] {
.ui__context-menu-content,
.ui__select-content {
--accent: 190 100% 15%;
--muted: 192 100% 13%;
}

.ui__button {
&.as-ghost {
@apply hover:bg-accent-01;
}
}

.menu-separator {
@apply opacity-20;
}

.ui__calendar {
Expand All @@ -101,6 +180,34 @@ html[data-theme=dark] {
.rc-datepicker {
--accent: 200 97% 37%;
}

.cp__cmdk {
.border-gray-06,
.border-gray-07 {
border-color: var(--ls-border-color, var(--lx-gray-06));
opacity: .6;
}

> .hints {
@apply border-accent-01 bg-gray-02;
}
}

.tl-button {
&:hover {
@apply bg-accent-02;
}
}

.cp__header {
> .r > div:not(.ui__dropdown-trigger) a.button, button.button {
@apply opacity-60 hover:opacity-90;
}
}

.form-input {
@apply border-accent-01;
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions static/css/style.css

Large diffs are not rendered by default.

Loading

0 comments on commit 61167b7

Please sign in to comment.