@behavioral-agentic-design-system/core 0.42.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +38 -8
- package/scripts/a11y-lint.cjs +101 -14
- package/scripts/bads-sync.mjs +1 -1
- package/scripts/build-tokens.cjs +122 -7
- package/scripts/check-dark-contrast.mjs +204 -0
- package/scripts/check-flush-edges.mjs +245 -0
- package/scripts/check-spec.mjs +73 -0
- package/scripts/deal-directions.mjs +186 -0
- package/scripts/design-system-advisory/README.md +239 -0
- package/scripts/design-system-advisory/check-copy-punctuation.mjs +44 -0
- package/scripts/design-system-advisory/check-even-padding.mjs +35 -0
- package/scripts/design-system-advisory/check-hand-built-button.mjs +46 -0
- package/scripts/design-system-advisory/check-html-nesting.mjs +51 -0
- package/scripts/design-system-advisory/check-icon-sizing.mjs +79 -0
- package/scripts/design-system-advisory/check-label-case.mjs +92 -0
- package/scripts/design-system-advisory/check-native-form-controls.mjs +53 -0
- package/scripts/design-system-advisory/check-radius.mjs +56 -0
- package/scripts/design-system-advisory/check-raw-values.mjs +61 -0
- package/scripts/design-system-advisory/check-small-text.mjs +72 -0
- package/scripts/design-system-advisory/check-tap-target.mjs +70 -0
- package/scripts/design-system-advisory/defaults.mjs +90 -0
- package/scripts/design-system-advisory/fixtures/clean.tsx.fixture +12 -0
- package/scripts/design-system-advisory/fixtures/violations.tsx.fixture +19 -0
- package/scripts/design-system-advisory/lib.mjs +255 -0
- package/scripts/design-system-advisory/run.mjs +189 -0
- package/scripts/design-system-advisory/workflow.yml +82 -0
- package/scripts/health-report.mjs +20 -14
- package/scripts/lib/copy-strings.mjs +146 -0
- package/scripts/lib/counted-lint.mjs +100 -0
- package/scripts/lib/dark-contrast.mjs +120 -0
- package/scripts/lib/flush-edges.mjs +294 -0
- package/scripts/lib/lab-lint.mjs +62 -0
- package/scripts/lib/marketing-library.mjs +129 -0
- package/scripts/lib/mount-page.mjs +25 -0
- package/scripts/lib/on-system.mjs +249 -0
- package/scripts/lib/random.mjs +22 -0
- package/scripts/lib/source-scan.mjs +173 -0
- package/scripts/lib/spec-parse.d.mts +25 -0
- package/scripts/lib/spec-parse.mjs +188 -0
- package/scripts/lib/tells.mjs +366 -0
- package/scripts/lint-arbitrary-tokens.mjs +47 -0
- package/scripts/lint-component-token-refs.mjs +63 -0
- package/scripts/lint-content-hierarchy.mjs +114 -0
- package/scripts/lint-control-baseline.mjs +72 -0
- package/scripts/lint-copy-punctuation.mjs +60 -0
- package/scripts/lint-css-vars.mjs +175 -0
- package/scripts/lint-even-padding.mjs +58 -0
- package/scripts/lint-html-nesting.mjs +116 -0
- package/scripts/lint-label-case.mjs +219 -0
- package/scripts/lint-live-ctas.mjs +138 -0
- package/scripts/lint-microanimation.mjs +2 -2
- package/scripts/lint-proximity.mjs +181 -0
- package/scripts/lint-slop.mjs +1 -1
- package/scripts/lint-spacing-scale.mjs +78 -0
- package/scripts/lint-target-size.cjs +132 -0
- package/scripts/lint-token-primitives.mjs +307 -0
- package/scripts/on-system-score.mjs +95 -0
- package/scripts/size-audit.cjs +2 -2
- package/scripts/slop-rules.mjs +1 -1
- package/scripts/source-images.mjs +180 -0
- package/scripts/ux-tells.mjs +80 -0
- package/scripts/wcag-audit.cjs +25 -4
- package/src/api/brand-colors.ts +3 -0
- package/src/api/brand-fonts.ts +3 -0
- package/src/api/brand-mark.ts +6 -1
- package/src/api/dev-write-guard.ts +53 -0
- package/src/api/layers/file.ts +9 -4
- package/src/api/onboarding-extract.ts +85 -30
- package/src/api/onboarding.ts +3 -0
- package/src/api/save-tokens.ts +3 -0
- package/src/api/site-auth.ts +14 -2
- package/src/app/layout.tsx +6 -0
- package/src/app/preview/canvas/page.tsx +12 -0
- package/src/app/preview/components/page.tsx +828 -14
- package/src/app/preview/sticker-sheet/page.tsx +329 -0
- package/src/app/preview/sticker-sheet/specimens.tsx +296 -0
- package/src/app/preview/studio/blank-screen.tsx +143 -0
- package/src/app/preview/studio/page.tsx +7 -0
- package/src/app/shell.tsx +164 -47
- package/src/components/Foundations/Colors.stories.tsx +119 -8
- package/src/components/canvas/canvas.tsx +458 -0
- package/src/components/canvas/layout.ts +72 -0
- package/src/components/canvas/parse-canvas.ts +32 -0
- package/src/components/canvas/sample.ts +90 -0
- package/src/components/canvas/spec-frame.tsx +43 -0
- package/src/components/canvas/types.ts +33 -0
- package/src/components/docs-tab.tsx +7 -7
- package/src/components/home-recent.tsx +73 -0
- package/src/components/home-tab.tsx +19 -14
- package/src/components/layers-tab.tsx +2 -2
- package/src/components/markdown-preview.tsx +60 -12
- package/src/components/onboarding-wizard.tsx +1 -1
- package/src/components/studio/control-panel.tsx +299 -0
- package/src/components/studio/control-row.tsx +77 -0
- package/src/components/studio/preview-frame.tsx +165 -0
- package/src/components/studio/preview-pane.tsx +247 -0
- package/src/components/studio/studio.tsx +133 -128
- package/src/components/studio/types.ts +218 -0
- package/src/components/studio/use-studio-tweaks.ts +128 -0
- package/src/components/studio/use-studio-view-state.ts +72 -0
- package/src/components/ui/autocomplete.tsx +1 -1
- package/src/components/ui/avatar.tsx +4 -0
- package/src/components/ui/chart.tsx +134 -42
- package/src/components/ui/checkbox-group.tsx +1 -1
- package/src/components/ui/checkbox.tsx +1 -1
- package/src/components/ui/color-picker.tsx +20 -4
- package/src/components/ui/combobox.tsx +1 -0
- package/src/components/ui/command.tsx +1 -1
- package/src/components/ui/data-table.tsx +64 -3
- package/src/components/ui/date-field.tsx +1 -1
- package/src/components/ui/date-picker.tsx +2 -0
- package/src/components/ui/date-range-picker.tsx +4 -0
- package/src/components/ui/editable.tsx +1 -0
- package/src/components/ui/faceted-filter.tsx +187 -0
- package/src/components/ui/file-upload.tsx +21 -2
- package/src/components/ui/gauge-chart.tsx +18 -4
- package/src/components/ui/heatmap.tsx +3 -1
- package/src/components/ui/inline-edit.tsx +175 -0
- package/src/components/ui/input-group.tsx +5 -2
- package/src/components/ui/month-picker.tsx +1 -1
- package/src/components/ui/multi-select.tsx +1 -0
- package/src/components/ui/number-input.tsx +28 -5
- package/src/components/ui/otp-input.tsx +208 -0
- package/src/components/ui/phone-input.tsx +274 -0
- package/src/components/ui/radio-group.tsx +2 -2
- package/src/components/ui/search-input.tsx +1 -1
- package/src/components/ui/sparkline.tsx +33 -4
- package/src/components/ui/spinner.tsx +23 -4
- package/src/components/ui/table.tsx +9 -0
- package/src/components/ui/tags-input.tsx +1 -1
- package/src/components/ui/timer.tsx +1 -0
- package/src/components/ui/transfer-list.tsx +13 -26
- package/src/components/ui/week-picker.tsx +1 -13
- package/src/components/ui/year-picker.tsx +1 -1
- package/src/data/component-added.json +966 -0
- package/src/data/docs-index.ts +35 -2
- package/src/data/history.json +161 -161
- package/src/data/sticker-sheet.json +9244 -0
- package/src/docs-trace-globs.json +1 -0
- package/src/hooks/use-global-mono-font.ts +1 -0
- package/src/hooks/use-global-primary-color.ts +1 -0
- package/src/hooks/use-global-sans-font.ts +1 -0
- package/src/hooks/use-global-serif-font.ts +1 -0
- package/src/hooks/use-global-type-scale.ts +17 -2
- package/src/hooks/use-mobile.ts +2 -0
- package/src/hooks/use-sync-type-scale.ts +7 -11
- package/src/lib/chart-motion.ts +41 -0
- package/src/lib/get-icon-color.ts +1 -1
- package/src/lib/spec-parse.ts +4 -0
- package/src/lib/svg-sanitize.ts +19 -9
- package/src/stories/Accordion.stories.tsx +7 -0
- package/src/stories/ActionBar.stories.tsx +5 -0
- package/src/stories/Affix.stories.tsx +4 -0
- package/src/stories/AiBadge.stories.tsx +9 -7
- package/src/stories/Alert.stories.tsx +13 -0
- package/src/stories/AlertDialog.stories.tsx +4 -0
- package/src/stories/Anchor.stories.tsx +5 -0
- package/src/stories/AngleSlider.stories.tsx +6 -3
- package/src/stories/AspectRatio.stories.tsx +4 -0
- package/src/stories/Autocomplete.stories.tsx +8 -0
- package/src/stories/Avatar.stories.tsx +10 -0
- package/src/stories/Badge.stories.tsx +14 -6
- package/src/stories/Blockquote.stories.tsx +6 -0
- package/src/stories/BottomNavigation.stories.tsx +4 -0
- package/src/stories/Breadcrumb.stories.tsx +3 -0
- package/src/stories/Burger.stories.tsx +1 -0
- package/src/stories/Button.stories.tsx +24 -0
- package/src/stories/ButtonGroup.stories.tsx +9 -0
- package/src/stories/Calendar.stories.tsx +3 -0
- package/src/stories/Canvas.stories.tsx +45 -0
- package/src/stories/Card.stories.tsx +4 -0
- package/src/stories/Carousel.stories.tsx +6 -0
- package/src/stories/Cascader.stories.tsx +4 -0
- package/src/stories/Chart.stories.tsx +46 -1
- package/src/stories/ChatBubble.stories.tsx +8 -2
- package/src/stories/ChatMarker.stories.tsx +1 -0
- package/src/stories/Checkbox.stories.tsx +40 -0
- package/src/stories/CheckboxCard.stories.tsx +8 -0
- package/src/stories/CheckboxGroup.stories.tsx +19 -0
- package/src/stories/Chip.stories.tsx +10 -19
- package/src/stories/CircularProgress.stories.tsx +13 -27
- package/src/stories/Clipboard.stories.tsx +6 -0
- package/src/stories/CloseButton.stories.tsx +6 -4
- package/src/stories/Code.stories.tsx +8 -1
- package/src/stories/Collapsible.stories.tsx +2 -0
- package/src/stories/ColorPicker.stories.tsx +46 -0
- package/src/stories/ColorSwatch.stories.tsx +1 -0
- package/src/stories/Combobox.stories.tsx +9 -0
- package/src/stories/Command.stories.tsx +2 -0
- package/src/stories/Container.stories.tsx +8 -0
- package/src/stories/ContextMenu.stories.tsx +9 -0
- package/src/stories/CopyButton.stories.tsx +12 -36
- package/src/stories/DataList.stories.tsx +8 -0
- package/src/stories/DataTable.stories.tsx +39 -0
- package/src/stories/DateField.stories.tsx +28 -0
- package/src/stories/DatePicker.stories.tsx +34 -0
- package/src/stories/DateRangePicker.stories.tsx +32 -0
- package/src/stories/Dialog.stories.tsx +8 -0
- package/src/stories/Drawer.stories.tsx +6 -0
- package/src/stories/DropdownMenu.stories.tsx +2 -0
- package/src/stories/Editable.stories.tsx +12 -0
- package/src/stories/EmptyState.stories.tsx +9 -0
- package/src/stories/FacetedFilter.stories.tsx +197 -0
- package/src/stories/Field.stories.tsx +7 -0
- package/src/stories/Fieldset.stories.tsx +8 -0
- package/src/stories/FileButton.stories.tsx +4 -0
- package/src/stories/FileUpload.stories.tsx +16 -17
- package/src/stories/FloatLabel.stories.tsx +3 -8
- package/src/stories/FloatingActionButton.stories.tsx +10 -0
- package/src/stories/FloatingIndicator.stories.tsx +4 -0
- package/src/stories/FloatingPanel.stories.tsx +6 -0
- package/src/stories/FocusTrap.stories.tsx +5 -0
- package/src/stories/FormatByte.stories.tsx +6 -0
- package/src/stories/FormatDate.stories.tsx +8 -0
- package/src/stories/FormatNumber.stories.tsx +9 -0
- package/src/stories/GaugeChart.stories.tsx +9 -3
- package/src/stories/Heatmap.stories.tsx +11 -0
- package/src/stories/Highlight.stories.tsx +6 -0
- package/src/stories/HoverCard.stories.tsx +4 -0
- package/src/stories/Image.stories.tsx +9 -0
- package/src/stories/Indicator.stories.tsx +19 -0
- package/src/stories/InlineEdit.stories.tsx +106 -0
- package/src/stories/Input.stories.tsx +7 -0
- package/src/stories/InputClearButton.stories.tsx +3 -0
- package/src/stories/InputGroup.stories.tsx +40 -0
- package/src/stories/Kbd.stories.tsx +7 -1
- package/src/stories/KeyboardShortcut.stories.tsx +2 -0
- package/src/stories/Label.stories.tsx +2 -0
- package/src/stories/Link.stories.tsx +9 -0
- package/src/stories/List.stories.tsx +8 -0
- package/src/stories/Listbox.stories.tsx +1 -0
- package/src/stories/LoadingDots.stories.tsx +5 -3
- package/src/stories/LoadingOverlay.stories.tsx +5 -1
- package/src/stories/Mark.stories.tsx +5 -0
- package/src/stories/MarkdownPreview.stories.tsx +53 -0
- package/src/stories/Marquee.stories.tsx +4 -0
- package/src/stories/Masonry.stories.tsx +5 -0
- package/src/stories/Menubar.stories.tsx +3 -0
- package/src/stories/Meter.stories.tsx +11 -17
- package/src/stories/MonthPicker.stories.tsx +26 -1
- package/src/stories/MotionToggle.stories.tsx +1 -0
- package/src/stories/MultiSelect.stories.tsx +9 -0
- package/src/stories/NativeSelect.stories.tsx +1 -0
- package/src/stories/NavLink.stories.tsx +7 -0
- package/src/stories/NavigationMenu.stories.tsx +5 -0
- package/src/stories/NavigationRail.stories.tsx +10 -0
- package/src/stories/Notification.stories.tsx +13 -34
- package/src/stories/NumberInput.stories.tsx +33 -1
- package/src/stories/OtpInput.stories.tsx +110 -0
- package/src/stories/Overlay.stories.tsx +5 -1
- package/src/stories/Pagination.stories.tsx +8 -0
- package/src/stories/PasswordInput.stories.tsx +2 -0
- package/src/stories/PhoneInput.stories.tsx +127 -0
- package/src/stories/PinInput.stories.tsx +9 -2
- package/src/stories/Popover.stories.tsx +2 -0
- package/src/stories/Progress.stories.tsx +6 -1
- package/src/stories/Prose.stories.tsx +8 -0
- package/src/stories/QrCode.stories.tsx +2 -0
- package/src/stories/Questionnaire.stories.tsx +7 -0
- package/src/stories/RadioGroup.stories.tsx +40 -0
- package/src/stories/RatingGroup.stories.tsx +8 -4
- package/src/stories/Resizable.stories.tsx +4 -2
- package/src/stories/Result.stories.tsx +3 -0
- package/src/stories/Reveal.stories.tsx +2 -0
- package/src/stories/RollingNumber.stories.tsx +5 -0
- package/src/stories/ScrollArea.stories.tsx +3 -1
- package/src/stories/SearchInput.stories.tsx +10 -6
- package/src/stories/SegmentedControl.stories.tsx +11 -0
- package/src/stories/Select.stories.tsx +7 -0
- package/src/stories/Separator.stories.tsx +6 -0
- package/src/stories/Sheet.stories.tsx +5 -0
- package/src/stories/Sidebar.stories.tsx +40 -1
- package/src/stories/SimpleGrid.stories.tsx +5 -0
- package/src/stories/Skeleton.stories.tsx +8 -0
- package/src/stories/SkeletonTable.stories.tsx +6 -5
- package/src/stories/SkipLink.stories.tsx +3 -0
- package/src/stories/Slider.stories.tsx +2 -1
- package/src/stories/Sonner.stories.tsx +7 -0
- package/src/stories/Sparkline.stories.tsx +14 -1
- package/src/stories/Spinner.stories.tsx +20 -10
- package/src/stories/Spoiler.stories.tsx +5 -0
- package/src/stories/Squircle.stories.tsx +7 -0
- package/src/stories/Stack.stories.tsx +7 -0
- package/src/stories/StatusBadge.stories.tsx +12 -6
- package/src/stories/Stepper.stories.tsx +5 -0
- package/src/stories/Switch.stories.tsx +4 -0
- package/src/stories/Table.stories.tsx +10 -1
- package/src/stories/Tabs.stories.tsx +8 -0
- package/src/stories/Tag.stories.tsx +13 -5
- package/src/stories/TagsInput.stories.tsx +15 -0
- package/src/stories/Text.stories.tsx +12 -0
- package/src/stories/Textarea.stories.tsx +9 -0
- package/src/stories/ThemeIcon.stories.tsx +6 -3
- package/src/stories/TimePicker.stories.tsx +2 -0
- package/src/stories/Timeline.stories.tsx +12 -0
- package/src/stories/Timer.stories.tsx +30 -0
- package/src/stories/Toggle.stories.tsx +7 -5
- package/src/stories/ToggleGroup.stories.tsx +5 -0
- package/src/stories/ToggleTip.stories.tsx +4 -0
- package/src/stories/Toolbar.stories.tsx +6 -0
- package/src/stories/Tooltip.stories.tsx +3 -0
- package/src/stories/Tour.stories.tsx +3 -0
- package/src/stories/TransferList.stories.tsx +7 -0
- package/src/stories/TreeSelect.stories.tsx +4 -0
- package/src/stories/TreeView.stories.tsx +5 -0
- package/src/stories/TypingIndicator.stories.tsx +4 -0
- package/src/stories/VisuallyHidden.stories.tsx +3 -0
- package/src/stories/Watermark.stories.tsx +6 -0
- package/src/stories/WeekPicker.stories.tsx +25 -1
- package/src/stories/WordRotate.stories.tsx +5 -0
- package/src/stories/YearPicker.stories.tsx +26 -11
- package/src/stories/story-groups.json +22 -16
- package/src/styles.css +50 -2
- package/src/tokens.json +86 -58
package/src/styles.css
CHANGED
|
@@ -61,13 +61,45 @@
|
|
|
61
61
|
|
|
62
62
|
@custom-variant dark (&:is(.dark *));
|
|
63
63
|
|
|
64
|
+
/* Sticker-sheet state pinning. Each variant keeps Tailwind's real behavior
|
|
65
|
+
(hover stays behind the (hover: hover) media guard) and ALSO matches a
|
|
66
|
+
data-pin attribute, so the sticker sheet can freeze hover, focus and
|
|
67
|
+
pressed on a specimen without touching the component. Live interaction is
|
|
68
|
+
unchanged because the real selectors are still there. */
|
|
69
|
+
@custom-variant hover {
|
|
70
|
+
&:is([data-pin~="hover"]) {
|
|
71
|
+
@slot;
|
|
72
|
+
}
|
|
73
|
+
@media (hover: hover) {
|
|
74
|
+
&:hover {
|
|
75
|
+
@slot;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
@custom-variant focus-visible {
|
|
80
|
+
&:is([data-pin~="focus"]) {
|
|
81
|
+
@slot;
|
|
82
|
+
}
|
|
83
|
+
&:focus-visible {
|
|
84
|
+
@slot;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
@custom-variant active {
|
|
88
|
+
&:is([data-pin~="pressed"]) {
|
|
89
|
+
@slot;
|
|
90
|
+
}
|
|
91
|
+
&:active {
|
|
92
|
+
@slot;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
64
96
|
:root {
|
|
65
97
|
color-scheme: light dark;
|
|
66
98
|
|
|
67
99
|
/* Brand sans from tokens.json leads. Atkinson Hyperlegible (loaded via the
|
|
68
100
|
Google Fonts @import above) is the canonical fallback so unbranded
|
|
69
101
|
consumers still get a high-legibility face out of the box. */
|
|
70
|
-
--font-sans: 'Hyperlegible Sans', 'Inter', ui-sans-serif, sans-serif, system-ui, 'Atkinson Hyperlegible'
|
|
102
|
+
--font-sans: 'Hyperlegible Sans', 'Inter', ui-sans-serif, sans-serif, system-ui, 'Atkinson Hyperlegible';
|
|
71
103
|
--font-mono: 'JetBrains Mono', ui-monospace, monospace;
|
|
72
104
|
--font-serif: ui-serif, Georgia, serif;
|
|
73
105
|
--font-variation-settings: normal;
|
|
@@ -594,6 +626,22 @@
|
|
|
594
626
|
[aria-disabled="true"] {
|
|
595
627
|
cursor: not-allowed;
|
|
596
628
|
}
|
|
629
|
+
/* text-wrap: balance distributes line length evenly across all lines of
|
|
630
|
+
a heading, preventing the awkward single-word last line (widow) that
|
|
631
|
+
most headings produce at responsive widths. Supported Chrome 114+,
|
|
632
|
+
Firefox 121+, Safari 17.5+ (Baseline 2024). Falls back to normal wrap
|
|
633
|
+
with no visual regression in older engines. */
|
|
634
|
+
h1, h2, h3, h4, h5, h6 {
|
|
635
|
+
text-wrap: balance;
|
|
636
|
+
}
|
|
637
|
+
/* text-wrap: pretty prevents orphaned last words on paragraphs by
|
|
638
|
+
considering the last four lines when breaking. Supported Chrome 117+,
|
|
639
|
+
Firefox 130+ (Baseline 2025). Falls back to normal wrap — no adverse
|
|
640
|
+
effect. Performance overhead is negligible on typical paragraph lengths
|
|
641
|
+
(the engine short-circuits for < 4 lines). */
|
|
642
|
+
p {
|
|
643
|
+
text-wrap: pretty;
|
|
644
|
+
}
|
|
597
645
|
}
|
|
598
646
|
|
|
599
647
|
/* Global tracking offset — the Letter Spacing slider in the Customize
|
|
@@ -632,7 +680,7 @@ html, body {
|
|
|
632
680
|
hard edge at full opacity.
|
|
633
681
|
|
|
634
682
|
Forks with sticky chrome (a sidebar / top bar that stays put while the page
|
|
635
|
-
scrolls): see
|
|
683
|
+
scrolls): see docs/agent-rules/theme-transition-and-sticky-chrome.md -> "Theme transition and sticky chrome" before
|
|
636
684
|
naming any chrome. NEVER give a backdrop-filter element a view-transition-
|
|
637
685
|
name (its snapshot has no backdrop to sample and rasterizes as an opaque
|
|
638
686
|
white flash). */
|
package/src/tokens.json
CHANGED
|
@@ -862,35 +862,37 @@
|
|
|
862
862
|
"background": {
|
|
863
863
|
"$value": "oklch(1 0 0)",
|
|
864
864
|
"$type": "color",
|
|
865
|
-
"$description": "Page background"
|
|
865
|
+
"$description": "Page background The canvas behind everything. Cards and popovers sit on it. Not for a raised surface, use card."
|
|
866
866
|
},
|
|
867
867
|
"foreground": {
|
|
868
868
|
"$value": "oklch(0.1450 0 0)",
|
|
869
869
|
"$type": "color",
|
|
870
|
-
"$description": "Default text on background"
|
|
870
|
+
"$description": "Default text on background Body text and headings. For secondary text use muted-foreground."
|
|
871
871
|
},
|
|
872
872
|
"card": {
|
|
873
873
|
"$value": "oklch(1 0 0)",
|
|
874
874
|
"$type": "color",
|
|
875
|
-
"$description": "Surface for cards"
|
|
875
|
+
"$description": "Surface for cards Grouped content on the page. Not for floating layers, use popover. Not for quiet regions, use muted."
|
|
876
876
|
},
|
|
877
877
|
"card-foreground": {
|
|
878
878
|
"$value": "oklch(0.1450 0 0)",
|
|
879
|
-
"$type": "color"
|
|
879
|
+
"$type": "color",
|
|
880
|
+
"$description": "Text and icons on card."
|
|
880
881
|
},
|
|
881
882
|
"popover": {
|
|
882
883
|
"$value": "oklch(1 0 0)",
|
|
883
884
|
"$type": "color",
|
|
884
|
-
"$description": "Popover/dropdown surface"
|
|
885
|
+
"$description": "Popover/dropdown surface Floating layers only: menus, dropdowns, tooltips, popovers. Not for surfaces in the page flow, use card."
|
|
885
886
|
},
|
|
886
887
|
"popover-foreground": {
|
|
887
888
|
"$value": "oklch(0.1450 0 0)",
|
|
888
|
-
"$type": "color"
|
|
889
|
+
"$type": "color",
|
|
890
|
+
"$description": "Text and icons on popover."
|
|
889
891
|
},
|
|
890
892
|
"primary": {
|
|
891
893
|
"$value": "#1F1F1F",
|
|
892
894
|
"$type": "color",
|
|
893
|
-
"$description": "Primary brand. Override per client. Default = shadcn near-black."
|
|
895
|
+
"$description": "Primary brand. Override per client. Default = shadcn near-black. The one main action in a region, the selected state, brand emphasis. Not for decoration, and not for several competing actions in one region."
|
|
894
896
|
},
|
|
895
897
|
"primary-foreground": {
|
|
896
898
|
"$value": "#FAFAFA",
|
|
@@ -904,53 +906,58 @@
|
|
|
904
906
|
},
|
|
905
907
|
"secondary": {
|
|
906
908
|
"$value": "oklch(0.9700 0 0)",
|
|
907
|
-
"$type": "color"
|
|
909
|
+
"$type": "color",
|
|
910
|
+
"$description": "A quiet filled surface for secondary actions and chips beside a primary action. More emphasis than muted, less than primary. Not for text."
|
|
908
911
|
},
|
|
909
912
|
"secondary-foreground": {
|
|
910
913
|
"$value": "oklch(0.2050 0 0)",
|
|
911
|
-
"$type": "color"
|
|
914
|
+
"$type": "color",
|
|
915
|
+
"$description": "Text and icons on secondary."
|
|
912
916
|
},
|
|
913
917
|
"muted": {
|
|
914
918
|
"$value": "oklch(0.9700 0 0)",
|
|
915
919
|
"$type": "color",
|
|
916
|
-
"$description": "Subtle background for de-emphasized surfaces"
|
|
920
|
+
"$description": "Subtle background for de-emphasized surfaces Quiet regions: table headers, code blocks, the canvas behind a card. Not for text, use muted-foreground for that."
|
|
917
921
|
},
|
|
918
922
|
"muted-foreground": {
|
|
919
923
|
"$value": "oklch(0.3700 0 0)",
|
|
920
924
|
"$type": "color",
|
|
921
|
-
"$description": "Captions, labels, secondary text. ~7.5:1 on white (AAA)."
|
|
925
|
+
"$description": "Captions, labels, secondary text. ~7.5:1 on white (AAA). Never for the only cue to a state, and never for content people must read to act."
|
|
922
926
|
},
|
|
923
927
|
"accent": {
|
|
924
928
|
"$value": "oklch(0.9700 0 0)",
|
|
925
|
-
"$type": "color"
|
|
929
|
+
"$type": "color",
|
|
930
|
+
"$description": "The hover and focus highlight on rows, menu items and toggles. It is not a brand color (that is primary) and not a status color."
|
|
926
931
|
},
|
|
927
932
|
"accent-foreground": {
|
|
928
933
|
"$value": "oklch(0.2050 0 0)",
|
|
929
|
-
"$type": "color"
|
|
934
|
+
"$type": "color",
|
|
935
|
+
"$description": "Text and icons on accent."
|
|
930
936
|
},
|
|
931
937
|
"destructive": {
|
|
932
938
|
"$value": "oklch(0.4400 0.2300 27.3250)",
|
|
933
939
|
"$type": "color",
|
|
934
|
-
"$description": "Errors, delete, dangerous actions. Tuned for AAA 7:1 with white foreground."
|
|
940
|
+
"$description": "Errors, delete, dangerous actions. Tuned for AAA 7:1 with white foreground. Not for warnings, use warning. Not for generic emphasis."
|
|
935
941
|
},
|
|
936
942
|
"destructive-foreground": {
|
|
937
943
|
"$value": "oklch(1 0 0)",
|
|
938
|
-
"$type": "color"
|
|
944
|
+
"$type": "color",
|
|
945
|
+
"$description": "Text and icons on destructive fills."
|
|
939
946
|
},
|
|
940
947
|
"success": {
|
|
941
948
|
"$value": "oklch(0.5500 0.1500 150)",
|
|
942
949
|
"$type": "color",
|
|
943
|
-
"$description": "Positive/success status accent (icon, border). Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1."
|
|
950
|
+
"$description": "Positive/success status accent (icon, border). Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1. Confirmed positive outcomes. Pair with text or an icon, never color alone."
|
|
944
951
|
},
|
|
945
952
|
"warning": {
|
|
946
953
|
"$value": "oklch(0.5800 0.1400 65)",
|
|
947
954
|
"$type": "color",
|
|
948
|
-
"$description": "Caution/warning status accent (icon, border). Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1."
|
|
955
|
+
"$description": "Caution/warning status accent (icon, border). Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1. Caution that needs attention, not yet an error. Pair with text or an icon, never color alone."
|
|
949
956
|
},
|
|
950
957
|
"info": {
|
|
951
958
|
"$value": "oklch(0.5500 0.1700 250)",
|
|
952
959
|
"$type": "color",
|
|
953
|
-
"$description": "Informational status accent (icon, border). Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1."
|
|
960
|
+
"$description": "Informational status accent (icon, border). Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1. Neutral, informational notes. Pair with text or an icon, never color alone."
|
|
954
961
|
},
|
|
955
962
|
"icon-default": {
|
|
956
963
|
"$value": "var(--foreground)",
|
|
@@ -1000,12 +1007,12 @@
|
|
|
1000
1007
|
"border": {
|
|
1001
1008
|
"$value": "oklch(0.6100 0 0)",
|
|
1002
1009
|
"$type": "color",
|
|
1003
|
-
"$description": "Default border. AAA non-text: ≥3:1 on background."
|
|
1010
|
+
"$description": "Default border. AAA non-text: ≥3:1 on background. Dividers and the outline of cards and panels. Not for the edge of a form control, use input."
|
|
1004
1011
|
},
|
|
1005
1012
|
"input": {
|
|
1006
1013
|
"$value": "oklch(0.6100 0 0)",
|
|
1007
1014
|
"$type": "color",
|
|
1008
|
-
"$description": "Input border. AAA non-text: ≥3:1 on card."
|
|
1015
|
+
"$description": "Input border. AAA non-text: ≥3:1 on card. The edge of form controls only. Not for dividers, use border."
|
|
1009
1016
|
},
|
|
1010
1017
|
"ring": {
|
|
1011
1018
|
"$value": "oklch(0.4500 0 0)",
|
|
@@ -1015,7 +1022,7 @@
|
|
|
1015
1022
|
"chart-1": {
|
|
1016
1023
|
"$value": "oklch(0.6200 0.2000 220)",
|
|
1017
1024
|
"$type": "color",
|
|
1018
|
-
"$description": "Tuned for AAA 3:1 on white card. Electric cyan-blue."
|
|
1025
|
+
"$description": "Tuned for AAA 3:1 on white card. Electric cyan-blue. Series 1 of 5. Assign by series order. Never for status meaning, use success, warning or destructive."
|
|
1019
1026
|
},
|
|
1020
1027
|
"chart-2": {
|
|
1021
1028
|
"$value": "oklch(0.6200 0.2200 145)",
|
|
@@ -1039,68 +1046,80 @@
|
|
|
1039
1046
|
},
|
|
1040
1047
|
"sidebar": {
|
|
1041
1048
|
"$value": "oklch(0.9850 0 0)",
|
|
1042
|
-
"$type": "color"
|
|
1049
|
+
"$type": "color",
|
|
1050
|
+
"$description": "The surface of the app's side navigation rail."
|
|
1043
1051
|
},
|
|
1044
1052
|
"sidebar-foreground": {
|
|
1045
1053
|
"$value": "oklch(0.1450 0 0)",
|
|
1046
|
-
"$type": "color"
|
|
1054
|
+
"$type": "color",
|
|
1055
|
+
"$description": "Text and icons on sidebar."
|
|
1047
1056
|
},
|
|
1048
1057
|
"sidebar-primary": {
|
|
1049
1058
|
"$value": "oklch(0.2050 0 0)",
|
|
1050
|
-
"$type": "color"
|
|
1059
|
+
"$type": "color",
|
|
1060
|
+
"$description": "The selected item in the sidebar. Not the page's main action color, use primary for that."
|
|
1051
1061
|
},
|
|
1052
1062
|
"sidebar-primary-foreground": {
|
|
1053
1063
|
"$value": "oklch(0.9850 0 0)",
|
|
1054
|
-
"$type": "color"
|
|
1064
|
+
"$type": "color",
|
|
1065
|
+
"$description": "Text and icons on sidebar-primary."
|
|
1055
1066
|
},
|
|
1056
1067
|
"sidebar-accent": {
|
|
1057
1068
|
"$value": "oklch(0.9700 0 0)",
|
|
1058
|
-
"$type": "color"
|
|
1069
|
+
"$type": "color",
|
|
1070
|
+
"$description": "Hover and focus highlight for sidebar items."
|
|
1059
1071
|
},
|
|
1060
1072
|
"sidebar-accent-foreground": {
|
|
1061
1073
|
"$value": "oklch(0.2050 0 0)",
|
|
1062
|
-
"$type": "color"
|
|
1074
|
+
"$type": "color",
|
|
1075
|
+
"$description": "Text and icons on sidebar-accent."
|
|
1063
1076
|
},
|
|
1064
1077
|
"sidebar-border": {
|
|
1065
1078
|
"$value": "oklch(0.6100 0 0)",
|
|
1066
1079
|
"$type": "color",
|
|
1067
|
-
"$description": "AAA non-text 3:1 on sidebar."
|
|
1080
|
+
"$description": "Dividers and outlines inside the sidebar. Meets the AAA non-text 3:1 floor on the sidebar surface. Not for the focus indicator, use sidebar-ring."
|
|
1068
1081
|
},
|
|
1069
1082
|
"sidebar-ring": {
|
|
1070
1083
|
"$value": "oklch(0.4500 0 0)",
|
|
1071
1084
|
"$type": "color",
|
|
1072
|
-
"$description": "AAA non-text 3:1 on sidebar."
|
|
1085
|
+
"$description": "Focus ring for controls inside the sidebar. Meets the AAA non-text 3:1 floor on the sidebar surface. Not for static dividers, use sidebar-border."
|
|
1073
1086
|
}
|
|
1074
1087
|
},
|
|
1075
1088
|
"dark": {
|
|
1076
1089
|
"background": {
|
|
1077
1090
|
"$value": "oklch(0.1450 0 0)",
|
|
1078
|
-
"$type": "color"
|
|
1091
|
+
"$type": "color",
|
|
1092
|
+
"$description": "The canvas behind everything. Cards and popovers sit on it. Not for a raised surface, use card."
|
|
1079
1093
|
},
|
|
1080
1094
|
"foreground": {
|
|
1081
1095
|
"$value": "oklch(0.9850 0 0)",
|
|
1082
|
-
"$type": "color"
|
|
1096
|
+
"$type": "color",
|
|
1097
|
+
"$description": "Body text and headings. For secondary text use muted-foreground."
|
|
1083
1098
|
},
|
|
1084
1099
|
"card": {
|
|
1085
1100
|
"$value": "oklch(0.2050 0 0)",
|
|
1086
|
-
"$type": "color"
|
|
1101
|
+
"$type": "color",
|
|
1102
|
+
"$description": "Grouped content on the page. Not for floating layers, use popover. Not for quiet regions, use muted."
|
|
1087
1103
|
},
|
|
1088
1104
|
"card-foreground": {
|
|
1089
1105
|
"$value": "oklch(0.9850 0 0)",
|
|
1090
|
-
"$type": "color"
|
|
1106
|
+
"$type": "color",
|
|
1107
|
+
"$description": "Text and icons on card."
|
|
1091
1108
|
},
|
|
1092
1109
|
"popover": {
|
|
1093
1110
|
"$value": "oklch(0.2690 0 0)",
|
|
1094
|
-
"$type": "color"
|
|
1111
|
+
"$type": "color",
|
|
1112
|
+
"$description": "Floating layers only: menus, dropdowns, tooltips, popovers. Not for surfaces in the page flow, use card."
|
|
1095
1113
|
},
|
|
1096
1114
|
"popover-foreground": {
|
|
1097
1115
|
"$value": "oklch(0.9850 0 0)",
|
|
1098
|
-
"$type": "color"
|
|
1116
|
+
"$type": "color",
|
|
1117
|
+
"$description": "Text and icons on popover."
|
|
1099
1118
|
},
|
|
1100
1119
|
"primary": {
|
|
1101
1120
|
"$value": "#FAFAFA",
|
|
1102
1121
|
"$type": "color",
|
|
1103
|
-
"$description": "Inverted in dark mode so primary buttons read against the dark page. Near-white surface, near-black text. Brand picker overrides this with a luminance-adjusted variant when a brand color is selected."
|
|
1122
|
+
"$description": "Inverted in dark mode so primary buttons read against the dark page. Near-white surface, near-black text. Brand picker overrides this with a luminance-adjusted variant when a brand color is selected. The one main action in a region, the selected state, brand emphasis. Not for decoration, and not for several competing actions in one region."
|
|
1104
1123
|
},
|
|
1105
1124
|
"primary-foreground": {
|
|
1106
1125
|
"$value": "#1F1F1F",
|
|
@@ -1114,53 +1133,58 @@
|
|
|
1114
1133
|
},
|
|
1115
1134
|
"secondary": {
|
|
1116
1135
|
"$value": "oklch(0.2690 0 0)",
|
|
1117
|
-
"$type": "color"
|
|
1136
|
+
"$type": "color",
|
|
1137
|
+
"$description": "A quiet filled surface for secondary actions and chips beside a primary action. More emphasis than muted, less than primary. Not for text."
|
|
1118
1138
|
},
|
|
1119
1139
|
"secondary-foreground": {
|
|
1120
1140
|
"$value": "oklch(0.9850 0 0)",
|
|
1121
|
-
"$type": "color"
|
|
1141
|
+
"$type": "color",
|
|
1142
|
+
"$description": "Text and icons on secondary."
|
|
1122
1143
|
},
|
|
1123
1144
|
"muted": {
|
|
1124
1145
|
"$value": "oklch(0.2690 0 0)",
|
|
1125
|
-
"$type": "color"
|
|
1146
|
+
"$type": "color",
|
|
1147
|
+
"$description": "Quiet regions: table headers, code blocks, the canvas behind a card. Not for text, use muted-foreground for that."
|
|
1126
1148
|
},
|
|
1127
1149
|
"muted-foreground": {
|
|
1128
1150
|
"$value": "oklch(0.7800 0 0)",
|
|
1129
1151
|
"$type": "color",
|
|
1130
|
-
"$description": "Captions, labels, secondary text. ~9:1 on dark bg (AAA)."
|
|
1152
|
+
"$description": "Captions, labels, secondary text. ~9:1 on dark bg (AAA). Never for the only cue to a state, and never for content people must read to act."
|
|
1131
1153
|
},
|
|
1132
1154
|
"accent": {
|
|
1133
1155
|
"$value": "oklch(0.3710 0 0)",
|
|
1134
|
-
"$type": "color"
|
|
1156
|
+
"$type": "color",
|
|
1157
|
+
"$description": "The hover and focus highlight on rows, menu items and toggles. It is not a brand color (that is primary) and not a status color."
|
|
1135
1158
|
},
|
|
1136
1159
|
"accent-foreground": {
|
|
1137
1160
|
"$value": "oklch(0.9850 0 0)",
|
|
1138
|
-
"$type": "color"
|
|
1161
|
+
"$type": "color",
|
|
1162
|
+
"$description": "Text and icons on accent."
|
|
1139
1163
|
},
|
|
1140
1164
|
"destructive": {
|
|
1141
1165
|
"$value": "oklch(0.7500 0.1600 22.2160)",
|
|
1142
1166
|
"$type": "color",
|
|
1143
|
-
"$description": "Errors, delete, dangerous actions. Light red in dark mode pairs with dark foreground to satisfy AAA 7:1 text + 3:1 non-text against page bg."
|
|
1167
|
+
"$description": "Errors, delete, dangerous actions. Light red in dark mode pairs with dark foreground to satisfy AAA 7:1 text + 3:1 non-text against page bg. Not for warnings, use warning. Not for generic emphasis."
|
|
1144
1168
|
},
|
|
1145
1169
|
"destructive-foreground": {
|
|
1146
1170
|
"$value": "oklch(0.1500 0 0)",
|
|
1147
1171
|
"$type": "color",
|
|
1148
|
-
"$description": "Dark text on light-red destructive surface for AAA 7:1 in dark mode."
|
|
1172
|
+
"$description": "Dark text on light-red destructive surface for AAA 7:1 in dark mode. Text and icons on destructive fills."
|
|
1149
1173
|
},
|
|
1150
1174
|
"success": {
|
|
1151
1175
|
"$value": "oklch(0.8000 0.1500 150)",
|
|
1152
1176
|
"$type": "color",
|
|
1153
|
-
"$description": "Positive/success status accent (icon, border) for dark mode. Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1."
|
|
1177
|
+
"$description": "Positive/success status accent (icon, border) for dark mode. Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1. Confirmed positive outcomes. Pair with text or an icon, never color alone."
|
|
1154
1178
|
},
|
|
1155
1179
|
"warning": {
|
|
1156
1180
|
"$value": "oklch(0.8400 0.1300 80)",
|
|
1157
1181
|
"$type": "color",
|
|
1158
|
-
"$description": "Caution/warning status accent (icon, border) for dark mode. Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1."
|
|
1182
|
+
"$description": "Caution/warning status accent (icon, border) for dark mode. Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1. Caution that needs attention, not yet an error. Pair with text or an icon, never color alone."
|
|
1159
1183
|
},
|
|
1160
1184
|
"info": {
|
|
1161
1185
|
"$value": "oklch(0.7800 0.1400 250)",
|
|
1162
1186
|
"$type": "color",
|
|
1163
|
-
"$description": "Informational status accent (icon, border) for dark mode. Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1."
|
|
1187
|
+
"$description": "Informational status accent (icon, border) for dark mode. Non-text: tuned ≥3:1 on popover/card/background. Not for body text without checking 7:1. Neutral, informational notes. Pair with text or an icon, never color alone."
|
|
1164
1188
|
},
|
|
1165
1189
|
"icon-default": {
|
|
1166
1190
|
"$value": "var(--foreground)",
|
|
@@ -1210,12 +1234,12 @@
|
|
|
1210
1234
|
"border": {
|
|
1211
1235
|
"$value": "oklch(0.5500 0 0)",
|
|
1212
1236
|
"$type": "color",
|
|
1213
|
-
"$description": "AAA non-text: ≥3:1 on dark background AND card."
|
|
1237
|
+
"$description": "AAA non-text: ≥3:1 on dark background AND card. Dividers and the outline of cards and panels. Not for the edge of a form control, use input."
|
|
1214
1238
|
},
|
|
1215
1239
|
"input": {
|
|
1216
1240
|
"$value": "oklch(0.5500 0 0)",
|
|
1217
1241
|
"$type": "color",
|
|
1218
|
-
"$description": "AAA non-text: ≥3:1 on dark card."
|
|
1242
|
+
"$description": "AAA non-text: ≥3:1 on dark card. The edge of form controls only. Not for dividers, use border."
|
|
1219
1243
|
},
|
|
1220
1244
|
"ring": {
|
|
1221
1245
|
"$value": "oklch(0.7000 0 0)",
|
|
@@ -1225,7 +1249,7 @@
|
|
|
1225
1249
|
"chart-1": {
|
|
1226
1250
|
"$value": "oklch(0.7800 0.1800 220)",
|
|
1227
1251
|
"$type": "color",
|
|
1228
|
-
"$description": "Tuned for AAA 3:1 on dark card. Bright cyan-blue."
|
|
1252
|
+
"$description": "Tuned for AAA 3:1 on dark card. Bright cyan-blue. Series 1 of 5. Assign by series order. Never for status meaning, use success, warning or destructive."
|
|
1229
1253
|
},
|
|
1230
1254
|
"chart-2": {
|
|
1231
1255
|
"$value": "oklch(0.8000 0.2000 145)",
|
|
@@ -1250,38 +1274,42 @@
|
|
|
1250
1274
|
"sidebar": {
|
|
1251
1275
|
"$value": "oklch(0.1450 0 0)",
|
|
1252
1276
|
"$type": "color",
|
|
1253
|
-
"$description": "Recedes to the page background (matches --background) so chrome sits behind the floating content card (L0.205) instead of level with it. Linear/Vercel calmer-interface pattern. Was L0.205 (== card), which made the sidebar advance."
|
|
1277
|
+
"$description": "Recedes to the page background (matches --background) so chrome sits behind the floating content card (L0.205) instead of level with it. Linear/Vercel calmer-interface pattern. Was L0.205 (== card), which made the sidebar advance. The surface of the app's side navigation rail."
|
|
1254
1278
|
},
|
|
1255
1279
|
"sidebar-foreground": {
|
|
1256
1280
|
"$value": "oklch(0.9850 0 0)",
|
|
1257
|
-
"$type": "color"
|
|
1281
|
+
"$type": "color",
|
|
1282
|
+
"$description": "Text and icons on sidebar."
|
|
1258
1283
|
},
|
|
1259
1284
|
"sidebar-primary": {
|
|
1260
1285
|
"$value": "oklch(0.4200 0.2000 264.3760)",
|
|
1261
1286
|
"$type": "color",
|
|
1262
|
-
"$description": "Tuned for AAA 7:1 with white foreground."
|
|
1287
|
+
"$description": "Tuned for AAA 7:1 with white foreground. The selected item in the sidebar. Not the page's main action color, use primary for that."
|
|
1263
1288
|
},
|
|
1264
1289
|
"sidebar-primary-foreground": {
|
|
1265
1290
|
"$value": "oklch(0.9850 0 0)",
|
|
1266
|
-
"$type": "color"
|
|
1291
|
+
"$type": "color",
|
|
1292
|
+
"$description": "Text and icons on sidebar-primary."
|
|
1267
1293
|
},
|
|
1268
1294
|
"sidebar-accent": {
|
|
1269
1295
|
"$value": "oklch(0.2690 0 0)",
|
|
1270
|
-
"$type": "color"
|
|
1296
|
+
"$type": "color",
|
|
1297
|
+
"$description": "Hover and focus highlight for sidebar items."
|
|
1271
1298
|
},
|
|
1272
1299
|
"sidebar-accent-foreground": {
|
|
1273
1300
|
"$value": "oklch(0.9850 0 0)",
|
|
1274
|
-
"$type": "color"
|
|
1301
|
+
"$type": "color",
|
|
1302
|
+
"$description": "Text and icons on sidebar-accent."
|
|
1275
1303
|
},
|
|
1276
1304
|
"sidebar-border": {
|
|
1277
1305
|
"$value": "oklch(0.5500 0 0)",
|
|
1278
1306
|
"$type": "color",
|
|
1279
|
-
"$description": "AAA non-text 3:1 on dark sidebar."
|
|
1307
|
+
"$description": "Dividers and outlines inside the dark sidebar. Meets the AAA non-text 3:1 floor on the dark sidebar surface. Not for the focus indicator, use sidebar-ring."
|
|
1280
1308
|
},
|
|
1281
1309
|
"sidebar-ring": {
|
|
1282
1310
|
"$value": "oklch(0.7000 0 0)",
|
|
1283
1311
|
"$type": "color",
|
|
1284
|
-
"$description": "AAA non-text 3:1 on dark sidebar."
|
|
1312
|
+
"$description": "Focus ring for controls inside the dark sidebar. Meets the AAA non-text 3:1 floor on the dark sidebar surface. Not for static dividers, use sidebar-border."
|
|
1285
1313
|
}
|
|
1286
1314
|
}
|
|
1287
1315
|
},
|