refactor: generate color schemes from Sass map
This commit is contained in:
+25
-25
@@ -4,23 +4,23 @@ comment-widget {
|
||||
--halo-cw-base-font-size: var(--size-theme-font) !important;
|
||||
|
||||
--halo-cw-primary-1-color: var(--color-theme-accent) !important;
|
||||
--halo-cw-primary-2-color: color-mix(in srgb, var(--color-theme-accent) 60%, transparent) !important;
|
||||
--halo-cw-primary-3-color: color-mix(in srgb, var(--color-theme-accent) 30%, transparent) !important;
|
||||
--halo-cw-primary-2-color: var(--color-theme-accent-muted) !important;
|
||||
--halo-cw-primary-3-color: var(--color-theme-accent-subtle) !important;
|
||||
|
||||
--halo-cw-text-1-color: var(--color-theme-foreground) !important;
|
||||
--halo-cw-text-2-color: color-mix(in srgb, var(--color-theme-foreground) 70%, transparent) !important;
|
||||
--halo-cw-text-3-color: color-mix(in srgb, var(--color-theme-foreground) 70%, transparent) !important;
|
||||
--halo-cw-text-2-color: var(--color-theme-foreground-muted) !important;
|
||||
--halo-cw-text-3-color: var(--color-theme-foreground-muted) !important;
|
||||
|
||||
--halo-cw-muted-1-color: color-mix(in srgb, var(--color-theme-foreground) 65%, transparent) !important;
|
||||
--halo-cw-muted-2-color: color-mix(in srgb, var(--color-theme-background) 65%, var(--color-theme-accent)) !important;
|
||||
--halo-cw-muted-3-color: color-mix(in srgb, var(--color-theme-background) 95%, var(--color-theme-accent)) !important;
|
||||
--halo-cw-muted-1-color: var(--color-theme-muted) !important;
|
||||
--halo-cw-muted-2-color: var(--color-theme-accent-subtle) !important;
|
||||
--halo-cw-muted-3-color: var(--color-theme-surface) !important;
|
||||
|
||||
--halo-cw-emoji-picker-rgb-color: var(--color-theme-background) !important;
|
||||
--halo-cw-emoji-picker-rgb-accent: var(--color-theme-foreground) !important;
|
||||
--halo-cw-emoji-picker-rgb-background: var(--color-theme-background) !important;
|
||||
--halo-cw-emoji-picker-rgb-input: var(--color-theme-foreground) !important;
|
||||
--halo-cw-emoji-picker-color-border: var(--color-theme-background) !important;
|
||||
--halo-cw-emoji-picker-color-border-over: var(--color-theme-background) !important;
|
||||
--halo-cw-emoji-picker-color-border: var(--color-theme-border-muted) !important;
|
||||
--halo-cw-emoji-picker-color-border-over: var(--color-theme-accent) !important;
|
||||
|
||||
// --halo-cw-avatar-rounded:
|
||||
// --halo-cw-avatar-size
|
||||
@@ -30,31 +30,31 @@ comment-widget {
|
||||
--halo-comment-widget-base-font-size: var(--size-theme-font) !important;
|
||||
--halo-comment-widget-base-line-height: var(--height-theme-line) !important;
|
||||
--halo-comment-widget-base-color: var(--color-theme-foreground) !important;
|
||||
--halo-comment-widget-base-info-color: var(--color-theme-foreground) !important;
|
||||
--halo-comment-widget-component-form-input-bg-color: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-base-info-color: var(--color-theme-muted) !important;
|
||||
--halo-comment-widget-component-form-input-bg-color: var(--color-theme-surface) !important;
|
||||
--halo-comment-widget-component-form-input-color: var(--color-theme-foreground) !important;
|
||||
--halo-comment-widget-component-form-input-border-color: var(--color-theme-foreground) !important;
|
||||
--halo-comment-widget-component-form-input-border-color: var(--color-theme-border-muted) !important;
|
||||
--halo-comment-widget-component-form-input-border-color-focus: var(--color-theme-accent) !important;
|
||||
--halo-comment-widget-component-form-input-box-shadow-focus: var(--color-theme-accent) !important;
|
||||
--halo-comment-widget-component-form-button-login-bg-color: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-form-button-login-bg-color-hover: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-form-button-login-border-color: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-form-button-submit-bg-color: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-form-button-submit-color: var(--color-theme-foreground) !important;
|
||||
--halo-comment-widget-component-form-button-submit-border-color: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-form-button-submit-border-color-hover: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-form-button-emoji-color: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-comment-item-action-bg-color-hover: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-form-button-login-bg-color-hover: var(--color-theme-surface-hover) !important;
|
||||
--halo-comment-widget-component-form-button-login-border-color: var(--color-theme-border-muted) !important;
|
||||
--halo-comment-widget-component-form-button-submit-bg-color: var(--color-theme-accent) !important;
|
||||
--halo-comment-widget-component-form-button-submit-color: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-form-button-submit-border-color: var(--color-theme-accent) !important;
|
||||
--halo-comment-widget-component-form-button-submit-border-color-hover: var(--color-theme-accent-muted) !important;
|
||||
--halo-comment-widget-component-form-button-emoji-color: var(--color-theme-accent) !important;
|
||||
--halo-comment-widget-component-comment-item-action-bg-color-hover: var(--color-theme-surface-hover) !important;
|
||||
--halo-comment-widget-component-comment-item-action-color-hover: var(--color-theme-accent) !important;
|
||||
--halo-comment-widget-component-pagination-button-bg-color-hover: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-pagination-button-bg-color-active: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-pagination-button-border-color-active: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-pagination-button-bg-color-hover: var(--color-theme-surface-hover) !important;
|
||||
--halo-comment-widget-component-pagination-button-bg-color-active: var(--color-theme-surface-hover) !important;
|
||||
--halo-comment-widget-component-pagination-button-border-color-active: var(--color-theme-accent) !important;
|
||||
--halo-comment-widget-component-emoji-picker-rgb-color: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-emoji-picker-rgb-accent: var(--color-theme-foreground) !important;
|
||||
--halo-comment-widget-component-emoji-picker-rgb-background: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-emoji-picker-rgb-input: var(--color-theme-foreground) !important;
|
||||
--halo-comment-widget-component-emoji-picker-color-border: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-emoji-picker-color-border-over: var(--color-theme-background) !important;
|
||||
--halo-comment-widget-component-emoji-picker-color-border: var(--color-theme-border-muted) !important;
|
||||
--halo-comment-widget-component-emoji-picker-color-border-over: var(--color-theme-accent) !important;
|
||||
}
|
||||
|
||||
.comment {
|
||||
|
||||
+5
-17
@@ -1,18 +1,6 @@
|
||||
@use "variables" as *;
|
||||
|
||||
:root {
|
||||
--color-theme-background: ;
|
||||
--color-theme-foreground: ;
|
||||
--color-theme-accent: ;
|
||||
--color-theme-tag: ;
|
||||
--color-theme-title: ;
|
||||
--color-theme-meta: ;
|
||||
--color-theme-framed: ;
|
||||
--color-theme-menu: ;
|
||||
--color-theme-header: ;
|
||||
--color-theme-code-text: var(--color-theme-foreground);
|
||||
--color-theme-scrollbar: rgba(134, 134, 134, 0.45) rgba(255, 255, 255, 0);
|
||||
--color-theme-link: var(--color-theme-accent);
|
||||
--text-decoration-theme-link: none;
|
||||
--list-theme-marker: "►";
|
||||
--size-theme-font: 1rem;
|
||||
@@ -403,14 +391,14 @@ code,
|
||||
kbd {
|
||||
font-family: inherit !important;
|
||||
font-feature-settings: normal;
|
||||
background: color-mix(in srgb, var(--color-theme-foreground) 10%, transparent);
|
||||
background: var(--color-theme-surface-hover);
|
||||
padding: calc(var(--size-theme-font) * 0.0625) calc(var(--size-theme-font) * 0.375);
|
||||
margin: 0 calc(var(--size-theme-font) * 0.125);
|
||||
font-size: calc(var(--size-theme-font) * 0.95);
|
||||
}
|
||||
|
||||
kbd {
|
||||
border-top: calc(var(--width-theme-border) / 2) solid color-mix(in srgb, var(--color-theme-accent) 25%, transparent);
|
||||
border-top: calc(var(--width-theme-border) / 2) solid var(--color-theme-accent-subtle);
|
||||
border-left: calc(var(--width-theme-border) / 2) solid var(--color-theme-accent);
|
||||
border-right: calc(var(--width-theme-border) / 2) solid var(--color-theme-accent);
|
||||
border-bottom: calc(var(--width-theme-border) * 2) solid var(--color-theme-accent);
|
||||
@@ -426,13 +414,13 @@ code code {
|
||||
pre {
|
||||
font-family: inherit !important;
|
||||
tab-size: 4;
|
||||
background: color-mix(in srgb, var(--color-theme-foreground) 5%, transparent) !important;
|
||||
background: var(--color-theme-surface) !important;
|
||||
color: var(--color-theme-foreground);
|
||||
padding: calc(var(--size-theme-font) * 0.625) calc(var(--size-theme-font) * 0.625);
|
||||
font-size: calc(var(--size-theme-font) * 0.95) !important;
|
||||
overflow: auto;
|
||||
border-radius: var(--radius-theme-border);
|
||||
border: calc(var(--width-theme-border) / 2) var(--style-theme-border) color-mix(in srgb, var(--color-theme-foreground) 10%, transparent);
|
||||
border: calc(var(--width-theme-border) / 2) var(--style-theme-border) var(--color-theme-border-muted);
|
||||
|
||||
@media (max-width: $phone-max-width) {
|
||||
white-space: pre-wrap;
|
||||
@@ -467,7 +455,7 @@ sup {
|
||||
}
|
||||
|
||||
mark {
|
||||
background: color-mix(in srgb, var(--color-theme-accent) 45%, transparent);
|
||||
background: var(--color-theme-highlight);
|
||||
color: var(--color-theme-foreground);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
hr {
|
||||
position: absolute;
|
||||
background-color: color-mix(in srgb, var(--color-theme-foreground) 65%, transparent);
|
||||
background-color: var(--color-theme-border-muted);
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
@@ -24,7 +24,7 @@
|
||||
margin: 0 auto;
|
||||
padding: calc(var(--size-theme-font) * 0.3125) calc(var(--size-theme-font) * 0.625);
|
||||
background: var(--color-theme-background);
|
||||
color: color-mix(in srgb, var(--color-theme-foreground) 65%, transparent);
|
||||
color: var(--color-theme-muted);
|
||||
font-size: calc(var(--size-theme-font) * 0.8);
|
||||
text-decoration: none;
|
||||
letter-spacing: 0.1em;
|
||||
|
||||
@@ -104,13 +104,13 @@
|
||||
|
||||
.portfolio-item .portfolio-tags,
|
||||
.portfolio-item .portfolio-tags .portfolio-tag {
|
||||
color: color-mix(in srgb, var(--color-theme-accent) 72%, transparent);
|
||||
color: var(--color-theme-tag);
|
||||
}
|
||||
|
||||
.portfolio-detail-post .portfolio-meta-line,
|
||||
.portfolio-detail-post .portfolio-meta-line .portfolio-card-label,
|
||||
.portfolio-detail-post .portfolio-meta-line .portfolio-tag {
|
||||
color: color-mix(in srgb, var(--color-theme-meta) 72%, transparent);
|
||||
color: var(--color-theme-meta);
|
||||
}
|
||||
|
||||
.portfolio-detail-post .portfolio-meta-line.post-meta {
|
||||
@@ -123,7 +123,7 @@
|
||||
}
|
||||
|
||||
.portfolio-item .post-excerpt {
|
||||
color: color-mix(in srgb, var(--color-theme-foreground) 82%, transparent);
|
||||
color: var(--color-theme-foreground);
|
||||
font-size: calc(var(--size-theme-font) * 0.86);
|
||||
line-height: calc(var(--size-theme-font) * 1.55);
|
||||
margin-top: calc(var(--size-theme-font) * 0.625);
|
||||
@@ -158,7 +158,7 @@
|
||||
}
|
||||
|
||||
.portfolio-empty {
|
||||
color: color-mix(in srgb, var(--color-theme-foreground) 65%, transparent);
|
||||
color: var(--color-theme-muted);
|
||||
}
|
||||
|
||||
.portfolio-detail-nav {
|
||||
@@ -173,7 +173,7 @@
|
||||
}
|
||||
|
||||
.portfolio-detail-summary {
|
||||
color: color-mix(in srgb, var(--color-theme-foreground) 86%, transparent);
|
||||
color: var(--color-theme-foreground);
|
||||
}
|
||||
|
||||
.portfolio-detail-section {
|
||||
@@ -196,7 +196,7 @@
|
||||
}
|
||||
|
||||
.portfolio-link-url {
|
||||
color: color-mix(in srgb, var(--color-theme-meta) 72%, transparent);
|
||||
color: var(--color-theme-muted);
|
||||
font-size: calc(var(--size-theme-font) * 0.9);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
@@ -28,13 +28,13 @@
|
||||
}
|
||||
|
||||
.post:not(:last-of-type) {
|
||||
border-bottom: calc(var(--size-theme-font) * 0.0625) var(--style-theme-border) color-mix(in srgb, var(--color-theme-foreground) 10%, transparent);
|
||||
border-bottom: calc(var(--size-theme-font) * 0.0625) var(--style-theme-border) var(--color-theme-border-muted);
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
font-size: calc(var(--size-theme-font) * 0.96);
|
||||
margin-bottom: calc(var(--size-theme-font) * 0.3125);
|
||||
color: color-mix(in srgb, var(--color-theme-meta) 65%, transparent);
|
||||
color: var(--color-theme-meta);
|
||||
}
|
||||
|
||||
.post-meta > *:not(:first-child):not(:empty)::before {
|
||||
@@ -178,11 +178,11 @@ h6:hover .hanchor {
|
||||
}
|
||||
|
||||
.footnotes {
|
||||
color: color-mix(in srgb, var(--color-theme-foreground) 50%, transparent);
|
||||
color: var(--color-theme-muted);
|
||||
}
|
||||
|
||||
.footnotes hr {
|
||||
background: color-mix(in srgb, var(--color-theme-foreground) 50%, transparent);
|
||||
background: var(--color-theme-border-muted);
|
||||
}
|
||||
|
||||
.post-list {
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
:root {
|
||||
--color-theme-background: #f4f4f4;
|
||||
--color-theme-foreground: #3e3e3e;
|
||||
--color-theme-accent: #003e8a;
|
||||
--color-theme-tag: #07962a;
|
||||
--color-theme-title: #003e8a;
|
||||
--color-theme-meta: #2e6cba;
|
||||
--color-theme-framed: #970b16;
|
||||
--color-theme-menu: #3e3e3e;
|
||||
--color-theme-header: #3e3e3e;
|
||||
|
||||
--color-theme-code-text: var(--color-theme-foreground);
|
||||
--color-theme-link: var(--color-theme-accent);
|
||||
--color-theme-muted: var(--color-theme-meta);
|
||||
--color-theme-foreground-muted: color-mix(in srgb, var(--color-theme-foreground) 85%, var(--color-theme-background));
|
||||
--color-theme-accent-muted: color-mix(in srgb, var(--color-theme-accent) 60%, var(--color-theme-background));
|
||||
--color-theme-accent-subtle: color-mix(in srgb, var(--color-theme-accent) 30%, var(--color-theme-background));
|
||||
--color-theme-surface: color-mix(in srgb, var(--color-theme-foreground) 5%, var(--color-theme-background));
|
||||
--color-theme-surface-hover: color-mix(in srgb, var(--color-theme-foreground) 10%, var(--color-theme-background));
|
||||
--color-theme-border-muted: color-mix(in srgb, var(--color-theme-foreground) 18%, var(--color-theme-background));
|
||||
--color-theme-highlight: color-mix(in srgb, var(--color-theme-accent) 45%, var(--color-theme-background));
|
||||
--color-theme-overlay: rgb(0 0 0 / 80%);
|
||||
--color-theme-scrollbar: color-mix(in srgb, var(--color-theme-foreground) 45%, var(--color-theme-background)) transparent;
|
||||
}
|
||||
|
||||
html[theme-color-scheme] {
|
||||
--color-theme-tag: var(--color-theme-accent);
|
||||
--color-theme-title: var(--color-theme-accent);
|
||||
--color-theme-meta: var(--color-theme-foreground);
|
||||
--color-theme-framed: var(--color-theme-accent);
|
||||
--color-theme-menu: var(--color-theme-accent);
|
||||
--color-theme-header: var(--color-theme-accent);
|
||||
}
|
||||
|
||||
$color-schemes: (
|
||||
"day": (
|
||||
"background": #f4f4f4,
|
||||
"foreground": #3e3e3e,
|
||||
"accent": #003e8a,
|
||||
"tag": #07962a,
|
||||
"meta": #2e6cba,
|
||||
"framed": #970b16,
|
||||
"menu": var(--color-theme-foreground),
|
||||
"header": var(--color-theme-foreground)
|
||||
),
|
||||
"night": (
|
||||
"background": #101216,
|
||||
"foreground": #8b949e,
|
||||
"accent": #6ca4f8,
|
||||
"tag": #56d364,
|
||||
"meta": #6ca4f8,
|
||||
"framed": #f78166,
|
||||
"menu": var(--color-theme-foreground),
|
||||
"header": var(--color-theme-foreground)
|
||||
),
|
||||
"niello": (
|
||||
"background": #1a170f,
|
||||
"foreground": #eceae5,
|
||||
"accent": #eec35e
|
||||
),
|
||||
"matrix": (
|
||||
"background": #000000,
|
||||
"foreground": #4eee85,
|
||||
"accent": #4eee85
|
||||
),
|
||||
"ink": (
|
||||
"background": #000000,
|
||||
"foreground": #e3e3e3,
|
||||
"accent": #e3e3e3
|
||||
),
|
||||
"paper": (
|
||||
"background": #ffffff,
|
||||
"foreground": #000000,
|
||||
"accent": #000000
|
||||
),
|
||||
"hopbush": (
|
||||
"background": #fff6f6,
|
||||
"foreground": #462d2d,
|
||||
"accent": #cc6099
|
||||
),
|
||||
"pistachio": (
|
||||
"background": #1d2021,
|
||||
"foreground": #ebdbb2,
|
||||
"accent": #8ec07c
|
||||
),
|
||||
"blue": (
|
||||
"background": #153489,
|
||||
"foreground": #eceae5,
|
||||
"accent": #5ea5ee
|
||||
),
|
||||
"vanilla": (
|
||||
"background": #fff4f2,
|
||||
"foreground": #424140,
|
||||
"accent": #8f6a5e
|
||||
),
|
||||
"studio": (
|
||||
"background": #f7f4ff,
|
||||
"foreground": #403352,
|
||||
"accent": #6f49ab
|
||||
),
|
||||
"blood": (
|
||||
"background": #221f29,
|
||||
"foreground": #ffffff,
|
||||
"accent": #ff6266,
|
||||
"meta": var(--color-theme-accent),
|
||||
"menu": var(--color-theme-foreground)
|
||||
)
|
||||
);
|
||||
|
||||
@each $scheme-name, $scheme-colors in $color-schemes {
|
||||
html[theme-color-scheme="#{$scheme-name}"] {
|
||||
@each $role, $color in $scheme-colors {
|
||||
--color-theme-#{$role}: #{$color};
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,23 +3,23 @@ search-modal {
|
||||
--halo-search-widget-base-font-family: var(--family-theme-font) !important;
|
||||
--halo-search-widget-base-bg-color: var(--color-theme-background) !important;
|
||||
--halo-search-widget-primary-color: var(--color-theme-accent) !important;
|
||||
--halo-search-widget-muted-color: var(--color-theme-foreground) !important;
|
||||
--halo-search-widget-content-color: var(--color-theme-accent) !important;
|
||||
--halo-search-widget-muted-color: var(--color-theme-muted) !important;
|
||||
--halo-search-widget-content-color: var(--color-theme-foreground) !important;
|
||||
--halo-search-widget-hit-bg-color: var(--color-theme-background) !important;
|
||||
--halo-search-widget-modal-bg-color: var(--color-theme-background) !important;
|
||||
--halo-search-widget-modal-layer-color: #000000cc !important;
|
||||
--halo-search-widget-divider-color: var(--color-theme-accent) !important;
|
||||
--halo-search-widget-modal-layer-color: var(--color-theme-overlay) !important;
|
||||
--halo-search-widget-divider-color: var(--color-theme-border-muted) !important;
|
||||
--halo-search-widget-kbd-border-color: var(--color-theme-accent) !important;
|
||||
--halo-search-widget-kbd-shadow: none !important;
|
||||
--halo-search-widget-color-form-input-bg: var(--color-theme-background) !important;
|
||||
--halo-search-widget-color-form-input: var(--color-theme-foreground);
|
||||
--halo-search-widget-color-form-input-placeholder: var(--color-theme-accent) !important;
|
||||
--halo-search-widget-color-form-divider: var(--color-theme-accent) !important;
|
||||
--halo-search-widget-color-result-empty: var(--color-theme-accent) !important;
|
||||
--halo-search-widget-color-form-input-placeholder: var(--color-theme-muted) !important;
|
||||
--halo-search-widget-color-form-divider: var(--color-theme-border-muted) !important;
|
||||
--halo-search-widget-color-result-empty: var(--color-theme-muted) !important;
|
||||
--halo-search-widget-color-result-item-bg: var(--color-theme-background) !important;
|
||||
--halo-search-widget-color-result-item-hover-bg: var(--color-theme-background) !important;
|
||||
--halo-search-widget-color-result-item-hover-bg: var(--color-theme-surface-hover) !important;
|
||||
--halo-search-widget-color-result-item-title: var(--color-theme-accent) !important;
|
||||
--halo-search-widget-color-result-item-content: var(--color-theme-accent) !important;
|
||||
--halo-search-widget-color-result-item-content: var(--color-theme-muted) !important;
|
||||
--halo-search-widget-color-command-kbd-item: var(--color-theme-accent) !important;
|
||||
--halo-search-widget-color-command-kbd-borde: var(--color-theme-accent) !important;
|
||||
}
|
||||
@@ -12,7 +12,7 @@
|
||||
@use "post";
|
||||
@use "portfolio";
|
||||
@use "search";
|
||||
@use "theme";
|
||||
@use "scheme";
|
||||
@use "toc";
|
||||
@use "sns";
|
||||
@use "typed-text";
|
||||
|
||||
@@ -1,143 +0,0 @@
|
||||
html[theme-color-scheme='day'] {
|
||||
--color-theme-background: #f4f4f4;
|
||||
--color-theme-foreground: #3e3e3e;
|
||||
--color-theme-accent: #003e8a;
|
||||
--color-theme-tag: #07962a;
|
||||
--color-theme-title: #003e8a;
|
||||
--color-theme-meta: #2e6cba;
|
||||
--color-theme-framed: #970b16;
|
||||
--color-theme-menu: #3e3e3e;
|
||||
--color-theme-header: #3e3e3e;
|
||||
}
|
||||
|
||||
html[theme-color-scheme='night'] {
|
||||
--color-theme-background: #101216;
|
||||
--color-theme-foreground: #8b949e;
|
||||
--color-theme-accent: #6ca4f8;
|
||||
--color-theme-tag: #56d364;
|
||||
--color-theme-title: #6ca4f8;
|
||||
--color-theme-meta: #6ca4f8;
|
||||
--color-theme-framed: #f78166;
|
||||
--color-theme-menu: #8b949e;
|
||||
--color-theme-header: #8b949e;
|
||||
}
|
||||
|
||||
html[theme-color-scheme='niello'] {
|
||||
--color-theme-background: #1a170f;
|
||||
--color-theme-foreground: #eceae5;
|
||||
--color-theme-accent: #eec35e;
|
||||
--color-theme-tag: #eec35e;
|
||||
--color-theme-title: #eec35e;
|
||||
--color-theme-meta: #eceae5;
|
||||
--color-theme-framed: #eec35e;
|
||||
--color-theme-menu: #eec35e;
|
||||
--color-theme-header: #eec35e;
|
||||
}
|
||||
|
||||
html[theme-color-scheme='matrix'] {
|
||||
--color-theme-background: #000000;
|
||||
--color-theme-foreground: #4eee85;
|
||||
--color-theme-accent: #4eee85;
|
||||
--color-theme-tag: #4eee85;
|
||||
--color-theme-title: #4eee85;
|
||||
--color-theme-meta: #4eee85;
|
||||
--color-theme-framed: #4eee85;
|
||||
--color-theme-menu: #4eee85;
|
||||
--color-theme-header: #4eee85;
|
||||
}
|
||||
|
||||
html[theme-color-scheme='ink'] {
|
||||
--color-theme-background: #000000;
|
||||
--color-theme-foreground: #E3E3E3;
|
||||
--color-theme-accent: #E3E3E3;
|
||||
--color-theme-tag: #E3E3E3;
|
||||
--color-theme-title: #E3E3E3;
|
||||
--color-theme-meta: #E3E3E3;
|
||||
--color-theme-framed: #E3E3E3;
|
||||
--color-theme-menu: #E3E3E3;
|
||||
--color-theme-header: #E3E3E3;
|
||||
}
|
||||
|
||||
html[theme-color-scheme='paper'] {
|
||||
--color-theme-background: #FFFFFF;
|
||||
--color-theme-foreground: #000000;
|
||||
--color-theme-accent: #000000;
|
||||
--color-theme-tag: #000000;
|
||||
--color-theme-title: #000000;
|
||||
--color-theme-meta: #000000;
|
||||
--color-theme-framed: #000000;
|
||||
--color-theme-menu: #000000;
|
||||
--color-theme-header: #000000;
|
||||
}
|
||||
|
||||
html[theme-color-scheme='hopbush'] {
|
||||
--color-theme-background: #fff6f6;
|
||||
--color-theme-foreground: #462d2d;
|
||||
--color-theme-accent: #cc6099;
|
||||
--color-theme-tag: #cc6099;
|
||||
--color-theme-title: #cc6099;
|
||||
--color-theme-meta: #462d2d;
|
||||
--color-theme-framed: #cc6099;
|
||||
--color-theme-menu: #cc6099;
|
||||
--color-theme-header: #cc6099;
|
||||
}
|
||||
|
||||
html[theme-color-scheme='pistachio'] {
|
||||
--color-theme-background: #1d2021;
|
||||
--color-theme-foreground: #ebdbb2;
|
||||
--color-theme-accent: #8ec07c;
|
||||
--color-theme-tag: #8ec07c;
|
||||
--color-theme-title: #8ec07c;
|
||||
--color-theme-meta: #ebdbb2;
|
||||
--color-theme-framed: #8ec07c;
|
||||
--color-theme-menu: #8ec07c;
|
||||
--color-theme-header: #8ec07c;
|
||||
}
|
||||
|
||||
html[theme-color-scheme='blue'] {
|
||||
--color-theme-background: #153489;
|
||||
--color-theme-foreground: #eceae5;
|
||||
--color-theme-accent: #5ea5ee;
|
||||
--color-theme-tag: #5ea5ee;
|
||||
--color-theme-title: #5ea5ee;
|
||||
--color-theme-meta: #eceae5;
|
||||
--color-theme-framed: #5ea5ee;
|
||||
--color-theme-menu: #5ea5ee;
|
||||
--color-theme-header: #5ea5ee;
|
||||
}
|
||||
|
||||
html[theme-color-scheme='vanilla'] {
|
||||
--color-theme-background: #fff4f2;
|
||||
--color-theme-foreground: #424140;
|
||||
--color-theme-accent: #8f6a5e;
|
||||
--color-theme-tag: #8f6a5e;
|
||||
--color-theme-title: #8f6a5e;
|
||||
--color-theme-meta: #424140;
|
||||
--color-theme-framed: #8f6a5e;
|
||||
--color-theme-menu: #8f6a5e;
|
||||
--color-theme-header: #8f6a5e;
|
||||
}
|
||||
|
||||
html[theme-color-scheme='studio'] {
|
||||
--color-theme-background: #f7f4ff;
|
||||
--color-theme-foreground: #403352;
|
||||
--color-theme-accent: #6f49ab;
|
||||
--color-theme-tag: #6f49ab;
|
||||
--color-theme-title: #6f49ab;
|
||||
--color-theme-meta: #403352;
|
||||
--color-theme-framed: #6f49ab;
|
||||
--color-theme-menu: #6f49ab;
|
||||
--color-theme-header: #6f49ab;
|
||||
}
|
||||
|
||||
html[theme-color-scheme='blood'] {
|
||||
--color-theme-background: #221F29;
|
||||
--color-theme-foreground: #FFFFFF;
|
||||
--color-theme-accent: #FF6266;
|
||||
--color-theme-tag: #FF6266;
|
||||
--color-theme-title: #FF6266;
|
||||
--color-theme-meta: #FF6266;
|
||||
--color-theme-framed: #FF6266;
|
||||
--color-theme-menu: #FFFFFF;
|
||||
--color-theme-header: #FF6266;
|
||||
}
|
||||
Reference in New Issue
Block a user