@cocoar/vue-ui 3.4.0-beta.8 → 4.0.0-beta.44
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/dist/compact-fonts.d.ts +1 -0
- package/dist/compact-fonts.d.ts.map +1 -0
- package/dist/compact-fonts.js +4 -0
- package/dist/components/_internal/keyboardInset.d.ts +9 -0
- package/dist/components/_internal/keyboardInset.d.ts.map +1 -0
- package/dist/components/_internal/pageScrollLock.d.ts +17 -0
- package/dist/components/_internal/pageScrollLock.d.ts.map +1 -0
- package/dist/components/_internal/useFocusTrap.d.ts +9 -0
- package/dist/components/_internal/useFocusTrap.d.ts.map +1 -0
- package/dist/components/_internal/useVisualViewport.d.ts +26 -0
- package/dist/components/_internal/useVisualViewport.d.ts.map +1 -0
- package/dist/components/badge/CoarBadge.vue.d.ts.map +1 -1
- package/dist/components/card/CoarCard.vue.d.ts.map +1 -1
- package/dist/components/checkbox/CoarCheckbox.vue.d.ts +2 -2
- package/dist/components/checkbox/CoarCheckbox.vue.d.ts.map +1 -1
- package/dist/components/code-block/CoarCodeBlock.vue.d.ts +1 -1
- package/dist/components/code-block/CoarCodeBlock.vue.d.ts.map +1 -1
- package/dist/components/data-list/CoarDataList.vue.d.ts.map +1 -1
- package/dist/components/date-time/_shared/use-plain-date-picker.d.ts +95 -0
- package/dist/components/date-time/_shared/use-plain-date-picker.d.ts.map +1 -0
- package/dist/components/date-time/_shared/use-plain-date-time-picker.d.ts +113 -0
- package/dist/components/date-time/_shared/use-plain-date-time-picker.d.ts.map +1 -0
- package/dist/components/date-time/_shared/use-zoned-date-time-picker.d.ts +132 -0
- package/dist/components/date-time/_shared/use-zoned-date-time-picker.d.ts.map +1 -0
- package/dist/components/date-time/plain-date-picker/CoarPlainDatePicker.vue.d.ts +23 -6
- package/dist/components/date-time/plain-date-picker/CoarPlainDatePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/plain-date-time-or-date-picker/CoarPlainDateTimeOrDatePicker.vue.d.ts +4 -0
- package/dist/components/date-time/plain-date-time-or-date-picker/CoarPlainDateTimeOrDatePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/plain-date-time-picker/CoarPlainDateTimePicker.vue.d.ts +23 -6
- package/dist/components/date-time/plain-date-time-picker/CoarPlainDateTimePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/scrollable-calendar/CoarScrollableCalendar.vue.d.ts.map +1 -1
- package/dist/components/date-time/time-picker/CoarTimePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/zoned-date-time-or-date-picker/CoarZonedDateTimeOrDatePicker.vue.d.ts +4 -0
- package/dist/components/date-time/zoned-date-time-or-date-picker/CoarZonedDateTimeOrDatePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePicker.vue.d.ts +23 -6
- package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePickerPanel.vue.d.ts.map +1 -1
- package/dist/components/dialog/CoarDialogFooter.vue.d.ts +20 -0
- package/dist/components/dialog/CoarDialogFooter.vue.d.ts.map +1 -0
- package/dist/components/dialog/CoarDialogShell.vue.d.ts +2 -0
- package/dist/components/dialog/CoarDialogShell.vue.d.ts.map +1 -1
- package/dist/components/dialog/CoarSheetShell.vue.d.ts +50 -0
- package/dist/components/dialog/CoarSheetShell.vue.d.ts.map +1 -0
- package/dist/components/dialog/dialog-types.d.ts +27 -0
- package/dist/components/dialog/dialog-types.d.ts.map +1 -1
- package/dist/components/dialog/dialogFooter.d.ts +21 -0
- package/dist/components/dialog/dialogFooter.d.ts.map +1 -0
- package/dist/components/dialog/index.d.ts +2 -1
- package/dist/components/dialog/index.d.ts.map +1 -1
- package/dist/components/dialog/useDialog.d.ts +6 -15
- package/dist/components/dialog/useDialog.d.ts.map +1 -1
- package/dist/components/dialog/useSheetDrag.d.ts +46 -0
- package/dist/components/dialog/useSheetDrag.d.ts.map +1 -0
- package/dist/components/form-field/CoarFormField.vue.d.ts +2 -2
- package/dist/components/form-field/CoarFormField.vue.d.ts.map +1 -1
- package/dist/components/form-field/constants.d.ts +6 -0
- package/dist/components/form-field/constants.d.ts.map +1 -1
- package/dist/components/icon/CoarIcon.vue.d.ts +3 -3
- package/dist/components/icon/CoarIcon.vue.d.ts.map +1 -1
- package/dist/components/icon/core-icons.d.ts +2 -0
- package/dist/components/icon/core-icons.d.ts.map +1 -1
- package/dist/components/input-frame/CoarInputFrame.vue.d.ts +17 -6
- package/dist/components/input-frame/CoarInputFrame.vue.d.ts.map +1 -1
- package/dist/components/input-frame/CoarInputFrameButton.vue.d.ts.map +1 -1
- package/dist/components/input-frame/types.d.ts +9 -0
- package/dist/components/input-frame/types.d.ts.map +1 -0
- package/dist/components/listbox/CoarListbox.vue.d.ts.map +1 -1
- package/dist/components/menu/CoarContextMenu.vue.d.ts.map +1 -1
- package/dist/components/menu/CoarMenuItem.vue.d.ts.map +1 -1
- package/dist/components/menu/CoarSubExpand.vue.d.ts.map +1 -1
- package/dist/components/menu/CoarSubFlyout.vue.d.ts.map +1 -1
- package/dist/components/menu/useContextMenu.d.ts +7 -20
- package/dist/components/menu/useContextMenu.d.ts.map +1 -1
- package/dist/components/number-input/CoarNumberInput.vue.d.ts +16 -1
- package/dist/components/number-input/CoarNumberInput.vue.d.ts.map +1 -1
- package/dist/components/otp-input/CoarOtpInput.vue.d.ts +2 -2
- package/dist/components/otp-input/CoarOtpInput.vue.d.ts.map +1 -1
- package/dist/components/overlay/CoarOverlayOutlet.vue.d.ts.map +1 -1
- package/dist/components/overlay/compact-context.d.ts +10 -0
- package/dist/components/overlay/compact-context.d.ts.map +1 -0
- package/dist/components/overlay/index.d.ts +3 -1
- package/dist/components/overlay/index.d.ts.map +1 -1
- package/dist/components/overlay/overlay-presets.d.ts +9 -0
- package/dist/components/overlay/overlay-presets.d.ts.map +1 -1
- package/dist/components/overlay/overlay-service.d.ts +12 -0
- package/dist/components/overlay/overlay-service.d.ts.map +1 -1
- package/dist/components/overlay/overlay-types.d.ts +6 -0
- package/dist/components/overlay/overlay-types.d.ts.map +1 -1
- package/dist/components/overlay/useCompactPresentationContext.d.ts +33 -0
- package/dist/components/overlay/useCompactPresentationContext.d.ts.map +1 -0
- package/dist/components/pagination/CoarPagination.vue.d.ts.map +1 -1
- package/dist/components/panel-layout/internal/CoarPaneDivider.vue.d.ts.map +1 -1
- package/dist/components/password-input/CoarPasswordInput.vue.d.ts +5 -1
- package/dist/components/password-input/CoarPasswordInput.vue.d.ts.map +1 -1
- package/dist/components/scrollbar/index.d.ts +1 -1
- package/dist/components/scrollbar/index.d.ts.map +1 -1
- package/dist/components/scrollbar/vScrollbar.d.ts +9 -0
- package/dist/components/scrollbar/vScrollbar.d.ts.map +1 -1
- package/dist/components/segmented-control/CoarSegmentedControl.vue.d.ts.map +1 -1
- package/dist/components/select/CoarMultiSelect.vue.d.ts.map +1 -1
- package/dist/components/select/CoarMultiSelectDropdownPanel.vue.d.ts.map +1 -1
- package/dist/components/select/CoarSelect.vue.d.ts +17 -3
- package/dist/components/select/CoarSelect.vue.d.ts.map +1 -1
- package/dist/components/select/CoarSelectDropdownPanel.vue.d.ts +7 -4
- package/dist/components/select/CoarSelectDropdownPanel.vue.d.ts.map +1 -1
- package/dist/components/select/CoarTagSelect.vue.d.ts.map +1 -1
- package/dist/components/select/CoarTagSelectDropdownPanel.vue.d.ts.map +1 -1
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/index.d.ts.map +1 -1
- package/dist/components/select/types.d.ts +13 -0
- package/dist/components/select/types.d.ts.map +1 -1
- package/dist/components/select/useSelectBase.d.ts +2 -1
- package/dist/components/select/useSelectBase.d.ts.map +1 -1
- package/dist/components/sidebar/CoarSidebarGroup.vue.d.ts.map +1 -1
- package/dist/components/switch/CoarSwitch.vue.d.ts +2 -2
- package/dist/components/switch/CoarSwitch.vue.d.ts.map +1 -1
- package/dist/components/tabs/CoarTabGroup.vue.d.ts.map +1 -1
- package/dist/components/tag/CoarTag.vue.d.ts.map +1 -1
- package/dist/components/text-input/CoarTextInput.vue.d.ts +16 -2
- package/dist/components/text-input/CoarTextInput.vue.d.ts.map +1 -1
- package/dist/components/theme-editor/CoarPaletteEditor.vue.d.ts +8 -2
- package/dist/components/theme-editor/CoarPaletteEditor.vue.d.ts.map +1 -1
- package/dist/components/theme-editor/color-preview.d.ts +22 -0
- package/dist/components/theme-editor/color-preview.d.ts.map +1 -0
- package/dist/components/theme-editor/font-preview.d.ts +46 -0
- package/dist/components/theme-editor/font-preview.d.ts.map +1 -0
- package/dist/components/theme-editor/scheme-values.d.ts +12 -0
- package/dist/components/theme-editor/scheme-values.d.ts.map +1 -0
- package/dist/components/theme-editor/theme-editor-state.d.ts +199 -183
- package/dist/components/theme-editor/theme-editor-state.d.ts.map +1 -1
- package/dist/components/theme-scope/CoarThemeScope.vue.d.ts.map +1 -1
- package/dist/components/tree/CoarTreeNode.vue.d.ts.map +1 -1
- package/dist/composables/useDragDrop.d.ts.map +1 -1
- package/dist/composables/useDragImage.d.ts +2 -14
- package/dist/composables/useDragImage.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +8 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6768 -4523
- package/dist/onest-fonts.d.ts +1 -0
- package/dist/onest-fonts.d.ts.map +1 -0
- package/dist/onest-fonts.js +4 -0
- package/dist/theme/color-contrast.d.ts +10 -0
- package/dist/theme/color-contrast.d.ts.map +1 -0
- package/dist/theme/compact-packages/calendar.d.ts +8 -0
- package/dist/theme/compact-packages/calendar.d.ts.map +1 -0
- package/dist/theme/compact-packages/data-grid.d.ts +8 -0
- package/dist/theme/compact-packages/data-grid.d.ts.map +1 -0
- package/dist/theme/compact-packages/document-viewer.d.ts +8 -0
- package/dist/theme/compact-packages/document-viewer.d.ts.map +1 -0
- package/dist/theme/compact-packages/map.d.ts +11 -0
- package/dist/theme/compact-packages/map.d.ts.map +1 -0
- package/dist/theme/compact-packages/markdown-editor.d.ts +8 -0
- package/dist/theme/compact-packages/markdown-editor.d.ts.map +1 -0
- package/dist/theme/compact-packages/markdown.d.ts +14 -0
- package/dist/theme/compact-packages/markdown.d.ts.map +1 -0
- package/dist/theme/compact-packages/mermaid.d.ts +8 -0
- package/dist/theme/compact-packages/mermaid.d.ts.map +1 -0
- package/dist/theme/compact-packages/page-builder.d.ts +8 -0
- package/dist/theme/compact-packages/page-builder.d.ts.map +1 -0
- package/dist/theme/compact-packages/script-editor.d.ts +8 -0
- package/dist/theme/compact-packages/script-editor.d.ts.map +1 -0
- package/dist/theme/compact-theme.d.ts +11 -0
- package/dist/theme/compact-theme.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/calendar.d.ts +3 -0
- package/dist/theme/enterprise-packages/calendar.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/document-viewer.d.ts +3 -0
- package/dist/theme/enterprise-packages/document-viewer.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/map.d.ts +3 -0
- package/dist/theme/enterprise-packages/map.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/markdown.d.ts +7 -0
- package/dist/theme/enterprise-packages/markdown.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/mermaid.d.ts +3 -0
- package/dist/theme/enterprise-packages/mermaid.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/page-builder.d.ts +3 -0
- package/dist/theme/enterprise-packages/page-builder.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/script-editor.d.ts +7 -0
- package/dist/theme/enterprise-packages/script-editor.d.ts.map +1 -0
- package/dist/theme/enterprise-theme.d.ts +8 -0
- package/dist/theme/enterprise-theme.d.ts.map +1 -0
- package/dist/theme/palette-inputs.d.ts +34 -0
- package/dist/theme/palette-inputs.d.ts.map +1 -0
- package/dist/theme/role-derived-tokens.d.ts +3 -0
- package/dist/theme/role-derived-tokens.d.ts.map +1 -0
- package/dist/theme/role-input-defaults.d.ts +5 -0
- package/dist/theme/role-input-defaults.d.ts.map +1 -0
- package/dist/theme/role-theme-contract.d.ts +8 -0
- package/dist/theme/role-theme-contract.d.ts.map +1 -0
- package/dist/theme/role-theme.d.ts +40 -0
- package/dist/theme/role-theme.d.ts.map +1 -0
- package/package.json +15 -4
- package/skills/cocoar-vue-ui/SKILL.md +8 -1
- package/skills/cocoar-vue-ui/references/components/calendar/board.md +212 -0
- package/skills/cocoar-vue-ui/references/components/calendar/coar-calendar.md +32 -1
- package/skills/cocoar-vue-ui/references/components/calendar/day-view.md +21 -0
- package/skills/cocoar-vue-ui/references/components/calendar/index.md +26 -1
- package/skills/cocoar-vue-ui/references/components/calendar/mini-month.md +59 -0
- package/skills/cocoar-vue-ui/references/components/calendar/month-view.md +48 -1
- package/skills/cocoar-vue-ui/references/components/context-menu.md +1 -0
- package/skills/cocoar-vue-ui/references/components/data-grid.md +4 -0
- package/skills/cocoar-vue-ui/references/components/date-or-time-picker.md +30 -1
- package/skills/cocoar-vue-ui/references/components/date-picker.md +32 -1
- package/skills/cocoar-vue-ui/references/components/date-time-picker.md +28 -1
- package/skills/cocoar-vue-ui/references/components/dialog.md +188 -2
- package/skills/cocoar-vue-ui/references/components/document-viewer/coar-document-viewer.md +4 -0
- package/skills/cocoar-vue-ui/references/components/form-field.md +10 -6
- package/skills/cocoar-vue-ui/references/components/listbox.md +3 -1
- package/skills/cocoar-vue-ui/references/components/map/index.md +5 -1
- package/skills/cocoar-vue-ui/references/components/markdown-editor.md +10 -0
- package/skills/cocoar-vue-ui/references/components/markdown-form.md +9 -0
- package/skills/cocoar-vue-ui/references/components/markdown.md +10 -0
- package/skills/cocoar-vue-ui/references/components/menu.md +1 -1
- package/skills/cocoar-vue-ui/references/components/mermaid.md +11 -0
- package/skills/cocoar-vue-ui/references/components/number-input.md +81 -0
- package/skills/cocoar-vue-ui/references/components/object-editor.md +737 -0
- package/skills/cocoar-vue-ui/references/components/otp-input.md +1 -1
- package/skills/cocoar-vue-ui/references/components/pagination.md +1 -1
- package/skills/cocoar-vue-ui/references/components/password-input.md +32 -0
- package/skills/cocoar-vue-ui/references/components/script-editor.md +10 -0
- package/skills/cocoar-vue-ui/references/components/segmented-control.md +1 -1
- package/skills/cocoar-vue-ui/references/components/select.md +136 -2
- package/skills/cocoar-vue-ui/references/components/tabs.md +1 -1
- package/skills/cocoar-vue-ui/references/components/tag.md +1 -1
- package/skills/cocoar-vue-ui/references/components/text-input.md +189 -0
- package/skills/cocoar-vue-ui/references/components/zoned-date-time-picker.md +42 -1
- package/skills/cocoar-vue-ui/references/foundations/colors.md +32 -3
- package/skills/cocoar-vue-ui/references/foundations/compact-presentation.md +248 -0
- package/skills/cocoar-vue-ui/references/foundations/theming.md +98 -11
- package/skills/cocoar-vue-ui/references/foundations/typography.md +3 -0
- package/skills/cocoar-vue-ui/references/guide/getting-started.md +2 -2
- package/skills/cocoar-vue-ui/references/guide/migration-color-roles.md +28 -0
- package/skills/cocoar-vue-ui/references/guide/migration-object-editor-values.md +40 -0
- package/skills/cocoar-vue-ui/references/guide/mobile.md +126 -27
- package/skills/cocoar-vue-ui/references/guide/theming.md +25 -0
- package/styles/tokens/all.css +6 -0
- package/styles/tokens/code-block.css +2 -2
- package/styles/tokens/colors-primitives-dark.css +50 -50
- package/styles/tokens/colors-primitives-light.css +50 -50
- package/styles/tokens/colors-usage.css +132 -111
- package/styles/tokens/compact.css +4442 -0
- package/styles/tokens/components-shared.css +4 -4
- package/styles/tokens/derived.css +525 -0
- package/styles/tokens/menu.css +21 -21
- package/styles/tokens/mobile.css +2 -0
- package/styles/tokens/new-components.css +42 -33
- package/styles/tokens/select-overlay.css +12 -12
- package/styles/tokens/sidebar.css +12 -12
- package/styles/tokens/theme-none.css +99 -93
- package/styles/tokens/tooltip.css +4 -4
- package/styles/tokens/typography.css +19 -19
|
@@ -41,6 +41,18 @@ validation, disabled/readonly states, and link-button semantics stay unchanged.
|
|
|
41
41
|
Connecting a mouse does not switch the presentation. Narrowing the viewport does
|
|
42
42
|
not automatically enable this mode either.
|
|
43
43
|
|
|
44
|
+
## Try it in phone size {#try-it}
|
|
45
|
+
|
|
46
|
+
The demo below runs in a real viewport of 390 × 844 CSS pixels, in an app with
|
|
47
|
+
`coar-mobile` on `html`: overlays open inside it, and width-dependent rules see
|
|
48
|
+
the phone's width. It is one page of the
|
|
49
|
+
[mobile documentation](https://docs.cocoar.dev/cocoar-ui-vue/mobile/), a small app of demos that you
|
|
50
|
+
can open on a phone directly and browse with your thumb. What a frame cannot
|
|
51
|
+
show — the on-screen keyboard, safe areas, real finger gestures — needs that
|
|
52
|
+
real device.
|
|
53
|
+
|
|
54
|
+
Live demo in phone size: [A form in phone size](https://docs.cocoar.dev/cocoar-ui-vue/mobile/#/form)
|
|
55
|
+
|
|
44
56
|
## What decides what
|
|
45
57
|
|
|
46
58
|
Each aspect of how a component looks and behaves has one source. They are
|
|
@@ -99,8 +111,8 @@ the controls read these tokens in both modes.
|
|
|
99
111
|
|
|
100
112
|
## Supported controls
|
|
101
113
|
|
|
102
|
-
|
|
103
|
-
library.
|
|
114
|
+
The adapted controls are what a form taps: fields, the rows that open from them, and
|
|
115
|
+
the small controls around them. This is not a mobile redesign of the entire library.
|
|
104
116
|
|
|
105
117
|
| Component | Mobile presentation |
|
|
106
118
|
|-----------|---------------------|
|
|
@@ -111,6 +123,16 @@ library.
|
|
|
111
123
|
| `CoarCheckbox` | At least 48×48px clickable label, without enlarging the indicator |
|
|
112
124
|
| `CoarRadioButton` / `CoarRadioGroup` | At least 48×48px clickable option labels, without enlarging the indicators |
|
|
113
125
|
| `CoarSwitch` | At least 48×48px clickable label, without enlarging the track |
|
|
126
|
+
| `CoarSelect` / `CoarMultiSelect` | The field height scale and at least 16px text, a 44×44px clear target; options at least 44px tall with 16px text |
|
|
127
|
+
| `CoarTagSelect` | The same field floors as a minimum height (the field still grows with its chips), 44×44px chip remove targets without enlarging the chips (wider gaps between chips and wrapped rows keep the targets apart); options as above |
|
|
128
|
+
| `CoarPlainDatePicker`, `CoarPlainDateTimePicker`, `CoarZonedDateTimePicker`, `CoarPlainDateTimeOrDatePicker`, `CoarZonedDateTimeOrDatePicker` | The field height scale and at least 16px editable text, 44×44px clear, calendar and time-zone targets; the panels keep their desktop layout |
|
|
129
|
+
| `CoarMenu` / `CoarContextMenu` | Items and submenu triggers at least 44px tall with 16px text |
|
|
130
|
+
| `CoarListbox` | Rows at least 44px tall with 16px text; in virtual mode the row height stays the `itemHeight` prop |
|
|
131
|
+
| `CoarSegmentedControl` | The button height scale, at least 44px wide segments and 16px text |
|
|
132
|
+
| `CoarTabGroup` | Tabs at least 44×44px with 16px text, never narrower than their label; a row wider than its container overflows as without the class |
|
|
133
|
+
| `CoarOtpInput` | Cells on the field height scale with at least 16px text; square where there is room, narrower where the container is too narrow for them |
|
|
134
|
+
| `CoarPagination` | Page and navigation buttons at least 44×44px with 16px text; they wrap in a narrow container |
|
|
135
|
+
| `CoarTag` | A 44×44px close target, without enlarging the tag; a closable tag keeps the target's room as margin, so tags in a list never cover each other |
|
|
114
136
|
|
|
115
137
|
Text-input clear buttons also receive 44×44px targets. Clear buttons remain fully
|
|
116
138
|
opaque without hover or focus when a value can be cleared; empty fields retain
|
|
@@ -126,8 +148,9 @@ of collapsing every size to one minimum:
|
|
|
126
148
|
| `m` | 40px | 52px |
|
|
127
149
|
| `l` | 48px | 56px |
|
|
128
150
|
|
|
129
|
-
This scale applies to buttons and single-line
|
|
130
|
-
|
|
151
|
+
This scale applies to buttons, segmented controls, OTP cells and the single-line
|
|
152
|
+
fields (text, password, number, selects, date pickers); textareas and the tag select
|
|
153
|
+
can grow taller. Larger custom component heights are preserved.
|
|
131
154
|
The mobile input border is painted without taking layout space, so even an `xs`
|
|
132
155
|
field can contain 44px actions under a global `box-sizing: border-box` reset.
|
|
133
156
|
Rounded fields still have intentionally rounded hit regions.
|
|
@@ -142,14 +165,12 @@ It is independent of light/dark mode. Removing the class restores normal sizing
|
|
|
142
165
|
without remounting the controls or resetting their values. Desktop siblings
|
|
143
166
|
outside a local mobile parent are unaffected.
|
|
144
167
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
or `html` when supported controls inside overlays should also use the mode.
|
|
148
|
-
This increment does not add a mobile-context bridge for local overlays.
|
|
168
|
+
Overlays are teleported to `body`, outside a local mobile parent; the mode
|
|
169
|
+
still reaches them, see [Overlays from a local area](#overlays).
|
|
149
170
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
171
|
+
The panels of date/time pickers, dialogs, grids, and editors do not have dedicated
|
|
172
|
+
mobile presentations yet; select panels get touch-sized rows but stay dropdowns. In
|
|
173
|
+
particular, no picker or select switches to a sheet or a stepped mobile flow.
|
|
153
174
|
|
|
154
175
|
The class changes sizes only. A component without a mobile presentation keeps
|
|
155
176
|
its own layout in both modes (see [Device support](#device-support)); adapted
|
|
@@ -158,6 +179,78 @@ sizes. A component that
|
|
|
158
179
|
needs a different pattern on a phone will get an explicit option for it; no
|
|
159
180
|
component changes its behaviour or layout pattern because the class is present.
|
|
160
181
|
|
|
182
|
+
## Overlays from a local area {#overlays}
|
|
183
|
+
|
|
184
|
+
An overlay opened from inside a local `coar-mobile` area keeps the mobile
|
|
185
|
+
presentation: popovers, selects, menus and their submenus, date pickers,
|
|
186
|
+
dialogs, context menus, and overlays opened from inside those. The overlay's
|
|
187
|
+
host element gets the class `coar-mobile` and, inline, the values the area
|
|
188
|
+
computes for the mobile control tokens:
|
|
189
|
+
|
|
190
|
+
`--coar-control-xs-height`, `--coar-control-s-height`, `--coar-control-m-height`,
|
|
191
|
+
`--coar-control-l-height`, `--coar-control-min-size`, `--coar-control-min-font-size`,
|
|
192
|
+
`--coar-control-min-target-size`, `--coar-control-row-min-height`,
|
|
193
|
+
`--coar-control-clear-opacity`, `--coar-control-align-items`
|
|
194
|
+
|
|
195
|
+
The values are read on the area itself, so brand rules (`.my-brand .coar-mobile`)
|
|
196
|
+
and local overrides (`.my-form.coar-mobile`) reach the overlay too.
|
|
197
|
+
|
|
198
|
+
With `coar-mobile` on `html` or `body` there is nothing to do: the overlay sits
|
|
199
|
+
inside it and inherits the tokens as before. Without `coar-mobile`, overlays are
|
|
200
|
+
unchanged.
|
|
201
|
+
|
|
202
|
+
### Dialogs as bottom sheets
|
|
203
|
+
|
|
204
|
+
A dialog can open as a sheet docked to the bottom of the screen, with
|
|
205
|
+
`presentation: 'sheet'` in `useDialog()` (Preview, see [Bottom sheet](../components/dialog.md#sheet)).
|
|
206
|
+
The presentation is explicit, chosen per call, and never derived from `coar-mobile` or the
|
|
207
|
+
window width: a dialog opened without it stays the centered dialog, also inside a
|
|
208
|
+
`coar-mobile` area and on a narrow screen. Under `coar-mobile` the centered dialog keeps
|
|
209
|
+
clear of the window edges and stacks its footer buttons in full width; without the class it
|
|
210
|
+
looks as before.
|
|
211
|
+
|
|
212
|
+
### Where the area is found
|
|
213
|
+
|
|
214
|
+
The overlay takes the nearest `.coar-mobile` ancestor of its context element.
|
|
215
|
+
The context is, in this order:
|
|
216
|
+
|
|
217
|
+
1. the `context` option: of `useOverlay().open()` / `getOverlayService().open()`,
|
|
218
|
+
of the dialog config (`DialogConfig`, `ConfirmOptions`, the third argument of
|
|
219
|
+
`alert`);
|
|
220
|
+
2. the element the overlay is anchored to (popover, select, menu, date picker);
|
|
221
|
+
3. the parent overlay, for an overlay opened from inside another one.
|
|
222
|
+
|
|
223
|
+
Two callers set the context themselves:
|
|
224
|
+
|
|
225
|
+
- `useDialog()` called in a component's `setup()` uses that component's element
|
|
226
|
+
(the parent element for a fragment root) while the component is mounted.
|
|
227
|
+
- `useContextMenu().open(event)` remembers the element that was right-clicked
|
|
228
|
+
(`menu.target`), and `CoarContextMenu` passes it on.
|
|
229
|
+
|
|
230
|
+
Outside `setup()` (a store, a plain function, a router guard) `useDialog()` has
|
|
231
|
+
no component to use. Pass the context:
|
|
232
|
+
|
|
233
|
+
```ts
|
|
234
|
+
const dialog = useDialog();
|
|
235
|
+
|
|
236
|
+
dialog.open(EditCustomer, { title: 'Edit customer', context: formEl });
|
|
237
|
+
dialog.confirm({ title: 'Delete?', message: 'This cannot be undone.', context: formEl });
|
|
238
|
+
dialog.alert('Saved', 'The customer was saved.', { context: formEl });
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### Limits
|
|
242
|
+
|
|
243
|
+
- The area is looked up when the overlay opens. A `coar-mobile` class added
|
|
244
|
+
somewhere only afterwards is not picked up. Changes to the area's class or
|
|
245
|
+
inline style are followed: removing the class there removes it from the
|
|
246
|
+
overlay.
|
|
247
|
+
- A local `CoarThemeScope` is still followed only through an element anchor.
|
|
248
|
+
Dialogs and context menus take the mobile presentation of their area, but not
|
|
249
|
+
a local theme around it.
|
|
250
|
+
- Not covered: the theme editor and palette editor (developer tools), the
|
|
251
|
+
markdown editor's table handles, the document viewer's annotation popover, and
|
|
252
|
+
toasts (global, not tied to an area).
|
|
253
|
+
|
|
161
254
|
## Customizing the floors
|
|
162
255
|
|
|
163
256
|
The mode sets inherited control tokens rather than changing the library's shared
|
|
@@ -171,11 +264,14 @@ desktop size tokens. Applications can override them locally:
|
|
|
171
264
|
--coar-control-l-height: 60px;
|
|
172
265
|
--coar-control-min-font-size: 18px;
|
|
173
266
|
--coar-control-min-target-size: 48px;
|
|
267
|
+
--coar-control-row-min-height: 48px;
|
|
174
268
|
}
|
|
175
269
|
```
|
|
176
270
|
|
|
177
271
|
`--coar-control-min-size` separately controls the minimum clickable label size
|
|
178
272
|
for checkboxes, radios, and switches (48px by default).
|
|
273
|
+
`--coar-control-row-min-height` is the minimum height of option, menu and listbox
|
|
274
|
+
rows (44px by default).
|
|
179
275
|
|
|
180
276
|
Leave enough horizontal room for the field and its actions, especially for
|
|
181
277
|
password fields with both clear/reveal buttons and number fields with steppers.
|
|
@@ -216,19 +312,19 @@ are only being added, and testing on real devices remains the job of the app.
|
|
|
216
312
|
| [Text Input](../components/text-input.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
217
313
|
| [Number Input](../components/number-input.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
218
314
|
| [Password Input](../components/password-input.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
219
|
-
| [OTP Input](../components/otp-input.md) | ready | ready | partial |
|
|
220
|
-
| [Select](../components/select.md) | ready | ready |
|
|
221
|
-
| [Listbox](../components/listbox.md) | ready | partial |
|
|
315
|
+
| [OTP Input](../components/otp-input.md) | ready | ready | partial | Mobile sizes under .coar-mobile (Preview); numeric keyboard and SMS autofill work on phones. |
|
|
316
|
+
| [Select](../components/select.md) | ready | ready | partial | Mobile field and option sizes under .coar-mobile (Preview); the panel stays a dropdown, a phone sheet is planned. |
|
|
317
|
+
| [Listbox](../components/listbox.md) | ready | partial | partial | Rows touch-sized under .coar-mobile (Preview), not in virtual mode; multi-highlight needs Ctrl/Shift. |
|
|
222
318
|
| [Dual Listbox](../components/dual-listbox.md) | ready | partial | planned | Move buttons work on touch; multi-highlight needs Ctrl/Shift, and drag needs dragEngine 'pointer'. |
|
|
223
319
|
| [Checkbox](../components/checkbox.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
224
320
|
| [Checkbox Group](../components/checkbox-group.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
225
321
|
| [Radio Group](../components/radio-group.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
226
322
|
| [Switch](../components/switch.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
227
|
-
| [Segmented Control](../components/segmented-control.md) | ready | ready |
|
|
228
|
-
| [Date Picker](../components/date-picker.md) | ready | ready |
|
|
229
|
-
| [DateTime Picker](../components/date-time-picker.md) | ready | ready |
|
|
230
|
-
| [Zoned DateTime Picker](../components/zoned-date-time-picker.md) | ready | ready |
|
|
231
|
-
| [Date · optional time](../components/date-or-time-picker.md) | ready | ready |
|
|
323
|
+
| [Segmented Control](../components/segmented-control.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
324
|
+
| [Date Picker](../components/date-picker.md) | ready | ready | partial | Mobile field sizes under .coar-mobile (Preview); the panel keeps its desktop layout, a phone sheet is planned. |
|
|
325
|
+
| [DateTime Picker](../components/date-time-picker.md) | ready | ready | partial | Mobile field sizes under .coar-mobile (Preview); the panel keeps its desktop layout, a phone sheet is planned. |
|
|
326
|
+
| [Zoned DateTime Picker](../components/zoned-date-time-picker.md) | ready | ready | partial | Mobile field sizes under .coar-mobile (Preview); the panel keeps its desktop layout, a phone sheet is planned. |
|
|
327
|
+
| [Date · optional time](../components/date-or-time-picker.md) | ready | ready | partial | Mobile field sizes under .coar-mobile (Preview); the panel keeps its desktop layout, a phone sheet is planned. |
|
|
232
328
|
| [Date Views](../components/date-views.md) | ready | ready | ready | |
|
|
233
329
|
|
|
234
330
|
**Display**
|
|
@@ -247,20 +343,20 @@ are only being added, and testing on real devices remains the job of the app.
|
|
|
247
343
|
| [Progress Bar](../components/progress-bar.md) | ready | ready | ready | |
|
|
248
344
|
| [Spinner](../components/spinner.md) | ready | ready | ready | |
|
|
249
345
|
| [Table](../components/table.md) | ready | ready | partial | Wide tables need a scroll container from the host; nothing wraps them for narrow screens. |
|
|
250
|
-
| [Tag](../components/tag.md) | ready | partial | partial | The close button is a 10–14 px icon
|
|
346
|
+
| [Tag](../components/tag.md) | ready | partial | partial | The close button is a 10–14 px icon; only under .coar-mobile (Preview) does it get a 44 px touch target. |
|
|
251
347
|
|
|
252
348
|
**Navigation**
|
|
253
349
|
|
|
254
350
|
| Page | Desktop | Tablet | Phone | Note |
|
|
255
351
|
|---|---|---|---|---|
|
|
256
|
-
| [Menu](../components/menu.md) | ready | ready |
|
|
352
|
+
| [Menu](../components/menu.md) | ready | ready | partial | Touch-sized rows under .coar-mobile; the mobile presentation is still Preview. |
|
|
257
353
|
| [Context Menu](../components/context-menu.md) | ready | partial | planned | Opens on right-click; on touch that depends on the browser's long press, so offer your own trigger as well. |
|
|
258
354
|
| [Sidebar](../components/sidebar.md) | ready | partial | partial | Split-trigger flyouts open only on hover and icon-only labels are tooltips; no phone drawer. |
|
|
259
355
|
| [Navbar](../components/navbar.md) | ready | ready | partial | No collapsed or menu layout for narrow screens; slot content must fit the phone width. |
|
|
260
|
-
| [Tabs](../components/tabs.md) | ready | ready | partial |
|
|
356
|
+
| [Tabs](../components/tabs.md) | ready | ready | partial | Touch-sized tabs under .coar-mobile (Preview), but the tab bar neither scrolls nor wraps, so many tabs overflow. |
|
|
261
357
|
| [Tree](../components/tree.md) | ready | partial | not supported | Desktop-first: right-click menus, HTML5 drag and hover-revealed row actions are not tuned for touch. |
|
|
262
358
|
| [Breadcrumb](../components/breadcrumb.md) | ready | ready | partial | Crumbs wrap to fit narrow screens, but their link targets are not enlarged under .coar-mobile. |
|
|
263
|
-
| [Pagination](../components/pagination.md) | ready | ready | partial |
|
|
359
|
+
| [Pagination](../components/pagination.md) | ready | ready | partial | Mobile targets under .coar-mobile (Preview); use fewer maxVisiblePages on phones. |
|
|
264
360
|
|
|
265
361
|
**Layout**
|
|
266
362
|
|
|
@@ -273,7 +369,7 @@ are only being added, and testing on real devices remains the job of the app.
|
|
|
273
369
|
|
|
274
370
|
| Page | Desktop | Tablet | Phone | Note |
|
|
275
371
|
|---|---|---|---|---|
|
|
276
|
-
| [Dialog](../components/dialog.md) | ready | ready |
|
|
372
|
+
| [Dialog](../components/dialog.md) | ready | ready | partial | Phone: use the bottom sheet (Preview); overlay-keyboard hosts need a native inset adapter. Android's back button does not close it. |
|
|
277
373
|
| [Popover](../components/popover.md) | ready | partial | planned | The default hover mode relies on emulated mouse events on touch; use mode 'click' or 'both'. |
|
|
278
374
|
| [Popconfirm](../components/popconfirm.md) | ready | ready | planned | Opens on tap; touch-sized popovers for phones are planned. |
|
|
279
375
|
| [Toast](../components/toast.md) | ready | ready | partial | Toasts are a fixed 380 px wide and overflow 360 px phone screens. |
|
|
@@ -285,13 +381,14 @@ are only being added, and testing on real devices remains the job of the app.
|
|
|
285
381
|
|---|---|---|---|---|
|
|
286
382
|
| [Drag & Drop](../components/drag-drop.md) | ready | partial | partial | The default engine 'native' uses HTML5 drag events, made for the mouse; on touch use engine 'pointer' or 'auto'. |
|
|
287
383
|
|
|
288
|
-
**Content (@cocoar/vue-markdown, -editor, -form, -mermaid, @cocoar/vue-script-editor)**
|
|
384
|
+
**Content (@cocoar/vue-markdown, -editor, -form, -mermaid, @cocoar/vue-script-editor, @cocoar/vue-object-editor)**
|
|
289
385
|
|
|
290
386
|
| Page | Desktop | Tablet | Phone | Note |
|
|
291
387
|
|---|---|---|---|---|
|
|
292
388
|
| [Markdown](../components/markdown.md) | ready | ready | partial | Wide tables get no horizontal scroll container and can overflow narrow screens. |
|
|
293
389
|
| [Markdown Editor](../components/markdown-editor.md) | ready | partial | partial | Typing and the toolbar work on touch; table row/column grips and the code-block edit button need hover. |
|
|
294
390
|
| [Markdown Form](../components/markdown-form.md) | ready | ready | partial | Works on phones; its select and date fields still open the desktop panels. |
|
|
391
|
+
| [Object Editor](../components/object-editor.md) | ready | partial | planned | Built for pointer and keyboard. On tablets the rows work but are dense; a phone layout is planned. |
|
|
295
392
|
| [Diagrams](../components/markdown-diagrams.md) | ready | partial | partial | With zoomable, touch zooms with the buttons but cannot pan a zoomed diagram. |
|
|
296
393
|
| [Mermaid Diagram](../components/mermaid.md) | ready | partial | partial | With zoomable, touch zooms with the buttons but cannot pan a zoomed diagram. |
|
|
297
394
|
| [Script Editor](../components/script-editor.md) | ready | partial | not supported | Monaco does not support mobile browsers; touch editing has gaps and phones are out of scope. |
|
|
@@ -321,16 +418,18 @@ are only being added, and testing on real devices remains the job of the app.
|
|
|
321
418
|
|
|
322
419
|
| Page | Desktop | Tablet | Phone | Note |
|
|
323
420
|
|---|---|---|---|---|
|
|
324
|
-
| [Map](../components/map/index.md) | ready | ready | partial |
|
|
421
|
+
| [Map](../components/map/index.md) | ready | ready | partial | Touch pan/zoom; compact mobile enlarges zoom and list controls. Dense pins and vertices retain small spatial targets. |
|
|
325
422
|
| [Map Editor](../components/map/editor.md) | ready | partial | partial | Map editing works on touch; the point list's drag reorder is mouse-only and nothing is phone-adapted. |
|
|
326
423
|
|
|
327
424
|
**Calendar (@cocoar/vue-calendar)**
|
|
328
425
|
|
|
329
426
|
| Page | Desktop | Tablet | Phone | Note |
|
|
330
427
|
|---|---|---|---|---|
|
|
331
|
-
| [Calendar](../components/calendar/index.md) | ready | partial | planned |
|
|
428
|
+
| [Calendar](../components/calendar/index.md) | ready | partial | planned | Touch taps, paging and long-press selection work; legacy resize targets are 6 px. Compact targets stay smaller on short/crowded events. |
|
|
332
429
|
| [`<CoarCalendar>` — Composer](../components/calendar/coar-calendar.md) | ready | partial | planned | Taps, swipe paging and long-press selection work on touch; event resize handles are only 6 px tall. |
|
|
333
430
|
| [`<CoarYearView>` — Year View](../components/calendar/year-view.md) | ready | ready | planned | Tap to drill in works on touch; a phone presentation of the calendar is planned. |
|
|
431
|
+
| [`<CoarCalendarBoard>` — Board](../components/calendar/board.md) | ready | ready | partial | The grid works on touch; on a phone seven columns are narrow, so a week usually reads better as rows of days. |
|
|
432
|
+
| [`<CoarMiniMonth>` — Mini Month](../components/calendar/mini-month.md) | ready | ready | ready | |
|
|
334
433
|
| [Month Views](../components/calendar/month-view.md) | ready | partial | planned | Taps work on touch; multi-day bar resize handles are only 6 px and a touch on a pill always drags it. |
|
|
335
434
|
| [`<CoarDayView>` — Day View](../components/calendar/day-view.md) | ready | partial | planned | Taps, swipe paging and long-press selection work on touch; event resize handles are only 6 px tall. |
|
|
336
435
|
| [`<CoarWeekView>` — Week View](../components/calendar/week-view.md) | ready | partial | planned | Taps, swipe paging and long-press selection work on touch; event resize handles are only 6 px tall. |
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
# Theming
|
|
4
4
|
|
|
5
|
+
The defaults below remain unchanged. The experimental [compact presentation](../foundations/compact-presentation.md)
|
|
6
|
+
adds an opt-in Slate palette and smaller typography; use its appearance inputs and documented scope boundaries.
|
|
7
|
+
|
|
5
8
|
Cocoar uses an **oklch-based** color system. You set a few base colors, and the entire palette — including all shades for light and dark mode — is auto-calculated.
|
|
6
9
|
|
|
7
10
|
## Quick Start
|
|
@@ -96,3 +99,25 @@ The oklch color system requires:
|
|
|
96
99
|
- Safari 18+
|
|
97
100
|
|
|
98
101
|
This covers all modern browsers. For older browsers, consider providing hex fallbacks for your specific brand color.
|
|
102
|
+
|
|
103
|
+
### Different presets inside one another (Preview)
|
|
104
|
+
|
|
105
|
+
The browser requirements above still apply to a single preset, ordinary light/dark
|
|
106
|
+
switching and applications without a preset. Different presets **nested inside one
|
|
107
|
+
another**, such as Enterprise around a Compact section, additionally use CSS
|
|
108
|
+
`@scope` to keep the inner preset's typography, geometry and package inputs independent.
|
|
109
|
+
|
|
110
|
+
- **Chrome / Edge 119+:** already covered by the baseline above.
|
|
111
|
+
- **Firefox 146+:** required for reliable isolation of different nested presets.
|
|
112
|
+
- **Safari 18+:** supports `@scope`. Safari 26.0–26.3 has a regression for scoped
|
|
113
|
+
rules applied directly to `<input>` and `<textarea>`; Safari 26.4 fixes it.
|
|
114
|
+
Apply preset and mode classes to `html` or a container, not directly to native fields.
|
|
115
|
+
|
|
116
|
+
Without `@scope`, the exported stylesheet keeps its unscoped fallback: a single
|
|
117
|
+
preset still works, but values from an outer preset can affect an inner, different
|
|
118
|
+
preset, particularly at light/dark, reset and mobile boundaries. On those browsers,
|
|
119
|
+
use one preset per ancestor chain rather than relying on nested isolation.
|
|
120
|
+
Separate pages or sibling areas with different presets do not have this conflict.
|
|
121
|
+
|
|
122
|
+
This restriction is about mixing presets, not about the usual light/dark switch.
|
|
123
|
+
For the markup and export contract, see [Theme Editor](../foundations/theming.md).
|
package/styles/tokens/all.css
CHANGED
|
@@ -43,3 +43,9 @@
|
|
|
43
43
|
|
|
44
44
|
/* 8. Optional mobile presentation (inherited from .coar-mobile) */
|
|
45
45
|
@import './mobile.css';
|
|
46
|
+
|
|
47
|
+
/* 9. Role derivation: inert until a theme activates it. */
|
|
48
|
+
@import './derived.css';
|
|
49
|
+
|
|
50
|
+
/* 10. `.coar-compact`: the Compact theme preset as a class (Preview). */
|
|
51
|
+
@import './compact.css';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* Layout */
|
|
15
15
|
--coar-code-block-bg: var(--coar-color-white);
|
|
16
16
|
--coar-code-block-header-bg: var(--coar-color-gray-50);
|
|
17
|
-
--coar-code-block-border: #e1e4e8;
|
|
17
|
+
--coar-code-block-border: var(--coar-d-code-block-border, #e1e4e8);
|
|
18
18
|
|
|
19
19
|
/* Text */
|
|
20
20
|
--coar-code-block-text: #24292e;
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
/* Layout */
|
|
48
48
|
--coar-code-block-bg: var(--coar-color-gray-100);
|
|
49
49
|
--coar-code-block-header-bg: var(--coar-color-gray-200);
|
|
50
|
-
--coar-code-block-border: var(--coar-color-gray-300);
|
|
50
|
+
--coar-code-block-border: var(--coar-d-code-block-border, var(--coar-color-gray-300));
|
|
51
51
|
|
|
52
52
|
/* Text */
|
|
53
53
|
--coar-code-block-text: #d4d4d4;
|
|
@@ -22,64 +22,64 @@
|
|
|
22
22
|
--coar-color-gray-900: #fafafa;
|
|
23
23
|
|
|
24
24
|
/* Info (slate) — inherits --coar-info from :root */
|
|
25
|
-
--coar-color-slate-50: oklch(from var(--coar-info) 0.18 0.012 h);
|
|
26
|
-
--coar-color-slate-100: oklch(from var(--coar-info) 0.23 0.018 h);
|
|
27
|
-
--coar-color-slate-200: oklch(from var(--coar-info) 0.30 0.022 h);
|
|
28
|
-
--coar-color-slate-300: oklch(from var(--coar-info) 0.40 0.025 h);
|
|
29
|
-
--coar-color-slate-400: oklch(from var(--coar-info) 0.50 0.03 h);
|
|
30
|
-
--coar-color-slate-500: var(--coar-info);
|
|
31
|
-
--coar-color-slate-600: oklch(from var(--coar-info) 0.70 0.025 h);
|
|
32
|
-
--coar-color-slate-700: oklch(from var(--coar-info) 0.78 0.018 h);
|
|
33
|
-
--coar-color-slate-800: oklch(from var(--coar-info) 0.86 0.012 h);
|
|
34
|
-
--coar-color-slate-900: oklch(from var(--coar-info) 0.93 0.006 h);
|
|
25
|
+
--coar-color-slate-50: var(--coar-d-color-slate-50, oklch(from var(--coar-info) 0.18 0.012 h));
|
|
26
|
+
--coar-color-slate-100: var(--coar-d-color-slate-100, oklch(from var(--coar-info) 0.23 0.018 h));
|
|
27
|
+
--coar-color-slate-200: var(--coar-d-color-slate-200, oklch(from var(--coar-info) 0.30 0.022 h));
|
|
28
|
+
--coar-color-slate-300: var(--coar-d-color-slate-300, oklch(from var(--coar-info) 0.40 0.025 h));
|
|
29
|
+
--coar-color-slate-400: var(--coar-d-color-slate-400, oklch(from var(--coar-info) 0.50 0.03 h));
|
|
30
|
+
--coar-color-slate-500: var(--coar-d-color-slate-500, var(--coar-info));
|
|
31
|
+
--coar-color-slate-600: var(--coar-d-color-slate-600, oklch(from var(--coar-info) 0.70 0.025 h));
|
|
32
|
+
--coar-color-slate-700: var(--coar-d-color-slate-700, oklch(from var(--coar-info) 0.78 0.018 h));
|
|
33
|
+
--coar-color-slate-800: var(--coar-d-color-slate-800, oklch(from var(--coar-info) 0.86 0.012 h));
|
|
34
|
+
--coar-color-slate-900: var(--coar-d-color-slate-900, oklch(from var(--coar-info) 0.93 0.006 h));
|
|
35
35
|
|
|
36
36
|
/* Accent Colors - auto-generated from --coar-accent via oklch
|
|
37
37
|
Designed for dark backgrounds: vibrant mid-range, rich dark tints.
|
|
38
38
|
Inherits --coar-accent from :root, no need to re-declare. */
|
|
39
|
-
--coar-color-accent-50: oklch(from var(--coar-accent) 0.20 0.045 h);
|
|
40
|
-
--coar-color-accent-100: oklch(from var(--coar-accent) 0.25 0.065 h);
|
|
41
|
-
--coar-color-accent-200: oklch(from var(--coar-accent) 0.32 0.095 h);
|
|
42
|
-
--coar-color-accent-300: oklch(from var(--coar-accent) 0.42 0.13 h);
|
|
43
|
-
--coar-color-accent-400: oklch(from var(--coar-accent) 0.52 0.155 h);
|
|
44
|
-
--coar-color-accent-500: var(--coar-accent);
|
|
45
|
-
--coar-color-accent-600: oklch(from var(--coar-accent) 0.68 0.14 h);
|
|
46
|
-
--coar-color-accent-700: oklch(from var(--coar-accent) 0.76 0.11 h);
|
|
47
|
-
--coar-color-accent-800: oklch(from var(--coar-accent) 0.85 0.07 h);
|
|
48
|
-
--coar-color-accent-900: oklch(from var(--coar-accent) 0.93 0.035 h);
|
|
39
|
+
--coar-color-accent-50: var(--coar-d-color-accent-50, oklch(from var(--coar-accent) 0.20 0.045 h));
|
|
40
|
+
--coar-color-accent-100: var(--coar-d-color-accent-100, oklch(from var(--coar-accent) 0.25 0.065 h));
|
|
41
|
+
--coar-color-accent-200: var(--coar-d-color-accent-200, oklch(from var(--coar-accent) 0.32 0.095 h));
|
|
42
|
+
--coar-color-accent-300: var(--coar-d-color-accent-300, oklch(from var(--coar-accent) 0.42 0.13 h));
|
|
43
|
+
--coar-color-accent-400: var(--coar-d-color-accent-400, oklch(from var(--coar-accent) 0.52 0.155 h));
|
|
44
|
+
--coar-color-accent-500: var(--coar-d-color-accent-500, var(--coar-accent));
|
|
45
|
+
--coar-color-accent-600: var(--coar-d-color-accent-600, oklch(from var(--coar-accent) 0.68 0.14 h));
|
|
46
|
+
--coar-color-accent-700: var(--coar-d-color-accent-700, oklch(from var(--coar-accent) 0.76 0.11 h));
|
|
47
|
+
--coar-color-accent-800: var(--coar-d-color-accent-800, oklch(from var(--coar-accent) 0.85 0.07 h));
|
|
48
|
+
--coar-color-accent-900: var(--coar-d-color-accent-900, oklch(from var(--coar-accent) 0.93 0.035 h));
|
|
49
49
|
|
|
50
50
|
/* Success (green) — inherits --coar-success from :root */
|
|
51
|
-
--coar-color-green-50: oklch(from var(--coar-success) 0.20 0.035 h);
|
|
52
|
-
--coar-color-green-100: oklch(from var(--coar-success) 0.25 0.055 h);
|
|
53
|
-
--coar-color-green-200: oklch(from var(--coar-success) 0.32 0.08 h);
|
|
54
|
-
--coar-color-green-300: oklch(from var(--coar-success) 0.42 0.11 h);
|
|
55
|
-
--coar-color-green-400: oklch(from var(--coar-success) 0.52 0.13 h);
|
|
56
|
-
--coar-color-green-500: var(--coar-success);
|
|
57
|
-
--coar-color-green-600: oklch(from var(--coar-success) 0.68 0.12 h);
|
|
58
|
-
--coar-color-green-700: oklch(from var(--coar-success) 0.76 0.09 h);
|
|
59
|
-
--coar-color-green-800: oklch(from var(--coar-success) 0.85 0.06 h);
|
|
60
|
-
--coar-color-green-900: oklch(from var(--coar-success) 0.93 0.03 h);
|
|
51
|
+
--coar-color-green-50: var(--coar-d-color-green-50, oklch(from var(--coar-success) 0.20 0.035 h));
|
|
52
|
+
--coar-color-green-100: var(--coar-d-color-green-100, oklch(from var(--coar-success) 0.25 0.055 h));
|
|
53
|
+
--coar-color-green-200: var(--coar-d-color-green-200, oklch(from var(--coar-success) 0.32 0.08 h));
|
|
54
|
+
--coar-color-green-300: var(--coar-d-color-green-300, oklch(from var(--coar-success) 0.42 0.11 h));
|
|
55
|
+
--coar-color-green-400: var(--coar-d-color-green-400, oklch(from var(--coar-success) 0.52 0.13 h));
|
|
56
|
+
--coar-color-green-500: var(--coar-d-color-green-500, var(--coar-success));
|
|
57
|
+
--coar-color-green-600: var(--coar-d-color-green-600, oklch(from var(--coar-success) 0.68 0.12 h));
|
|
58
|
+
--coar-color-green-700: var(--coar-d-color-green-700, oklch(from var(--coar-success) 0.76 0.09 h));
|
|
59
|
+
--coar-color-green-800: var(--coar-d-color-green-800, oklch(from var(--coar-success) 0.85 0.06 h));
|
|
60
|
+
--coar-color-green-900: var(--coar-d-color-green-900, oklch(from var(--coar-success) 0.93 0.03 h));
|
|
61
61
|
|
|
62
62
|
/* Error (red) — inherits --coar-error from :root */
|
|
63
|
-
--coar-color-red-50: oklch(from var(--coar-error) 0.20 0.04 h);
|
|
64
|
-
--coar-color-red-100: oklch(from var(--coar-error) 0.25 0.06 h);
|
|
65
|
-
--coar-color-red-200: oklch(from var(--coar-error) 0.32 0.09 h);
|
|
66
|
-
--coar-color-red-300: oklch(from var(--coar-error) 0.42 0.12 h);
|
|
67
|
-
--coar-color-red-400: oklch(from var(--coar-error) 0.52 0.145 h);
|
|
68
|
-
--coar-color-red-500: var(--coar-error);
|
|
69
|
-
--coar-color-red-600: oklch(from var(--coar-error) 0.68 0.12 h);
|
|
70
|
-
--coar-color-red-700: oklch(from var(--coar-error) 0.76 0.09 h);
|
|
71
|
-
--coar-color-red-800: oklch(from var(--coar-error) 0.85 0.06 h);
|
|
72
|
-
--coar-color-red-900: oklch(from var(--coar-error) 0.93 0.03 h);
|
|
63
|
+
--coar-color-red-50: var(--coar-d-color-red-50, oklch(from var(--coar-error) 0.20 0.04 h));
|
|
64
|
+
--coar-color-red-100: var(--coar-d-color-red-100, oklch(from var(--coar-error) 0.25 0.06 h));
|
|
65
|
+
--coar-color-red-200: var(--coar-d-color-red-200, oklch(from var(--coar-error) 0.32 0.09 h));
|
|
66
|
+
--coar-color-red-300: var(--coar-d-color-red-300, oklch(from var(--coar-error) 0.42 0.12 h));
|
|
67
|
+
--coar-color-red-400: var(--coar-d-color-red-400, oklch(from var(--coar-error) 0.52 0.145 h));
|
|
68
|
+
--coar-color-red-500: var(--coar-d-color-red-500, var(--coar-error));
|
|
69
|
+
--coar-color-red-600: var(--coar-d-color-red-600, oklch(from var(--coar-error) 0.68 0.12 h));
|
|
70
|
+
--coar-color-red-700: var(--coar-d-color-red-700, oklch(from var(--coar-error) 0.76 0.09 h));
|
|
71
|
+
--coar-color-red-800: var(--coar-d-color-red-800, oklch(from var(--coar-error) 0.85 0.06 h));
|
|
72
|
+
--coar-color-red-900: var(--coar-d-color-red-900, oklch(from var(--coar-error) 0.93 0.03 h));
|
|
73
73
|
|
|
74
74
|
/* Warning (amber) — inherits --coar-warning from :root */
|
|
75
|
-
--coar-color-amber-50: oklch(from var(--coar-warning) 0.22 0.04 h);
|
|
76
|
-
--coar-color-amber-100: oklch(from var(--coar-warning) 0.27 0.06 h);
|
|
77
|
-
--coar-color-amber-200: oklch(from var(--coar-warning) 0.34 0.09 h);
|
|
78
|
-
--coar-color-amber-300: oklch(from var(--coar-warning) 0.44 0.12 h);
|
|
79
|
-
--coar-color-amber-400: oklch(from var(--coar-warning) 0.54 0.14 h);
|
|
80
|
-
--coar-color-amber-500: var(--coar-warning);
|
|
81
|
-
--coar-color-amber-600: oklch(from var(--coar-warning) 0.70 0.12 h);
|
|
82
|
-
--coar-color-amber-700: oklch(from var(--coar-warning) 0.78 0.09 h);
|
|
83
|
-
--coar-color-amber-800: oklch(from var(--coar-warning) 0.86 0.06 h);
|
|
84
|
-
--coar-color-amber-900: oklch(from var(--coar-warning) 0.93 0.03 h);
|
|
75
|
+
--coar-color-amber-50: var(--coar-d-color-amber-50, oklch(from var(--coar-warning) 0.22 0.04 h));
|
|
76
|
+
--coar-color-amber-100: var(--coar-d-color-amber-100, oklch(from var(--coar-warning) 0.27 0.06 h));
|
|
77
|
+
--coar-color-amber-200: var(--coar-d-color-amber-200, oklch(from var(--coar-warning) 0.34 0.09 h));
|
|
78
|
+
--coar-color-amber-300: var(--coar-d-color-amber-300, oklch(from var(--coar-warning) 0.44 0.12 h));
|
|
79
|
+
--coar-color-amber-400: var(--coar-d-color-amber-400, oklch(from var(--coar-warning) 0.54 0.14 h));
|
|
80
|
+
--coar-color-amber-500: var(--coar-d-color-amber-500, var(--coar-warning));
|
|
81
|
+
--coar-color-amber-600: var(--coar-d-color-amber-600, oklch(from var(--coar-warning) 0.70 0.12 h));
|
|
82
|
+
--coar-color-amber-700: var(--coar-d-color-amber-700, oklch(from var(--coar-warning) 0.78 0.09 h));
|
|
83
|
+
--coar-color-amber-800: var(--coar-d-color-amber-800, oklch(from var(--coar-warning) 0.86 0.06 h));
|
|
84
|
+
--coar-color-amber-900: var(--coar-d-color-amber-900, oklch(from var(--coar-warning) 0.93 0.03 h));
|
|
85
85
|
}
|
|
@@ -24,52 +24,52 @@
|
|
|
24
24
|
--coar-info: #5e6b84;
|
|
25
25
|
|
|
26
26
|
/* Success (green) — auto-generated from --coar-success */
|
|
27
|
-
--coar-color-green-50: oklch(from var(--coar-success) 0.97 0.012 h);
|
|
28
|
-
--coar-color-green-100: oklch(from var(--coar-success) 0.92 0.035 h);
|
|
29
|
-
--coar-color-green-200: oklch(from var(--coar-success) 0.84 0.065 h);
|
|
30
|
-
--coar-color-green-300: oklch(from var(--coar-success) 0.74 0.10 h);
|
|
31
|
-
--coar-color-green-400: oklch(from var(--coar-success) 0.66 0.13 h);
|
|
32
|
-
--coar-color-green-500: var(--coar-success);
|
|
33
|
-
--coar-color-green-600: oklch(from var(--coar-success) 0.47 0.12 h);
|
|
34
|
-
--coar-color-green-700: oklch(from var(--coar-success) 0.40 0.10 h);
|
|
35
|
-
--coar-color-green-800: oklch(from var(--coar-success) 0.33 0.08 h);
|
|
36
|
-
--coar-color-green-900: oklch(from var(--coar-success) 0.26 0.06 h);
|
|
27
|
+
--coar-color-green-50: var(--coar-d-color-green-50, oklch(from var(--coar-success) 0.97 0.012 h));
|
|
28
|
+
--coar-color-green-100: var(--coar-d-color-green-100, oklch(from var(--coar-success) 0.92 0.035 h));
|
|
29
|
+
--coar-color-green-200: var(--coar-d-color-green-200, oklch(from var(--coar-success) 0.84 0.065 h));
|
|
30
|
+
--coar-color-green-300: var(--coar-d-color-green-300, oklch(from var(--coar-success) 0.74 0.10 h));
|
|
31
|
+
--coar-color-green-400: var(--coar-d-color-green-400, oklch(from var(--coar-success) 0.66 0.13 h));
|
|
32
|
+
--coar-color-green-500: var(--coar-d-color-green-500, var(--coar-success));
|
|
33
|
+
--coar-color-green-600: var(--coar-d-color-green-600, oklch(from var(--coar-success) 0.47 0.12 h));
|
|
34
|
+
--coar-color-green-700: var(--coar-d-color-green-700, oklch(from var(--coar-success) 0.40 0.10 h));
|
|
35
|
+
--coar-color-green-800: var(--coar-d-color-green-800, oklch(from var(--coar-success) 0.33 0.08 h));
|
|
36
|
+
--coar-color-green-900: var(--coar-d-color-green-900, oklch(from var(--coar-success) 0.26 0.06 h));
|
|
37
37
|
|
|
38
38
|
/* Error (red) — auto-generated from --coar-error */
|
|
39
|
-
--coar-color-red-50: oklch(from var(--coar-error) 0.97 0.012 h);
|
|
40
|
-
--coar-color-red-100: oklch(from var(--coar-error) 0.92 0.035 h);
|
|
41
|
-
--coar-color-red-200: oklch(from var(--coar-error) 0.84 0.07 h);
|
|
42
|
-
--coar-color-red-300: oklch(from var(--coar-error) 0.74 0.11 h);
|
|
43
|
-
--coar-color-red-400: oklch(from var(--coar-error) 0.66 0.145 h);
|
|
44
|
-
--coar-color-red-500: var(--coar-error);
|
|
45
|
-
--coar-color-red-600: oklch(from var(--coar-error) 0.47 0.13 h);
|
|
46
|
-
--coar-color-red-700: oklch(from var(--coar-error) 0.40 0.11 h);
|
|
47
|
-
--coar-color-red-800: oklch(from var(--coar-error) 0.33 0.09 h);
|
|
48
|
-
--coar-color-red-900: oklch(from var(--coar-error) 0.26 0.07 h);
|
|
39
|
+
--coar-color-red-50: var(--coar-d-color-red-50, oklch(from var(--coar-error) 0.97 0.012 h));
|
|
40
|
+
--coar-color-red-100: var(--coar-d-color-red-100, oklch(from var(--coar-error) 0.92 0.035 h));
|
|
41
|
+
--coar-color-red-200: var(--coar-d-color-red-200, oklch(from var(--coar-error) 0.84 0.07 h));
|
|
42
|
+
--coar-color-red-300: var(--coar-d-color-red-300, oklch(from var(--coar-error) 0.74 0.11 h));
|
|
43
|
+
--coar-color-red-400: var(--coar-d-color-red-400, oklch(from var(--coar-error) 0.66 0.145 h));
|
|
44
|
+
--coar-color-red-500: var(--coar-d-color-red-500, var(--coar-error));
|
|
45
|
+
--coar-color-red-600: var(--coar-d-color-red-600, oklch(from var(--coar-error) 0.47 0.13 h));
|
|
46
|
+
--coar-color-red-700: var(--coar-d-color-red-700, oklch(from var(--coar-error) 0.40 0.11 h));
|
|
47
|
+
--coar-color-red-800: var(--coar-d-color-red-800, oklch(from var(--coar-error) 0.33 0.09 h));
|
|
48
|
+
--coar-color-red-900: var(--coar-d-color-red-900, oklch(from var(--coar-error) 0.26 0.07 h));
|
|
49
49
|
|
|
50
50
|
/* Warning (amber) — auto-generated from --coar-warning */
|
|
51
|
-
--coar-color-amber-50: oklch(from var(--coar-warning) 0.97 0.015 h);
|
|
52
|
-
--coar-color-amber-100: oklch(from var(--coar-warning) 0.92 0.04 h);
|
|
53
|
-
--coar-color-amber-200: oklch(from var(--coar-warning) 0.86 0.08 h);
|
|
54
|
-
--coar-color-amber-300: oklch(from var(--coar-warning) 0.78 0.12 h);
|
|
55
|
-
--coar-color-amber-400: oklch(from var(--coar-warning) 0.72 0.14 h);
|
|
56
|
-
--coar-color-amber-500: var(--coar-warning);
|
|
57
|
-
--coar-color-amber-600: oklch(from var(--coar-warning) 0.50 0.12 h);
|
|
58
|
-
--coar-color-amber-700: oklch(from var(--coar-warning) 0.43 0.10 h);
|
|
59
|
-
--coar-color-amber-800: oklch(from var(--coar-warning) 0.36 0.08 h);
|
|
60
|
-
--coar-color-amber-900: oklch(from var(--coar-warning) 0.29 0.06 h);
|
|
51
|
+
--coar-color-amber-50: var(--coar-d-color-amber-50, oklch(from var(--coar-warning) 0.97 0.015 h));
|
|
52
|
+
--coar-color-amber-100: var(--coar-d-color-amber-100, oklch(from var(--coar-warning) 0.92 0.04 h));
|
|
53
|
+
--coar-color-amber-200: var(--coar-d-color-amber-200, oklch(from var(--coar-warning) 0.86 0.08 h));
|
|
54
|
+
--coar-color-amber-300: var(--coar-d-color-amber-300, oklch(from var(--coar-warning) 0.78 0.12 h));
|
|
55
|
+
--coar-color-amber-400: var(--coar-d-color-amber-400, oklch(from var(--coar-warning) 0.72 0.14 h));
|
|
56
|
+
--coar-color-amber-500: var(--coar-d-color-amber-500, var(--coar-warning));
|
|
57
|
+
--coar-color-amber-600: var(--coar-d-color-amber-600, oklch(from var(--coar-warning) 0.50 0.12 h));
|
|
58
|
+
--coar-color-amber-700: var(--coar-d-color-amber-700, oklch(from var(--coar-warning) 0.43 0.10 h));
|
|
59
|
+
--coar-color-amber-800: var(--coar-d-color-amber-800, oklch(from var(--coar-warning) 0.36 0.08 h));
|
|
60
|
+
--coar-color-amber-900: var(--coar-d-color-amber-900, oklch(from var(--coar-warning) 0.29 0.06 h));
|
|
61
61
|
|
|
62
62
|
/* Info (slate) — auto-generated from --coar-info */
|
|
63
|
-
--coar-color-slate-50: oklch(from var(--coar-info) 0.97 0.006 h);
|
|
64
|
-
--coar-color-slate-100: oklch(from var(--coar-info) 0.92 0.012 h);
|
|
65
|
-
--coar-color-slate-200: oklch(from var(--coar-info) 0.84 0.02 h);
|
|
66
|
-
--coar-color-slate-300: oklch(from var(--coar-info) 0.74 0.03 h);
|
|
67
|
-
--coar-color-slate-400: oklch(from var(--coar-info) 0.66 0.035 h);
|
|
68
|
-
--coar-color-slate-500: var(--coar-info);
|
|
69
|
-
--coar-color-slate-600: oklch(from var(--coar-info) 0.47 0.03 h);
|
|
70
|
-
--coar-color-slate-700: oklch(from var(--coar-info) 0.40 0.025 h);
|
|
71
|
-
--coar-color-slate-800: oklch(from var(--coar-info) 0.35 0.02 h);
|
|
72
|
-
--coar-color-slate-900: oklch(from var(--coar-info) 0.30 0.02 h);
|
|
63
|
+
--coar-color-slate-50: var(--coar-d-color-slate-50, oklch(from var(--coar-info) 0.97 0.006 h));
|
|
64
|
+
--coar-color-slate-100: var(--coar-d-color-slate-100, oklch(from var(--coar-info) 0.92 0.012 h));
|
|
65
|
+
--coar-color-slate-200: var(--coar-d-color-slate-200, oklch(from var(--coar-info) 0.84 0.02 h));
|
|
66
|
+
--coar-color-slate-300: var(--coar-d-color-slate-300, oklch(from var(--coar-info) 0.74 0.03 h));
|
|
67
|
+
--coar-color-slate-400: var(--coar-d-color-slate-400, oklch(from var(--coar-info) 0.66 0.035 h));
|
|
68
|
+
--coar-color-slate-500: var(--coar-d-color-slate-500, var(--coar-info));
|
|
69
|
+
--coar-color-slate-600: var(--coar-d-color-slate-600, oklch(from var(--coar-info) 0.47 0.03 h));
|
|
70
|
+
--coar-color-slate-700: var(--coar-d-color-slate-700, oklch(from var(--coar-info) 0.40 0.025 h));
|
|
71
|
+
--coar-color-slate-800: var(--coar-d-color-slate-800, oklch(from var(--coar-info) 0.35 0.02 h));
|
|
72
|
+
--coar-color-slate-900: var(--coar-d-color-slate-900, oklch(from var(--coar-info) 0.30 0.02 h));
|
|
73
73
|
--coar-color-white: #ffffff;
|
|
74
74
|
|
|
75
75
|
/* THEMING: Set your brand color here. All accent shades auto-calculate from it.
|
|
@@ -78,14 +78,14 @@
|
|
|
78
78
|
|
|
79
79
|
/* Accent Colors - auto-generated from --coar-accent via oklch
|
|
80
80
|
Extracts hue (h) from your brand color, applies designed lightness/chroma curves. */
|
|
81
|
-
--coar-color-accent-50: oklch(from var(--coar-accent) 0.97 0.012 h);
|
|
82
|
-
--coar-color-accent-100: oklch(from var(--coar-accent) 0.92 0.035 h);
|
|
83
|
-
--coar-color-accent-200: oklch(from var(--coar-accent) 0.84 0.075 h);
|
|
84
|
-
--coar-color-accent-300: oklch(from var(--coar-accent) 0.74 0.115 h);
|
|
85
|
-
--coar-color-accent-400: oklch(from var(--coar-accent) 0.66 0.145 h);
|
|
86
|
-
--coar-color-accent-500: var(--coar-accent);
|
|
87
|
-
--coar-color-accent-600: oklch(from var(--coar-accent) 0.53 0.15 h);
|
|
88
|
-
--coar-color-accent-700: oklch(from var(--coar-accent) 0.47 0.14 h);
|
|
89
|
-
--coar-color-accent-800: oklch(from var(--coar-accent) 0.39 0.12 h);
|
|
90
|
-
--coar-color-accent-900: oklch(from var(--coar-accent) 0.31 0.095 h);
|
|
81
|
+
--coar-color-accent-50: var(--coar-d-color-accent-50, oklch(from var(--coar-accent) 0.97 0.012 h));
|
|
82
|
+
--coar-color-accent-100: var(--coar-d-color-accent-100, oklch(from var(--coar-accent) 0.92 0.035 h));
|
|
83
|
+
--coar-color-accent-200: var(--coar-d-color-accent-200, oklch(from var(--coar-accent) 0.84 0.075 h));
|
|
84
|
+
--coar-color-accent-300: var(--coar-d-color-accent-300, oklch(from var(--coar-accent) 0.74 0.115 h));
|
|
85
|
+
--coar-color-accent-400: var(--coar-d-color-accent-400, oklch(from var(--coar-accent) 0.66 0.145 h));
|
|
86
|
+
--coar-color-accent-500: var(--coar-d-color-accent-500, var(--coar-accent));
|
|
87
|
+
--coar-color-accent-600: var(--coar-d-color-accent-600, oklch(from var(--coar-accent) 0.53 0.15 h));
|
|
88
|
+
--coar-color-accent-700: var(--coar-d-color-accent-700, oklch(from var(--coar-accent) 0.47 0.14 h));
|
|
89
|
+
--coar-color-accent-800: var(--coar-d-color-accent-800, oklch(from var(--coar-accent) 0.39 0.12 h));
|
|
90
|
+
--coar-color-accent-900: var(--coar-d-color-accent-900, oklch(from var(--coar-accent) 0.31 0.095 h));
|
|
91
91
|
}
|