Guide
Theming
A theme is a set of shared CSS values for colors, corners, fonts, and motion. Change one value and every component that uses it updates together.
First finish the setup guide for your framework. It tells you which CSS file to edit. For control sizes and spacing, see design foundations.
Change one value
Open the CSS file from your setup guide. Keep the imports that the CLI added, then put this rule below them. Refresh your app: Buttons and other controls will have rounder corners.
/* Add this after the Weini imports in your app CSS. */
:root {
--radius: 0.75rem;
}:root applies to the whole page. --radius is a CSS variable: components read it instead of each having a separate corner value.
See the default colors
Pearl uses a warm off-white canvas and deep blue actions. Obsidian uses a near-black canvas and brighter blue actions. Both modes use the same semantic tokens, so changing a color updates all components that use it.
Light mode
Primary action
--primaryActive surface
--accentCard
--cardSecondary
--secondaryMuted
--mutedSuccess
--successWarning
--warningDestructive
--destructiveDark mode
Primary action
--primaryActive surface
--accentCard
--cardSecondary
--secondaryMuted
--mutedSuccess
--successWarning
--warningDestructive
--destructiveChange colors in light and dark mode
Add overrides after the Weini imports in your app CSS. Change the text color with its background color so both remain readable. This example gives primary actions a green theme.
:root {
--primary: oklch(0.54 0.18 150);
--primary-foreground: oklch(1 0 0);
--primary-hover: oklch(0.5 0.18 150);
--accent: oklch(0.95 0.04 150);
--accent-foreground: oklch(0.35 0.1 150);
--radius: 0.5rem;
}
.dark {
--primary: oklch(0.7 0.14 150);
--primary-foreground: oklch(0.15 0.02 150);
--primary-hover: oklch(0.75 0.13 150);
}Set complete CSS colors such as oklch(...). Add .dark to the document or a subtree for dark mode. Foreground pairs should change with their surfaces.
Common tokens
| Token | Controls |
|---|---|
--background / --foreground | Page canvas and text |
--primary / --primary-foreground / --primary-hover | Main actions and contrast-safe hover states |
--card / --popover | Surfaces |
--control-border / --border / --ring | Soft control and surface edges, rules, and focus |
--mention / --mention-foreground | Readable inline mention highlights |
--warning-indicator | Warning progress fills and small status markers |
--radius | 10px base for the shared corner scale |
rounded-xs / rounded-sm / rounded-md / rounded-lg | 4 / 6 / 8 / 10px corners for inline content, small surfaces, rows, and controls |
--type-sans / --type-display | Interface and display typography |
--motion-duration | Short transitions |
--popover and --card share a default color and can be customized independently. Shipped controls use --control-border, which defaults to the same subtle --border color as other edges. Themes can override control boundaries independently. MentionText and Composer use the paired --mention and --mention-foreground tokens, with the accent pair as a fallback. Small warning markers use --warning-indicator, separately from filled amber labels. The legacy --input token remains available to existing themes, but shipped controls do not read it.
Status feedback can use paired <status>-subtle, <status>-subtle-foreground, and <status>-subtle-border tokens for info, success, warning, and destructive surfaces. The default theme and editable starter share the same categorical chart palette; their other palette values can differ.
Button and Input defaults use a 2px focus ring with a 2px offset and 50% opacity when disabled. Loading Buttons retain readable text. These styles remain editable in the installed source; control sizes follow the design standards, without a separate density API.
Categorical and sequential charts
Use the five --chart-* tokens for unrelated categories. Their default hues follow the Okabe–Ito palette: blue #0072B2, orange #E69F00, bluish green #009E73, vermilion #D55E00, and reddish purple #CC79A7. Dark mode uses lighter blue #56B4E9 for the first series. Use --chart-sequential-1 through --chart-sequential-5 when color should communicate an ordered low-to-high value; these retain the Weini blue ramp.
To keep an existing chart on the former blue ramp without changing its token names, add this after the theme imports:
:root, .light, .dark {
--chart-1: var(--chart-sequential-1);
--chart-2: var(--chart-sequential-2);
--chart-3: var(--chart-sequential-3);
--chart-4: var(--chart-sequential-4);
--chart-5: var(--chart-sequential-5);
}Color alone should not carry chart meaning. Include readable labels and use markers, line styles, or patterns where series need to remain distinguishable without color. See the token reference and the categorical and sequential examples.
Light and dark scopes
Add .dark to the document or a themed subtree. Tailwind dark: utilities apply to the .dark element itself and its descendants. A nested .light scope changes theme variables when supplied, but it does not cancel dark: utilities inherited from an ancestor; use a separate theme boundary when a subtree needs independent utility mode.
Categorical and sequential charts
Distinct hues identify unrelated categories. A blue ramp communicates ordered intensity. These examples retain labels, boundaries, and line patterns so color is not the only cue. On small screens, scroll each chart horizontally to read its full detail.
Token reference
Generated from the shipped palette and editable starter. Values retain aliases such as var(--card); dark values include inherited defaults. Typography sizes and Tailwind mappings are documented above and in the typography guide.
Weini default
packages/frameworks/vue/src/styles/default.css
| Token and role | Light | Dark |
|---|---|---|
--accentActive or selected row surface | #e0e8f9 | #24365c |
--accent-foregroundText on the matching semantic surface | #252a35 | #eef0f6 |
--backgroundPage canvas | #f6f4ef | #0b0c10 |
--borderSoft panel boundaries and decorative dividers | #cdcac2 | #3c465b |
--cardContained content surface | #fdfbf7 | #151820 |
--card-foregroundText on the matching semantic surface | var(--foreground) | var(--foreground) |
--chart-1Unrelated chart categories; pair with labels and markers | #0072b2 | #56b4e9 |
--chart-2Unrelated chart categories; pair with labels and markers | #e69f00 | #e69f00 |
--chart-3Unrelated chart categories; pair with labels and markers | #009e73 | #009e73 |
--chart-4Unrelated chart categories; pair with labels and markers | #d55e00 | #d55e00 |
--chart-5Unrelated chart categories; pair with labels and markers | #cc79a7 | #cc79a7 |
--chart-sequential-1Ordered data: blue intensity ramp | oklch(0.6231 0.188 259.8145) | oklch(0.7137 0.1434 254.624) |
--chart-sequential-2Ordered data: blue intensity ramp | oklch(0.5461 0.2152 262.8809) | oklch(0.6231 0.188 259.8145) |
--chart-sequential-3Ordered data: blue intensity ramp | oklch(0.4882 0.2172 264.3763) | oklch(0.5461 0.2152 262.8809) |
--chart-sequential-4Ordered data: blue intensity ramp | oklch(0.4244 0.1809 265.6377) | oklch(0.4882 0.2172 264.3763) |
--chart-sequential-5Ordered data: blue intensity ramp | oklch(0.3791 0.1378 265.5222) | oklch(0.4244 0.1809 265.6377) |
--controlFields and outlined actions | #f1efe9 | #1b202c |
--control-borderField and outlined-action boundaries; soft by default | var(--border) | var(--border) |
--destructiveStatus feedback or destructive action | oklch(0.57 0.22 25) | oklch(0.72 0.18 25) |
--destructive-foregroundText on the matching semantic surface | oklch(1 0 0) | oklch(0.16 0.02 25) |
--destructive-hoverStatus feedback or destructive action | oklch(0.53 0.22 25) | oklch(0.76 0.17 25) |
--destructive-subtleSubtle status surface, text, or boundary | color-mix(in oklab, var(--destructive) 10%, var(--card)) | color-mix(in oklab, var(--destructive) 18%, var(--card)) |
--destructive-subtle-borderSubtle status surface, text, or boundary | color-mix(in oklab, var(--destructive) 40%, var(--card)) | color-mix(in oklab, var(--destructive) 40%, var(--card)) |
--destructive-subtle-foregroundSubtle status surface, text, or boundary | var(--foreground) | var(--foreground) |
--elevation-cardSurface elevation | var(--weini-shadow-sm) | var(--weini-shadow-sm) |
--elevation-popoverSurface elevation | var(--weini-shadow-lg) | var(--weini-shadow-lg) |
--foregroundText on the matching semantic surface | #252a35 | #eef0f6 |
--infoStatus feedback or destructive action | oklch(0.56 0.205 260) | oklch(0.72 0.16 255) |
--info-foregroundText on the matching semantic surface | oklch(1 0 0) | oklch(0.16 0.02 260) |
--info-subtleSubtle status surface, text, or boundary | color-mix(in oklab, var(--info) 10%, var(--card)) | color-mix(in oklab, var(--info) 18%, var(--card)) |
--info-subtle-borderSubtle status surface, text, or boundary | color-mix(in oklab, var(--info) 40%, var(--card)) | color-mix(in oklab, var(--info) 40%, var(--card)) |
--info-subtle-foregroundSubtle status surface, text, or boundary | var(--foreground) | var(--foreground) |
--inputLegacy boundary token; shipped controls use --control-border | #6b7484 | #8995ae |
--mentionInline entity mention surface | var(--accent) | var(--accent) |
--mention-foregroundText on the matching semantic surface | #244784 | #c4d5ff |
--motion-durationInteraction motion; respects reduced motion | 180ms | 180ms |
--motion-duration-fastInteraction motion; respects reduced motion | 150ms | 150ms |
--motion-duration-springInteraction motion; respects reduced motion | 420ms | 420ms |
--motion-easeInteraction motion; respects reduced motion | cubic-bezier(0.2, 0.8, 0.2, 1) | cubic-bezier(0.2, 0.8, 0.2, 1) |
--motion-ease-springInteraction motion; respects reduced motion | linear( 0, 0.058, 0.195, 0.367, 0.542, 0.7, 0.831, 0.931, 1.001, 1.044, 1.066, 1.073, 1.069, 1.06, 1.047, 1.034, 1.023, 1.013, 1.006, 1, 0.997, 0.995, 0.995, 0.995, 0.996, 0.996, 0.997, 0.998, 1 ) | linear( 0, 0.058, 0.195, 0.367, 0.542, 0.7, 0.831, 0.931, 1.001, 1.044, 1.066, 1.073, 1.069, 1.06, 1.047, 1.034, 1.023, 1.013, 1.006, 1, 0.997, 0.995, 0.995, 0.995, 0.996, 0.996, 0.997, 0.998, 1 ) |
--motion-ease-spring-softInteraction motion; respects reduced motion | linear( 0, 0.039, 0.132, 0.252, 0.38, 0.503, 0.615, 0.712, 0.792, 0.856, 0.906, 0.944, 0.971, 0.99, 1.002, 1.01, 1.014, 1.015, 1.015, 1.014, 1.012, 1.01, 1.008, 1.006, 1.005, 1.004, 1.002, 1.002, 1 ) | linear( 0, 0.039, 0.132, 0.252, 0.38, 0.503, 0.615, 0.712, 0.792, 0.856, 0.906, 0.944, 0.971, 0.99, 1.002, 1.01, 1.014, 1.015, 1.015, 1.014, 1.012, 1.01, 1.008, 1.006, 1.005, 1.004, 1.002, 1.002, 1 ) |
--mutedQuiet supporting surface | #eeece6 | #202532 |
--muted-foregroundText on the matching semantic surface | #555e6c | #b6bfd2 |
--popoverFloating content surface | #fdfbf7 | #151820 |
--popover-foregroundText on the matching semantic surface | var(--foreground) | var(--foreground) |
--primaryPrimary action surface or hover state | #2452b5 | #8badff |
--primary-foregroundText on the matching semantic surface | #ffffff | #0b0c10 |
--primary-hoverPrimary action surface or hover state | #1d4397 | #a2bdff |
--radiusBase control corner radius | 0.625rem | 0.625rem |
--ratingRating star fill or boundary | oklch(0.83 0.17 85) | oklch(0.86 0.17 88) |
--rating-borderRating star fill or boundary | oklch(0.56 0.12 78) | var(--rating) |
--ringKeyboard focus indicator | #2452b5 | #8badff |
--scrollbar-thumbScrollable surface thumb | #a9a69e | #515b70 |
--scrollbar-thumb-hoverScrollable surface thumb | #77756e | #7b879f |
--secondarySupporting action surface or hover state | #eae8e1 | #252c3b |
--secondary-foregroundText on the matching semantic surface | #343d4d | #e2e8f5 |
--secondary-hoverSupporting action surface or hover state | #e2ded4 | #30394b |
--separatorCompatibility alias for decorative separators | var(--border) | var(--border) |
--sidebarNavigation surface or state | #eeece6 | #08090d |
--sidebar-accentNavigation surface or state | var(--accent) | var(--accent) |
--sidebar-accent-foregroundNavigation surface or state | var(--accent-foreground) | var(--accent-foreground) |
--sidebar-borderNavigation surface or state | var(--border) | var(--border) |
--sidebar-foregroundNavigation surface or state | #252a35 | #eef0f6 |
--sidebar-primaryNavigation surface or state | #2452b5 | #8badff |
--sidebar-primary-foregroundNavigation surface or state | #ffffff | #0b0c10 |
--sidebar-ringNavigation surface or state | #2452b5 | #8badff |
--successStatus feedback or destructive action | oklch(0.542 0.112 162.2) | oklch(0.749 0.118 164.3) |
--success-foregroundText on the matching semantic surface | oklch(1 0 0) | oklch(0.214 0.033 170.6) |
--success-subtleSubtle status surface, text, or boundary | color-mix(in oklab, var(--success) 10%, var(--card)) | color-mix(in oklab, var(--success) 18%, var(--card)) |
--success-subtle-borderSubtle status surface, text, or boundary | color-mix(in oklab, var(--success) 40%, var(--card)) | color-mix(in oklab, var(--success) 40%, var(--card)) |
--success-subtle-foregroundSubtle status surface, text, or boundary | var(--foreground) | var(--foreground) |
--surface-insetSemantic color or interaction state | 0.25rem | 0.25rem |
--type-displayTypography family | var(--weini-font-family) | var(--weini-font-family) |
--type-monoTypography family | ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace | ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace |
--type-sansTypography family | var(--weini-font-family) | var(--weini-font-family) |
--warningStatus feedback or destructive action | oklch(0.82 0.15 80) | oklch(0.846 0.134 87.9) |
--warning-foregroundText on the matching semantic surface | oklch(0.28 0.05 75) | oklch(0.221 0.035 90.4) |
--warning-indicatorWarning progress fills and small status markers | oklch(0.554 0.117 75) | var(--warning) |
--warning-subtleSubtle status surface, text, or boundary | color-mix(in oklab, var(--warning) 16%, var(--card)) | color-mix(in oklab, var(--warning) 18%, var(--card)) |
--warning-subtle-borderSubtle status surface, text, or boundary | color-mix(in oklab, var(--warning) 40%, var(--card)) | color-mix(in oklab, var(--warning) 40%, var(--card)) |
--warning-subtle-foregroundSubtle status surface, text, or boundary | var(--foreground) | var(--foreground) |
--weini-font-familyTypography family | ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif | ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif |
--weini-shadow-2xlSurface elevation | 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 20px 25px -5px hsl(0 0% 0% / 0.2) | 0 1px 3px 0 hsl(0 0% 0% / 0.4), 0 20px 25px -5px hsl(0 0% 0% / 0.4) |
--weini-shadow-2xsSurface elevation | 0 1px 2px 0 hsl(0 0% 0% / 0.05) | 0 1px 2px 0 hsl(0 0% 0% / 0.05) |
--weini-shadow-lgSurface elevation | 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1) | 0 1px 3px 0 hsl(0 0% 0% / 0.4), 0 4px 6px -1px hsl(0 0% 0% / 0.4) |
--weini-shadow-mdSurface elevation | 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1) | 0 1px 3px 0 hsl(0 0% 0% / 0.4), 0 2px 4px -1px hsl(0 0% 0% / 0.4) |
--weini-shadow-smSurface elevation | 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1) | 0 1px 3px 0 hsl(0 0% 0% / 0.4), 0 1px 2px -1px hsl(0 0% 0% / 0.4) |
--weini-shadow-xlSurface elevation | 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1) | 0 1px 3px 0 hsl(0 0% 0% / 0.4), 0 8px 10px -1px hsl(0 0% 0% / 0.4) |
--weini-shadow-xsSurface elevation | 0 1px 3px 0 hsl(0 0% 0% / 0.05) | 0 1px 3px 0 hsl(0 0% 0% / 0.05) |
Editable starter
packages/design/starter-tokens.css
| Token and role | Light | Dark |
|---|---|---|
--accentActive or selected row surface | #e5e5e5 | #404040 |
--accent-foregroundText on the matching semantic surface | #171717 | #f5f5f5 |
--backgroundPage canvas | #ffffff | #171717 |
--borderSoft panel boundaries and decorative dividers | #d4d4d4 | #525252 |
--cardContained content surface | #ffffff | #262626 |
--card-foregroundText on the matching semantic surface | var(--foreground) | var(--foreground) |
--chart-1Unrelated chart categories; pair with labels and markers | #0072b2 | #56b4e9 |
--chart-2Unrelated chart categories; pair with labels and markers | #e69f00 | #e69f00 |
--chart-3Unrelated chart categories; pair with labels and markers | #009e73 | #009e73 |
--chart-4Unrelated chart categories; pair with labels and markers | #d55e00 | #d55e00 |
--chart-5Unrelated chart categories; pair with labels and markers | #cc79a7 | #cc79a7 |
--chart-sequential-1Ordered data: blue intensity ramp | oklch(0.6231 0.188 259.8145) | oklch(0.7137 0.1434 254.624) |
--chart-sequential-2Ordered data: blue intensity ramp | oklch(0.5461 0.2152 262.8809) | oklch(0.6231 0.188 259.8145) |
--chart-sequential-3Ordered data: blue intensity ramp | oklch(0.4882 0.2172 264.3763) | oklch(0.5461 0.2152 262.8809) |
--chart-sequential-4Ordered data: blue intensity ramp | oklch(0.4244 0.1809 265.6377) | oklch(0.4882 0.2172 264.3763) |
--chart-sequential-5Ordered data: blue intensity ramp | oklch(0.3791 0.1378 265.5222) | oklch(0.4244 0.1809 265.6377) |
--controlFields and outlined actions | var(--background) | var(--card) |
--control-borderField and outlined-action boundaries; soft by default | var(--border) | var(--border) |
--destructiveStatus feedback or destructive action | #b91c1c | #f87171 |
--destructive-foregroundText on the matching semantic surface | #ffffff | #171717 |
--destructive-hoverStatus feedback or destructive action | #991b1b | #fca5a5 |
--destructive-subtleSubtle status surface, text, or boundary | color-mix(in oklab, var(--destructive) 10%, var(--card)) | color-mix(in oklab, var(--destructive) 18%, var(--card)) |
--destructive-subtle-borderSubtle status surface, text, or boundary | color-mix(in oklab, var(--destructive) 40%, var(--card)) | color-mix(in oklab, var(--destructive) 40%, var(--card)) |
--destructive-subtle-foregroundSubtle status surface, text, or boundary | var(--foreground) | var(--foreground) |
--elevation-cardSurface elevation | var(--weini-shadow-sm) | var(--weini-shadow-sm) |
--elevation-popoverSurface elevation | var(--weini-shadow-lg) | var(--weini-shadow-lg) |
--foregroundText on the matching semantic surface | #171717 | #f5f5f5 |
--infoStatus feedback or destructive action | #1d4ed8 | #93c5fd |
--info-foregroundText on the matching semantic surface | #ffffff | #171717 |
--info-subtleSubtle status surface, text, or boundary | color-mix(in oklab, var(--info) 10%, var(--card)) | color-mix(in oklab, var(--info) 18%, var(--card)) |
--info-subtle-borderSubtle status surface, text, or boundary | color-mix(in oklab, var(--info) 40%, var(--card)) | color-mix(in oklab, var(--info) 40%, var(--card)) |
--info-subtle-foregroundSubtle status surface, text, or boundary | var(--foreground) | var(--foreground) |
--inputLegacy boundary token; shipped controls use --control-border | #737373 | #a3a3a3 |
--mentionInline entity mention surface | var(--accent) | var(--accent) |
--mention-foregroundText on the matching semantic surface | var(--accent-foreground) | var(--accent-foreground) |
--motion-durationInteraction motion; respects reduced motion | 180ms | 180ms |
--motion-duration-fastInteraction motion; respects reduced motion | 150ms | 150ms |
--motion-duration-springInteraction motion; respects reduced motion | 420ms | 420ms |
--motion-easeInteraction motion; respects reduced motion | cubic-bezier(0.2, 0.8, 0.2, 1) | cubic-bezier(0.2, 0.8, 0.2, 1) |
--motion-ease-springInteraction motion; respects reduced motion | linear( 0, 0.058, 0.195, 0.367, 0.542, 0.7, 0.831, 0.931, 1.001, 1.044, 1.066, 1.073, 1.069, 1.06, 1.047, 1.034, 1.023, 1.013, 1.006, 1, 0.997, 0.995, 0.995, 0.995, 0.996, 0.996, 0.997, 0.998, 1 ) | linear( 0, 0.058, 0.195, 0.367, 0.542, 0.7, 0.831, 0.931, 1.001, 1.044, 1.066, 1.073, 1.069, 1.06, 1.047, 1.034, 1.023, 1.013, 1.006, 1, 0.997, 0.995, 0.995, 0.995, 0.996, 0.996, 0.997, 0.998, 1 ) |
--motion-ease-spring-softInteraction motion; respects reduced motion | linear( 0, 0.039, 0.132, 0.252, 0.38, 0.503, 0.615, 0.712, 0.792, 0.856, 0.906, 0.944, 0.971, 0.99, 1.002, 1.01, 1.014, 1.015, 1.015, 1.014, 1.012, 1.01, 1.008, 1.006, 1.005, 1.004, 1.002, 1.002, 1 ) | linear( 0, 0.039, 0.132, 0.252, 0.38, 0.503, 0.615, 0.712, 0.792, 0.856, 0.906, 0.944, 0.971, 0.99, 1.002, 1.01, 1.014, 1.015, 1.015, 1.014, 1.012, 1.01, 1.008, 1.006, 1.005, 1.004, 1.002, 1.002, 1 ) |
--mutedQuiet supporting surface | #f5f5f5 | #333333 |
--muted-foregroundText on the matching semantic surface | #525252 | #b0b0b0 |
--popoverFloating content surface | #ffffff | #262626 |
--popover-foregroundText on the matching semantic surface | var(--foreground) | var(--foreground) |
--primaryPrimary action surface or hover state | #404040 | #e5e5e5 |
--primary-foregroundText on the matching semantic surface | #ffffff | #171717 |
--primary-hoverPrimary action surface or hover state | #262626 | #ffffff |
--radiusBase control corner radius | 0.625rem | 0.625rem |
--ratingRating star fill or boundary | oklch(0.83 0.17 85) | oklch(0.86 0.17 88) |
--rating-borderRating star fill or boundary | oklch(0.56 0.12 78) | var(--rating) |
--ringKeyboard focus indicator | var(--primary) | var(--primary) |
--scrollbar-thumbScrollable surface thumb | #a3a3a3 | #737373 |
--scrollbar-thumb-hoverScrollable surface thumb | #737373 | #a3a3a3 |
--secondarySupporting action surface or hover state | #f5f5f5 | #404040 |
--secondary-foregroundText on the matching semantic surface | #262626 | #f5f5f5 |
--secondary-hoverSupporting action surface or hover state | #e5e5e5 | #525252 |
--separatorCompatibility alias for decorative separators | var(--border) | var(--border) |
--sidebarNavigation surface or state | #fafafa | #262626 |
--sidebar-accentNavigation surface or state | var(--accent) | var(--accent) |
--sidebar-accent-foregroundNavigation surface or state | var(--accent-foreground) | var(--accent-foreground) |
--sidebar-borderNavigation surface or state | var(--border) | var(--border) |
--sidebar-foregroundNavigation surface or state | var(--foreground) | var(--foreground) |
--sidebar-primaryNavigation surface or state | var(--primary) | var(--primary) |
--sidebar-primary-foregroundNavigation surface or state | var(--primary-foreground) | var(--primary-foreground) |
--sidebar-ringNavigation surface or state | var(--ring) | var(--ring) |
--successStatus feedback or destructive action | #15803d | #4ade80 |
--success-foregroundText on the matching semantic surface | #ffffff | #171717 |
--success-subtleSubtle status surface, text, or boundary | color-mix(in oklab, var(--success) 10%, var(--card)) | color-mix(in oklab, var(--success) 18%, var(--card)) |
--success-subtle-borderSubtle status surface, text, or boundary | color-mix(in oklab, var(--success) 40%, var(--card)) | color-mix(in oklab, var(--success) 40%, var(--card)) |
--success-subtle-foregroundSubtle status surface, text, or boundary | var(--foreground) | var(--foreground) |
--surface-insetSemantic color or interaction state | 0.25rem | 0.25rem |
--type-displayTypography family | var(--type-sans) | var(--type-sans) |
--type-monoTypography family | ui-monospace, monospace | ui-monospace, monospace |
--type-sansTypography family | ui-sans-serif, system-ui, sans-serif | ui-sans-serif, system-ui, sans-serif |
--warningStatus feedback or destructive action | #fbbf24 | #facc15 |
--warning-foregroundText on the matching semantic surface | #422006 | #171717 |
--warning-indicatorWarning progress fills and small status markers | #a16207 | var(--warning) |
--warning-subtleSubtle status surface, text, or boundary | color-mix(in oklab, var(--warning) 16%, var(--card)) | color-mix(in oklab, var(--warning) 18%, var(--card)) |
--warning-subtle-borderSubtle status surface, text, or boundary | color-mix(in oklab, var(--warning) 40%, var(--card)) | color-mix(in oklab, var(--warning) 40%, var(--card)) |
--warning-subtle-foregroundSubtle status surface, text, or boundary | var(--foreground) | var(--foreground) |
--weini-shadow-2xlSurface elevation | 0 12px 20px rgb(0 0 0 / 0.28) | 0 12px 20px rgb(0 0 0 / 0.28) |
--weini-shadow-2xsSurface elevation | 0 1px 2px rgb(0 0 0 / 0.05) | 0 1px 2px rgb(0 0 0 / 0.05) |
--weini-shadow-lgSurface elevation | 0 4px 8px rgb(0 0 0 / 0.15) | 0 4px 8px rgb(0 0 0 / 0.15) |
--weini-shadow-mdSurface elevation | 0 2px 5px rgb(0 0 0 / 0.12) | 0 2px 5px rgb(0 0 0 / 0.12) |
--weini-shadow-smSurface elevation | 0 1px 3px rgb(0 0 0 / 0.1) | 0 1px 3px rgb(0 0 0 / 0.1) |
--weini-shadow-xlSurface elevation | 0 8px 12px rgb(0 0 0 / 0.17) | 0 8px 12px rgb(0 0 0 / 0.17) |
--weini-shadow-xsSurface elevation | 0 1px 3px rgb(0 0 0 / 0.05) | 0 1px 3px rgb(0 0 0 / 0.05) |