wip(theme): repair AE Firefly theme vars (ensure light+dark ramps, !important background)
This commit is contained in:
@@ -26,8 +26,9 @@
|
||||
* Variant of: src/ae-firefly.css (AE_Firefly)
|
||||
*/
|
||||
|
||||
[data-theme='AE_Firefly_Rainbow'] {
|
||||
html[data-theme='AE_Firefly_Rainbow'] {
|
||||
--text-scaling: 1.067;
|
||||
--background: var(--color-surface-50) !important;
|
||||
--base-font-color: var(--color-surface-950);
|
||||
--base-font-color-dark: var(--color-surface-50);
|
||||
--base-font-family: system-ui, sans-serif;
|
||||
@@ -58,6 +59,111 @@
|
||||
--anchor-text-decoration-focus: none;
|
||||
|
||||
--spacing: 0.25rem;
|
||||
}
|
||||
|
||||
/* --- Color ramps (light mode) copied from dark block so both modes have full ramps --- */
|
||||
html[data-theme='AE_Firefly_Rainbow'] {
|
||||
--color-primary-50: oklch(97.0% 0.020 15deg);
|
||||
--color-primary-100: oklch(92.0% 0.048 14deg);
|
||||
--color-primary-200: oklch(86.0% 0.085 13deg);
|
||||
--color-primary-300: oklch(79.0% 0.125 13deg);
|
||||
--color-primary-400: oklch(71.0% 0.160 13deg);
|
||||
--color-primary-500: oklch(60.0% 0.190 14deg);
|
||||
--color-primary-600: oklch(52.5% 0.178 15deg);
|
||||
--color-primary-700: oklch(45.0% 0.162 16deg);
|
||||
--color-primary-800: oklch(37.5% 0.142 17deg);
|
||||
--color-primary-900: oklch(30.0% 0.118 18deg);
|
||||
--color-primary-950: oklch(22.5% 0.092 19deg);
|
||||
--color-primary-contrast-dark: var(--color-primary-950);
|
||||
--color-primary-contrast-light: var(--color-primary-50);
|
||||
|
||||
--color-secondary-50: oklch(97.0% 0.040 152deg);
|
||||
--color-secondary-100: oklch(92.5% 0.072 150deg);
|
||||
--color-secondary-200: oklch(87.0% 0.105 149deg);
|
||||
--color-secondary-300: oklch(81.0% 0.132 148deg);
|
||||
--color-secondary-400: oklch(74.5% 0.152 148deg);
|
||||
--color-secondary-500: oklch(62.0% 0.160 148deg);
|
||||
--color-secondary-600: oklch(53.5% 0.148 148deg);
|
||||
--color-secondary-700: oklch(45.5% 0.132 147deg);
|
||||
--color-secondary-800: oklch(37.5% 0.112 146deg);
|
||||
--color-secondary-900: oklch(29.5% 0.090 145deg);
|
||||
--color-secondary-950: oklch(21.5% 0.068 144deg);
|
||||
--color-secondary-contrast-dark: var(--color-secondary-950);
|
||||
--color-secondary-contrast-light: var(--color-secondary-50);
|
||||
|
||||
--color-tertiary-50: oklch(96.5% 0.030 299deg);
|
||||
--color-tertiary-100: oklch(91.0% 0.058 297deg);
|
||||
--color-tertiary-200: oklch(84.5% 0.092 296deg);
|
||||
--color-tertiary-300: oklch(77.0% 0.122 295deg);
|
||||
--color-tertiary-400: oklch(68.5% 0.148 295deg);
|
||||
--color-tertiary-500: oklch(57.0% 0.158 295deg);
|
||||
--color-tertiary-600: oklch(49.5% 0.150 294deg);
|
||||
--color-tertiary-700: oklch(42.5% 0.138 293deg);
|
||||
--color-tertiary-800: oklch(35.5% 0.122 292deg);
|
||||
--color-tertiary-900: oklch(28.5% 0.102 291deg);
|
||||
--color-tertiary-950: oklch(21.0% 0.080 290deg);
|
||||
--color-tertiary-contrast-dark: var(--color-tertiary-950);
|
||||
--color-tertiary-contrast-light: var(--color-tertiary-50);
|
||||
|
||||
--color-success-50: oklch(95.77% 0.05 152.69deg);
|
||||
--color-success-100: oklch(91.59% 0.06 152.00deg);
|
||||
--color-success-200: oklch(87.45% 0.08 152.08deg);
|
||||
--color-success-300: oklch(83.57% 0.09 150.85deg);
|
||||
--color-success-400: oklch(79.47% 0.11 150.71deg);
|
||||
--color-success-500: oklch(75.38% 0.12 149.99deg);
|
||||
--color-success-600: oklch(67.65% 0.11 149.94deg);
|
||||
--color-success-700: oklch(59.71% 0.09 150.42deg);
|
||||
--color-success-800: oklch(51.74% 0.08 150.24deg);
|
||||
--color-success-900: oklch(43.20% 0.06 151.12deg);
|
||||
--color-success-950: oklch(34.20% 0.04 151.44deg);
|
||||
--color-success-contrast-dark: var(--color-success-950);
|
||||
--color-success-contrast-light: var(--color-success-50);
|
||||
|
||||
--color-warning-50: oklch(97.5% 0.065 78deg);
|
||||
--color-warning-100: oklch(93.5% 0.090 75deg);
|
||||
--color-warning-200: oklch(89.5% 0.120 73deg);
|
||||
--color-warning-300: oklch(85.5% 0.145 70deg);
|
||||
--color-warning-400: oklch(81.5% 0.160 67deg);
|
||||
--color-warning-500: oklch(77.0% 0.165 65deg);
|
||||
--color-warning-600: oklch(69.5% 0.155 64deg);
|
||||
--color-warning-700: oklch(61.5% 0.140 63deg);
|
||||
--color-warning-800: oklch(53.5% 0.125 62deg);
|
||||
--color-warning-900: oklch(45.0% 0.105 61deg);
|
||||
--color-warning-950: oklch(37.0% 0.088 60deg);
|
||||
--color-warning-contrast-dark: var(--color-warning-950);
|
||||
--color-warning-contrast-light: var(--color-warning-50);
|
||||
|
||||
--color-error-50: oklch(95.0% 0.040 18deg);
|
||||
--color-error-100: oklch(88.0% 0.070 20deg);
|
||||
--color-error-200: oklch(80.0% 0.105 21deg);
|
||||
--color-error-300: oklch(72.0% 0.140 22deg);
|
||||
--color-error-400: oklch(64.5% 0.170 23deg);
|
||||
--color-error-500: oklch(57.5% 0.195 24deg);
|
||||
--color-error-600: oklch(51.5% 0.182 25deg);
|
||||
--color-error-700: oklch(45.5% 0.165 26deg);
|
||||
--color-error-800: oklch(39.5% 0.148 27deg);
|
||||
--color-error-900: oklch(33.0% 0.128 28deg);
|
||||
--color-error-950: oklch(26.5% 0.108 29deg);
|
||||
--color-error-contrast-dark: var(--color-error-950);
|
||||
--color-error-contrast-light: var(--color-error-50);
|
||||
|
||||
--color-surface-50: oklch(99.2% 0.004 75deg);
|
||||
--color-surface-100: oklch(97.0% 0.007 72deg);
|
||||
--color-surface-200: oklch(93.5% 0.010 70deg);
|
||||
--color-surface-300: oklch(88.5% 0.013 68deg);
|
||||
--color-surface-400: oklch(81.5% 0.016 66deg);
|
||||
--color-surface-500: oklch(70.5% 0.018 64deg);
|
||||
--color-surface-600: oklch(59.0% 0.018 62deg);
|
||||
--color-surface-700: oklch(47.5% 0.018 58deg);
|
||||
--color-surface-800: oklch(35.5% 0.020 55deg);
|
||||
--color-surface-900: oklch(24.5% 0.020 52deg);
|
||||
--color-surface-950: oklch(15.5% 0.022 48deg);
|
||||
--color-surface-contrast-dark: var(--color-surface-950);
|
||||
--color-surface-contrast-light: var(--color-surface-50);
|
||||
}
|
||||
|
||||
html.dark[data-theme='AE_Firefly_Rainbow'] {
|
||||
--background: var(--color-surface-950) !important;
|
||||
--radius-base: 0.375rem;
|
||||
--radius-container: 0.875rem;
|
||||
--default-border-width: 1px;
|
||||
|
||||
Reference in New Issue
Block a user