|
1 | 1 | /* Gunmetal Blue-Gray theme for published SPA. |
2 | | - Must match or exceed Logseq's built-in selector specificity |
3 | | - (html[data-theme=dark][data-color=logseq]) so our values win. */ |
4 | | -html[data-theme="dark"][data-color="logseq"], |
| 2 | + Uses data-color="gunmetal" to avoid clashing with any |
| 3 | + built-in Logseq colour theme (logseq, blue, cyan, etc.). */ |
| 4 | +html[data-theme="dark"][data-color="gunmetal"], |
5 | 5 | html[data-theme="dark"], |
6 | 6 | html[data-theme="light"], |
7 | 7 | html { |
@@ -59,7 +59,41 @@ body { background-color: #1b2128 !important; color: #c5cdd8 !important; } |
59 | 59 | .dark-theme, .white-theme, .light-theme { |
60 | 60 | --ls-primary-background-color: #1b2128 !important; |
61 | 61 | --ls-secondary-background-color: #242b35 !important; |
| 62 | + --ls-tertiary-background-color: #2e3642 !important; |
| 63 | + --ls-quaternary-background-color: #242b35 !important; |
| 64 | + --ls-primary-text-color: #c5cdd8 !important; |
| 65 | + --ls-secondary-text-color: #8891a0 !important; |
| 66 | + --ls-title-text-color: #e2e8f0 !important; |
| 67 | + --ls-link-text-color: #5b9bd5 !important; |
| 68 | + --ls-border-color: #3d4555 !important; |
| 69 | +} |
| 70 | +/* Override Logseq's inline background-color on html element */ |
| 71 | +html[data-theme="dark"] { |
| 72 | + background-color: #1b2128 !important; |
| 73 | +} |
| 74 | +/* Neutralise any residual built-in colour scheme vars */ |
| 75 | +html[data-theme="dark"][data-color] { |
| 76 | + --ls-primary-background-color: #1b2128 !important; |
| 77 | + --ls-secondary-background-color: #242b35 !important; |
| 78 | + --ls-tertiary-background-color: #2e3642 !important; |
| 79 | + --ls-quaternary-background-color: #242b35 !important; |
62 | 80 | --ls-primary-text-color: #c5cdd8 !important; |
| 81 | + --ls-secondary-text-color: #8891a0 !important; |
| 82 | + --ls-title-text-color: #e2e8f0 !important; |
| 83 | + --ls-link-text-color: #5b9bd5 !important; |
| 84 | + --ls-link-ref-text-color: #4ec9b0 !important; |
| 85 | + --ls-border-color: #3d4555 !important; |
| 86 | + --ls-secondary-border-color: #3d4555 !important; |
| 87 | + --ls-block-highlight-color: rgba(46, 54, 66, 0.8) !important; |
| 88 | + --ls-page-properties-background-color: #242b35 !important; |
| 89 | + --ls-page-inline-code-bg-color: #242b35 !important; |
| 90 | + --ls-page-inline-code-color: #d19a66 !important; |
| 91 | + --ls-scrollbar-foreground-color: #3d4555 !important; |
| 92 | + --ls-scrollbar-background-color: #1b2128 !important; |
| 93 | + --ls-block-bullet-border-color: #3d4555 !important; |
| 94 | + --ls-block-bullet-color: #5a6270 !important; |
| 95 | + --ls-guideline-color: #3d4555 !important; |
| 96 | + background-color: #1b2128 !important; |
63 | 97 | } |
64 | 98 |
|
65 | 99 | /* Hide mermaid source code blocks after kroki renders them */ |
|
0 commit comments