enhance(ui): polish logseq color vars

This commit is contained in:
charlie
2024-01-19 11:43:53 +08:00
parent ed50a487b7
commit a0298266ba
3 changed files with 48 additions and 41 deletions

View File

@@ -12,7 +12,6 @@ html {
--muted: var(--rx-gray-05-hsl);
}
&:not([data-color=logseq]) {
.ui__dropdown-menu-item,
div[data-radix-popper-content-wrapper] div[role=menuitem] {
@@ -47,17 +46,7 @@ html {
}
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);
}
@@ -69,19 +58,6 @@ 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;
&:not([data-color=logseq]) {
@@ -91,22 +67,6 @@ html[data-theme=dark] {
}
&[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% 14%;
--card: 192 100% 10%;
--card-foreground: 0 0% 95%;
--popover: 192 100% 11%;
--input: 203 35% 25%;
@apply bg-[#002b36];
.ui__button {