fix(theme): add missing color ramps to AE_Firefly_Axonius
Each data-theme selector is fully self-contained — CSS custom properties do not inherit across theme selectors. The Axonius file only defined the primary ramp, leaving surface/secondary/tertiary/success/warning/error undefined, causing the UI to render in grey/black/white. Added full color ramps and dark-mode contrast tokens (matching base AE_Firefly) to both light and dark blocks. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,20 @@
|
||||
/*
|
||||
* AE Firefly — Axonius variant
|
||||
* Primary: #ff6112 (Axonius)
|
||||
* A minimal variant file that provides the primary color ramp and
|
||||
* a couple of anchor / spacing tokens. This file follows the
|
||||
* AE_Firefly_<Variant> naming pattern so it can be selected at runtime
|
||||
* via the `data-theme` attribute on <html>.
|
||||
* Primary: #ff6112 (Axonius orange)
|
||||
* Aether Platform / One Sky IT, LLC — Design System Theme
|
||||
*
|
||||
* Color philosophy:
|
||||
* Primary — Axonius Orange: #ff6112 brand color
|
||||
* Secondary — Warm Amber-Gold: consistent with AE_Firefly
|
||||
* Tertiary — Night-Sky Indigo: consistent with AE_Firefly
|
||||
* Surface — Moonlit Slate: consistent with AE_Firefly
|
||||
*
|
||||
* NOTE: Each data-theme selector is fully self-contained — CSS custom
|
||||
* properties do NOT inherit across theme selectors. All color ramps must
|
||||
* be defined here even if identical to the base Firefly theme.
|
||||
*
|
||||
* Based on: Skeleton v4 theme CSS variable structure
|
||||
* Variant of: src/ae-firefly.css (AE_Firefly)
|
||||
*/
|
||||
|
||||
html[data-theme='AE_Firefly_Axonius'] {
|
||||
@@ -42,8 +52,9 @@ html[data-theme='AE_Firefly_Axonius'] {
|
||||
--spacing: 0.25rem;
|
||||
--radius-base: 0.375rem;
|
||||
--radius-container: 0.875rem;
|
||||
--default-border-width: 1px;
|
||||
|
||||
/* Primary ramp (hex fallbacks centered on #ff6112) */
|
||||
/* PRIMARY — Axonius Orange (#ff6112) */
|
||||
--color-primary-50: #fff5ef;
|
||||
--color-primary-100: #ffe0d1;
|
||||
--color-primary-200: #ffc7a8;
|
||||
@@ -57,16 +68,286 @@ html[data-theme='AE_Firefly_Axonius'] {
|
||||
--color-primary-950: #5f2b08;
|
||||
--color-primary-contrast-dark: var(--color-primary-950);
|
||||
--color-primary-contrast-light: var(--color-primary-50);
|
||||
|
||||
/* SECONDARY — Warm Amber-Gold (same as AE_Firefly) */
|
||||
--color-secondary-50: oklch(97.5% 0.06 102deg);
|
||||
--color-secondary-100: oklch(93.5% 0.095 100deg);
|
||||
--color-secondary-200: oklch(89.5% 0.128 98deg);
|
||||
--color-secondary-300: oklch(85.5% 0.155 95deg);
|
||||
--color-secondary-400: oklch(81% 0.17 93deg);
|
||||
--color-secondary-500: oklch(76% 0.17 90deg);
|
||||
--color-secondary-600: oklch(68.5% 0.16 87deg);
|
||||
--color-secondary-700: oklch(60.5% 0.145 85deg);
|
||||
--color-secondary-800: oklch(52% 0.13 83deg);
|
||||
--color-secondary-900: oklch(43.5% 0.11 81deg);
|
||||
--color-secondary-950: oklch(35% 0.09 79deg);
|
||||
--color-secondary-contrast-dark: var(--color-secondary-950);
|
||||
--color-secondary-contrast-light: var(--color-secondary-50);
|
||||
|
||||
/* TERTIARY — Night-Sky Indigo (same as AE_Firefly) */
|
||||
--color-tertiary-50: oklch(95.5% 0.042 283deg);
|
||||
--color-tertiary-100: oklch(89% 0.068 281deg);
|
||||
--color-tertiary-200: oklch(81.5% 0.092 279deg);
|
||||
--color-tertiary-300: oklch(73.5% 0.112 278deg);
|
||||
--color-tertiary-400: oklch(65% 0.132 277deg);
|
||||
--color-tertiary-500: oklch(55.5% 0.142 276deg);
|
||||
--color-tertiary-600: oklch(48.5% 0.138 275deg);
|
||||
--color-tertiary-700: oklch(41.5% 0.128 274deg);
|
||||
--color-tertiary-800: oklch(34.5% 0.112 273deg);
|
||||
--color-tertiary-900: oklch(27.5% 0.098 272deg);
|
||||
--color-tertiary-950: oklch(20% 0.082 271deg);
|
||||
--color-tertiary-contrast-dark: var(--color-tertiary-950);
|
||||
--color-tertiary-contrast-light: var(--color-tertiary-50);
|
||||
|
||||
/* SUCCESS */
|
||||
--color-success-50: oklch(95.77% 0.05 152.69deg);
|
||||
--color-success-100: oklch(91.59% 0.06 152deg);
|
||||
--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.2% 0.06 151.12deg);
|
||||
--color-success-950: oklch(34.2% 0.04 151.44deg);
|
||||
--color-success-contrast-dark: var(--color-success-950);
|
||||
--color-success-contrast-light: var(--color-success-50);
|
||||
|
||||
/* WARNING */
|
||||
--color-warning-50: oklch(97.5% 0.065 78deg);
|
||||
--color-warning-100: oklch(93.5% 0.09 75deg);
|
||||
--color-warning-200: oklch(89.5% 0.12 73deg);
|
||||
--color-warning-300: oklch(85.5% 0.145 70deg);
|
||||
--color-warning-400: oklch(81.5% 0.16 67deg);
|
||||
--color-warning-500: oklch(77% 0.165 65deg);
|
||||
--color-warning-600: oklch(69.5% 0.155 64deg);
|
||||
--color-warning-700: oklch(61.5% 0.14 63deg);
|
||||
--color-warning-800: oklch(53.5% 0.125 62deg);
|
||||
--color-warning-900: oklch(45% 0.105 61deg);
|
||||
--color-warning-950: oklch(37% 0.088 60deg);
|
||||
--color-warning-contrast-dark: var(--color-warning-950);
|
||||
--color-warning-contrast-light: var(--color-warning-50);
|
||||
|
||||
/* ERROR */
|
||||
--color-error-50: oklch(95% 0.04 18deg);
|
||||
--color-error-100: oklch(88% 0.07 20deg);
|
||||
--color-error-200: oklch(80% 0.105 21deg);
|
||||
--color-error-300: oklch(72% 0.14 22deg);
|
||||
--color-error-400: oklch(64.5% 0.17 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.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);
|
||||
|
||||
/* SURFACE — Moonlit Slate (same as AE_Firefly) */
|
||||
--color-surface-50: oklch(99.2% 0.003 220deg);
|
||||
--color-surface-100: oklch(97% 0.006 217deg);
|
||||
--color-surface-200: oklch(93.5% 0.009 215deg);
|
||||
--color-surface-300: oklch(88.5% 0.012 213deg);
|
||||
--color-surface-400: oklch(81.5% 0.015 212deg);
|
||||
--color-surface-500: oklch(70.5% 0.016 215deg);
|
||||
--color-surface-600: oklch(59% 0.018 218deg);
|
||||
--color-surface-700: oklch(47.5% 0.02 222deg);
|
||||
--color-surface-800: oklch(30.5% 0.022 226deg);
|
||||
--color-surface-900: oklch(24.5% 0.025 229deg);
|
||||
--color-surface-950: oklch(15.5% 0.028 233deg);
|
||||
--color-surface-contrast-dark: var(--color-surface-950);
|
||||
--color-surface-contrast-light: var(--color-surface-50);
|
||||
}
|
||||
|
||||
/* Dark mode tweaks */
|
||||
html.dark[data-theme='AE_Firefly_Axonius'] {
|
||||
--background: var(--color-surface-950) !important;
|
||||
/* Keep a minimal set of contrast tokens in dark mode */
|
||||
--default-border-width: 1px;
|
||||
--default-divide-width: 1px;
|
||||
--default-ring-width: 1px;
|
||||
|
||||
--body-background-color: var(--color-surface-50);
|
||||
--body-background-color-dark: var(--color-surface-950);
|
||||
|
||||
/* PRIMARY — Axonius Orange */
|
||||
--color-primary-50: #fff5ef;
|
||||
--color-primary-100: #ffe0d1;
|
||||
--color-primary-200: #ffc7a8;
|
||||
--color-primary-300: #ffad7f;
|
||||
--color-primary-400: #ff9356;
|
||||
--color-primary-500: #ff6112;
|
||||
--color-primary-600: #e6550f;
|
||||
--color-primary-700: #bf4b0d;
|
||||
--color-primary-800: #993f0b;
|
||||
--color-primary-900: #7c3509;
|
||||
--color-primary-950: #5f2b08;
|
||||
--color-primary-contrast-dark: var(--color-primary-950);
|
||||
--color-primary-contrast-light: var(--color-primary-50);
|
||||
--color-primary-contrast-50: var(--color-primary-contrast-dark);
|
||||
--color-primary-contrast-100: var(--color-primary-contrast-dark);
|
||||
--color-primary-contrast-200: var(--color-primary-contrast-dark);
|
||||
--color-primary-contrast-300: var(--color-primary-contrast-dark);
|
||||
--color-primary-contrast-400: var(--color-primary-contrast-dark);
|
||||
--color-primary-contrast-500: var(--color-primary-contrast-light);
|
||||
--color-primary-contrast-600: var(--color-primary-contrast-light);
|
||||
--color-primary-contrast-700: var(--color-primary-contrast-light);
|
||||
--color-primary-contrast-800: var(--color-primary-contrast-light);
|
||||
--color-primary-contrast-900: var(--color-primary-contrast-light);
|
||||
--color-primary-contrast-950: var(--color-primary-contrast-light);
|
||||
|
||||
/* SECONDARY — Warm Amber-Gold */
|
||||
--color-secondary-50: oklch(97.5% 0.06 102deg);
|
||||
--color-secondary-100: oklch(93.5% 0.095 100deg);
|
||||
--color-secondary-200: oklch(89.5% 0.128 98deg);
|
||||
--color-secondary-300: oklch(85.5% 0.155 95deg);
|
||||
--color-secondary-400: oklch(81% 0.17 93deg);
|
||||
--color-secondary-500: oklch(76% 0.17 90deg);
|
||||
--color-secondary-600: oklch(68.5% 0.16 87deg);
|
||||
--color-secondary-700: oklch(60.5% 0.145 85deg);
|
||||
--color-secondary-800: oklch(52% 0.13 83deg);
|
||||
--color-secondary-900: oklch(43.5% 0.11 81deg);
|
||||
--color-secondary-950: oklch(35% 0.09 79deg);
|
||||
--color-secondary-contrast-dark: var(--color-secondary-950);
|
||||
--color-secondary-contrast-light: var(--color-secondary-50);
|
||||
--color-secondary-contrast-50: var(--color-secondary-contrast-dark);
|
||||
--color-secondary-contrast-100: var(--color-secondary-contrast-dark);
|
||||
--color-secondary-contrast-200: var(--color-secondary-contrast-dark);
|
||||
--color-secondary-contrast-300: var(--color-secondary-contrast-dark);
|
||||
--color-secondary-contrast-400: var(--color-secondary-contrast-dark);
|
||||
--color-secondary-contrast-500: var(--color-secondary-contrast-dark);
|
||||
--color-secondary-contrast-600: var(--color-secondary-contrast-light);
|
||||
--color-secondary-contrast-700: var(--color-secondary-contrast-light);
|
||||
--color-secondary-contrast-800: var(--color-secondary-contrast-light);
|
||||
--color-secondary-contrast-900: var(--color-secondary-contrast-light);
|
||||
--color-secondary-contrast-950: var(--color-secondary-contrast-light);
|
||||
|
||||
/* TERTIARY — Night-Sky Indigo */
|
||||
--color-tertiary-50: oklch(95.5% 0.042 283deg);
|
||||
--color-tertiary-100: oklch(89% 0.068 281deg);
|
||||
--color-tertiary-200: oklch(81.5% 0.092 279deg);
|
||||
--color-tertiary-300: oklch(73.5% 0.112 278deg);
|
||||
--color-tertiary-400: oklch(65% 0.132 277deg);
|
||||
--color-tertiary-500: oklch(55.5% 0.142 276deg);
|
||||
--color-tertiary-600: oklch(48.5% 0.138 275deg);
|
||||
--color-tertiary-700: oklch(41.5% 0.128 274deg);
|
||||
--color-tertiary-800: oklch(34.5% 0.112 273deg);
|
||||
--color-tertiary-900: oklch(27.5% 0.098 272deg);
|
||||
--color-tertiary-950: oklch(20% 0.082 271deg);
|
||||
--color-tertiary-contrast-dark: var(--color-tertiary-950);
|
||||
--color-tertiary-contrast-light: var(--color-tertiary-50);
|
||||
--color-tertiary-contrast-50: var(--color-tertiary-contrast-dark);
|
||||
--color-tertiary-contrast-100: var(--color-tertiary-contrast-dark);
|
||||
--color-tertiary-contrast-200: var(--color-tertiary-contrast-dark);
|
||||
--color-tertiary-contrast-300: var(--color-tertiary-contrast-dark);
|
||||
--color-tertiary-contrast-400: var(--color-tertiary-contrast-dark);
|
||||
--color-tertiary-contrast-500: var(--color-tertiary-contrast-light);
|
||||
--color-tertiary-contrast-600: var(--color-tertiary-contrast-light);
|
||||
--color-tertiary-contrast-700: var(--color-tertiary-contrast-light);
|
||||
--color-tertiary-contrast-800: var(--color-tertiary-contrast-light);
|
||||
--color-tertiary-contrast-900: var(--color-tertiary-contrast-light);
|
||||
--color-tertiary-contrast-950: var(--color-tertiary-contrast-light);
|
||||
|
||||
/* SUCCESS */
|
||||
--color-success-50: oklch(95.77% 0.05 152.69deg);
|
||||
--color-success-100: oklch(91.59% 0.06 152deg);
|
||||
--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.2% 0.06 151.12deg);
|
||||
--color-success-950: oklch(34.2% 0.04 151.44deg);
|
||||
--color-success-contrast-dark: var(--color-success-950);
|
||||
--color-success-contrast-light: var(--color-success-50);
|
||||
--color-success-contrast-50: var(--color-success-contrast-dark);
|
||||
--color-success-contrast-100: var(--color-success-contrast-dark);
|
||||
--color-success-contrast-200: var(--color-success-contrast-dark);
|
||||
--color-success-contrast-300: var(--color-success-contrast-dark);
|
||||
--color-success-contrast-400: var(--color-success-contrast-dark);
|
||||
--color-success-contrast-500: var(--color-success-contrast-dark);
|
||||
--color-success-contrast-600: var(--color-success-contrast-dark);
|
||||
--color-success-contrast-700: var(--color-success-contrast-light);
|
||||
--color-success-contrast-800: var(--color-success-contrast-light);
|
||||
--color-success-contrast-900: var(--color-success-contrast-light);
|
||||
--color-success-contrast-950: var(--color-success-contrast-light);
|
||||
|
||||
/* WARNING */
|
||||
--color-warning-50: oklch(97.5% 0.065 78deg);
|
||||
--color-warning-100: oklch(93.5% 0.09 75deg);
|
||||
--color-warning-200: oklch(89.5% 0.12 73deg);
|
||||
--color-warning-300: oklch(85.5% 0.145 70deg);
|
||||
--color-warning-400: oklch(81.5% 0.16 67deg);
|
||||
--color-warning-500: oklch(77% 0.165 65deg);
|
||||
--color-warning-600: oklch(69.5% 0.155 64deg);
|
||||
--color-warning-700: oklch(61.5% 0.14 63deg);
|
||||
--color-warning-800: oklch(53.5% 0.125 62deg);
|
||||
--color-warning-900: oklch(45% 0.105 61deg);
|
||||
--color-warning-950: oklch(37% 0.088 60deg);
|
||||
--color-warning-contrast-dark: var(--color-warning-950);
|
||||
--color-warning-contrast-light: var(--color-warning-50);
|
||||
--color-warning-contrast-50: var(--color-warning-contrast-dark);
|
||||
--color-warning-contrast-100: var(--color-warning-contrast-dark);
|
||||
--color-warning-contrast-200: var(--color-warning-contrast-dark);
|
||||
--color-warning-contrast-300: var(--color-warning-contrast-dark);
|
||||
--color-warning-contrast-400: var(--color-warning-contrast-dark);
|
||||
--color-warning-contrast-500: var(--color-warning-contrast-dark);
|
||||
--color-warning-contrast-600: var(--color-warning-contrast-dark);
|
||||
--color-warning-contrast-700: var(--color-warning-contrast-light);
|
||||
--color-warning-contrast-800: var(--color-warning-contrast-light);
|
||||
--color-warning-contrast-900: var(--color-warning-contrast-light);
|
||||
--color-warning-contrast-950: var(--color-warning-contrast-light);
|
||||
|
||||
/* ERROR */
|
||||
--color-error-50: oklch(95% 0.04 18deg);
|
||||
--color-error-100: oklch(88% 0.07 20deg);
|
||||
--color-error-200: oklch(80% 0.105 21deg);
|
||||
--color-error-300: oklch(72% 0.14 22deg);
|
||||
--color-error-400: oklch(64.5% 0.17 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.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-error-contrast-50: var(--color-error-contrast-dark);
|
||||
--color-error-contrast-100: var(--color-error-contrast-dark);
|
||||
--color-error-contrast-200: var(--color-error-contrast-dark);
|
||||
--color-error-contrast-300: var(--color-error-contrast-dark);
|
||||
--color-error-contrast-400: var(--color-error-contrast-light);
|
||||
--color-error-contrast-500: var(--color-error-contrast-light);
|
||||
--color-error-contrast-600: var(--color-error-contrast-light);
|
||||
--color-error-contrast-700: var(--color-error-contrast-light);
|
||||
--color-error-contrast-800: var(--color-error-contrast-light);
|
||||
--color-error-contrast-900: var(--color-error-contrast-light);
|
||||
--color-error-contrast-950: var(--color-error-contrast-light);
|
||||
|
||||
/* SURFACE — Moonlit Slate */
|
||||
--color-surface-50: oklch(99.2% 0.003 220deg);
|
||||
--color-surface-100: oklch(97% 0.006 217deg);
|
||||
--color-surface-200: oklch(93.5% 0.009 215deg);
|
||||
--color-surface-300: oklch(88.5% 0.012 213deg);
|
||||
--color-surface-400: oklch(81.5% 0.015 212deg);
|
||||
--color-surface-500: oklch(70.5% 0.016 215deg);
|
||||
--color-surface-600: oklch(59% 0.018 218deg);
|
||||
--color-surface-700: oklch(47.5% 0.02 222deg);
|
||||
--color-surface-800: oklch(35.5% 0.022 226deg);
|
||||
--color-surface-900: oklch(24.5% 0.025 229deg);
|
||||
--color-surface-950: oklch(15.5% 0.028 233deg);
|
||||
--color-surface-contrast-dark: var(--color-surface-950);
|
||||
--color-surface-contrast-light: var(--color-surface-50);
|
||||
--color-surface-contrast-50: var(--color-surface-contrast-dark);
|
||||
--color-surface-contrast-100: var(--color-surface-contrast-dark);
|
||||
--color-surface-contrast-200: var(--color-surface-contrast-dark);
|
||||
--color-surface-contrast-300: var(--color-surface-contrast-dark);
|
||||
--color-surface-contrast-400: var(--color-surface-contrast-dark);
|
||||
--color-surface-contrast-500: var(--color-surface-contrast-dark);
|
||||
--color-surface-contrast-600: var(--color-surface-contrast-light);
|
||||
--color-surface-contrast-700: var(--color-surface-contrast-light);
|
||||
--color-surface-contrast-800: var(--color-surface-contrast-light);
|
||||
--color-surface-contrast-900: var(--color-surface-contrast-light);
|
||||
--color-surface-contrast-950: var(--color-surface-contrast-light);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user