@teseor/css 1.7.0 → 1.9.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/dist/compiled.css +1 -1
- package/dist/index.css +134 -135
- package/package.json +2 -2
- package/src/{02-base → base}/root/root.scss +1 -1
- package/src/base/typography/typography.docs.json +328 -0
- package/src/{02-base → base}/typography/typography.scss +2 -2
- package/src/components/actions/button/button-visual.png +0 -0
- package/src/{04-components → components}/actions/button/button.api.json +30 -33
- package/src/{04-components → components}/actions/button/button.docs.json +63 -11
- package/src/{04-components → components}/actions/button/index.scss +54 -23
- package/src/{04-components → components}/actions/button-group/button-group.api.json +3 -1
- package/src/components/actions/button-group/button-group.docs.json +151 -0
- package/src/{04-components → components}/actions/button-group/index.scss +5 -1
- package/src/components/actions/close-button/close-button.api.json +84 -0
- package/src/{04-components → components}/actions/close-button/close-button.docs.json +4 -3
- package/src/{04-components → components}/actions/close-button/index.scss +27 -7
- package/src/{04-components/layout → components/content}/divider/divider.api.json +12 -7
- package/src/components/content/divider/divider.docs.json +113 -0
- package/src/{04-components/layout → components/content}/divider/index.scss +12 -5
- package/src/{04-components/layout → components/content}/scroll-area/index.scss +16 -2
- package/src/components/content/scroll-area/scroll-area-visual.png +0 -0
- package/src/components/content/scroll-area/scroll-area.api.json +74 -0
- package/src/{04-components/layout → components/content}/scroll-area/scroll-area.docs.json +71 -2
- package/src/components/content/spacer/index.scss +16 -0
- package/src/components/content/spacer/spacer.api.json +13 -0
- package/src/{04-components/layout → components/content}/spacer/spacer.docs.json +2 -2
- package/src/components/data-display/avatar/avatar.api.json +94 -0
- package/src/{04-components → components}/data-display/avatar/avatar.docs.json +55 -10
- package/src/{04-components → components}/data-display/avatar/index.scss +21 -3
- package/src/components/data-display/badge/badge-visual.png +0 -0
- package/src/components/data-display/badge/badge.api.json +80 -0
- package/src/{04-components → components}/data-display/badge/badge.docs.json +32 -7
- package/src/{04-components → components}/data-display/badge/index.scss +26 -7
- package/src/components/data-display/card/card-visual.png +0 -0
- package/src/components/data-display/card/card.api.json +66 -0
- package/src/{04-components → components}/data-display/card/card.docs.json +26 -2
- package/src/components/data-display/card/index.scss +76 -0
- package/src/{04-components → components}/data-display/data-list/data-list.api.json +9 -4
- package/src/components/data-display/data-list/data-list.docs.json +259 -0
- package/src/{04-components → components}/data-display/data-list/index.scss +29 -12
- package/src/components/data-display/icon/icon-visual.png +0 -0
- package/src/{04-components → components}/data-display/icon/icon.api.json +11 -22
- package/src/{04-components → components}/data-display/icon/icon.docs.json +105 -17
- package/src/{04-components → components}/data-display/icon/index.scss +16 -5
- package/src/components/data-display/image/image.api.json +90 -0
- package/src/{04-components → components}/data-display/image/image.docs.json +9 -9
- package/src/{04-components → components}/data-display/image/index.scss +16 -2
- package/src/{04-components → components}/data-display/stat/index.scss +14 -2
- package/src/components/data-display/stat/stat.api.json +56 -0
- package/src/{04-components → components}/data-display/stat/stat.docs.json +1 -1
- package/src/{04-components → components}/data-display/status/index.scss +15 -1
- package/src/{04-components → components}/data-display/status/status.api.json +10 -6
- package/src/components/data-display/status/status.docs.json +147 -0
- package/src/{04-components → components}/data-display/table/index.scss +21 -7
- package/src/components/data-display/table/table.api.json +40 -0
- package/src/components/data-display/table/table.docs.json +184 -0
- package/src/{04-components → components}/data-display/tag/index.scss +35 -4
- package/src/components/data-display/tag/tag-visual.png +0 -0
- package/src/components/data-display/tag/tag.api.json +128 -0
- package/src/{04-components → components}/data-display/tag/tag.docs.json +48 -10
- package/src/components/disclosure/accordion/accordion.api.json +27 -0
- package/src/components/disclosure/accordion/accordion.docs.json +206 -0
- package/src/{04-components → components}/disclosure/accordion/index.scss +9 -3
- package/src/components/disclosure/disclosure/disclosure-visual.png +0 -0
- package/src/{04-components → components}/disclosure/disclosure/disclosure.api.json +15 -8
- package/src/components/disclosure/disclosure/disclosure.docs.json +154 -0
- package/src/{04-components → components}/disclosure/disclosure/index.scss +32 -7
- package/src/{04-components → components}/feedback/alert/alert-visual.png +0 -0
- package/src/components/feedback/alert/alert.api.json +95 -0
- package/src/components/feedback/alert/alert.docs.json +325 -0
- package/src/{04-components → components}/feedback/alert/index.scss +49 -8
- package/src/{04-components → components}/feedback/progress/index.scss +27 -4
- package/src/components/feedback/progress/progress-visual.png +0 -0
- package/src/{04-components → components}/feedback/progress/progress.api.json +13 -8
- package/src/components/feedback/progress/progress.docs.json +257 -0
- package/src/{04-components → components}/feedback/progress-circle/index.scss +26 -7
- package/src/{04-components → components}/feedback/progress-circle/progress-circle.api.json +17 -8
- package/src/{04-components → components}/feedback/progress-circle/progress-circle.docs.json +5 -4
- package/src/{04-components → components}/feedback/skeleton/index.scss +20 -3
- package/src/components/feedback/skeleton/skeleton.api.json +30 -0
- package/src/components/feedback/skeleton/skeleton.docs.json +126 -0
- package/src/{04-components → components}/feedback/spinner/index.scss +26 -7
- package/src/components/feedback/spinner/spinner.api.json +77 -0
- package/src/{04-components → components}/feedback/spinner/spinner.docs.json +42 -9
- package/src/{04-components → components}/feedback/toast/index.scss +47 -17
- package/src/components/feedback/toast/toast.api.json +90 -0
- package/src/components/feedback/toast/toast.docs.json +281 -0
- package/src/components/forms/checkbox/checkbox.api.json +65 -0
- package/src/{04-components → components}/forms/checkbox/checkbox.docs.json +30 -10
- package/src/{04-components → components}/forms/checkbox/index.scss +35 -10
- package/src/components/forms/checkbox-group/checkbox-group.api.json +73 -0
- package/src/{04-components → components}/forms/checkbox-group/checkbox-group.docs.json +1 -0
- package/src/{04-components → components}/forms/checkbox-group/index.scss +23 -6
- package/src/components/forms/field/field.api.json +21 -0
- package/src/components/forms/field/field.docs.json +190 -0
- package/src/{04-components → components}/forms/field/index.scss +5 -1
- package/src/components/forms/fieldset/fieldset.api.json +68 -0
- package/src/{04-components → components}/forms/fieldset/index.scss +22 -5
- package/src/components/forms/form/form.api.json +42 -0
- package/src/{04-components → components}/forms/form/index.scss +11 -1
- package/src/components/forms/form-error/form-error.api.json +26 -0
- package/src/{04-components → components}/forms/form-error/form-error.docs.json +23 -2
- package/src/{04-components → components}/forms/form-error/index.scss +8 -2
- package/src/components/forms/form-helper/form-helper.api.json +23 -0
- package/src/{04-components → components}/forms/form-helper/form-helper.docs.json +3 -1
- package/src/{04-components → components}/forms/form-helper/index.scss +8 -2
- package/src/{04-components → components}/forms/input/index.scss +49 -16
- package/src/{04-components → components}/forms/input/input-visual.png +0 -0
- package/src/components/forms/input/input.api.json +114 -0
- package/src/{04-components → components}/forms/input/input.docs.json +128 -11
- package/src/{04-components → components}/forms/label/index.scss +15 -6
- package/src/components/forms/label/label-visual.png +0 -0
- package/src/components/forms/label/label.api.json +36 -0
- package/src/{04-components → components}/forms/label/label.docs.json +43 -6
- package/src/{04-components → components}/forms/number-input/index.scss +41 -16
- package/src/components/forms/number-input/number-input-visual.png +0 -0
- package/src/components/forms/number-input/number-input.api.json +103 -0
- package/src/{04-components → components}/forms/number-input/number-input.docs.json +50 -1
- package/src/{04-components → components}/forms/password-input/index.scss +45 -14
- package/src/components/forms/password-input/password-input-visual.png +0 -0
- package/src/components/forms/password-input/password-input.api.json +115 -0
- package/src/{04-components → components}/forms/password-input/password-input.docs.json +42 -2
- package/src/{04-components → components}/forms/radio/index.scss +35 -11
- package/src/components/forms/radio/radio.api.json +60 -0
- package/src/{04-components → components}/forms/radio/radio.docs.json +94 -12
- package/src/{04-components → components}/forms/radio-group/index.scss +23 -6
- package/src/components/forms/radio-group/radio-group.api.json +73 -0
- package/src/{04-components → components}/forms/radio-group/radio-group.docs.json +1 -0
- package/src/{04-components → components}/forms/search-input/index.scss +43 -12
- package/src/components/forms/search-input/search-input-visual.png +0 -0
- package/src/components/forms/search-input/search-input.api.json +126 -0
- package/src/{04-components → components}/forms/search-input/search-input.docs.json +37 -1
- package/src/{04-components → components}/forms/select/index.scss +46 -15
- package/src/components/forms/select/select-visual.png +0 -0
- package/src/components/forms/select/select.api.json +106 -0
- package/src/{04-components → components}/forms/select/select.docs.json +87 -18
- package/src/{04-components → components}/forms/slider/index.scss +29 -11
- package/src/components/forms/slider/slider.api.json +85 -0
- package/src/{04-components → components}/forms/slider/slider.docs.json +3 -3
- package/src/{04-components → components}/forms/textarea/index.scss +45 -14
- package/src/components/forms/textarea/textarea.api.json +116 -0
- package/src/{04-components → components}/forms/textarea/textarea.docs.json +15 -9
- package/src/{04-components → components}/forms/toggle/index.scss +20 -8
- package/src/components/forms/toggle/toggle-visual.png +0 -0
- package/src/components/forms/toggle/toggle.api.json +57 -0
- package/src/components/forms/toggle/toggle.docs.json +229 -0
- package/src/{04-components → components}/index.scss +3 -3
- package/src/components/navigation/breadcrumb/breadcrumb.api.json +50 -0
- package/src/components/navigation/breadcrumb/breadcrumb.docs.json +170 -0
- package/src/{04-components → components}/navigation/breadcrumb/index.scss +18 -5
- package/src/components/navigation/dropdown-menu/dropdown-menu-visual.png +0 -0
- package/src/{04-components → components}/navigation/dropdown-menu/dropdown-menu.api.json +7 -3
- package/src/{04-components → components}/navigation/dropdown-menu/dropdown-menu.docs.json +18 -0
- package/src/{04-components → components}/navigation/dropdown-menu/index.scss +16 -6
- package/src/{04-components → components}/navigation/menu/index.scss +43 -19
- package/src/{04-components → components}/navigation/menu/menu.api.json +24 -13
- package/src/components/navigation/menu/menu.docs.json +326 -0
- package/src/{04-components → components}/navigation/nav/index.scss +31 -12
- package/src/components/navigation/nav/nav.api.json +79 -0
- package/src/{04-components → components}/navigation/pagination/index.scss +22 -6
- package/src/{04-components → components}/navigation/pagination/pagination.api.json +21 -12
- package/src/components/navigation/pagination/pagination.docs.json +483 -0
- package/src/components/navigation/tabs/index.scss +149 -0
- package/src/components/navigation/tabs/tabs-visual.png +0 -0
- package/src/components/navigation/tabs/tabs.api.json +90 -0
- package/src/components/navigation/tabs/tabs.docs.json +243 -0
- package/src/components/overlays/dialog/dialog.api.json +39 -0
- package/src/components/overlays/dialog/dialog.docs.json +200 -0
- package/src/{04-components → components}/overlays/dialog/index.scss +13 -4
- package/src/components/overlays/drawer/drawer-visual.png +0 -0
- package/src/components/overlays/drawer/drawer.api.json +68 -0
- package/src/components/overlays/drawer/drawer.docs.json +282 -0
- package/src/{04-components → components}/overlays/drawer/index.scss +60 -28
- package/src/{04-components → components}/overlays/modal/index.scss +20 -5
- package/src/components/overlays/modal/modal.api.json +64 -0
- package/src/components/overlays/modal/modal.docs.json +163 -0
- package/src/components/overlays/overlay/index.scss +61 -0
- package/src/{04-components → components}/overlays/overlay/overlay.api.json +11 -6
- package/src/components/overlays/overlay/overlay.docs.json +138 -0
- package/src/{04-components → components}/overlays/popover/index.scss +27 -10
- package/src/components/overlays/popover/popover.api.json +56 -0
- package/src/{04-components → components}/overlays/popover/popover.docs.json +47 -6
- package/src/{04-components → components}/overlays/tooltip/index.scss +22 -7
- package/src/components/overlays/tooltip/tooltip.api.json +58 -0
- package/src/{04-components → components}/overlays/tooltip/tooltip.docs.json +46 -6
- package/src/components/typography/blockquote/blockquote.api.json +45 -0
- package/src/{04-components → components}/typography/blockquote/index.scss +18 -5
- package/src/components/typography/code/code-visual.png +0 -0
- package/src/components/typography/code/code.api.json +67 -0
- package/src/{04-components → components}/typography/code/code.docs.json +23 -3
- package/src/{04-components → components}/typography/code/index.scss +24 -7
- package/src/{04-components → components}/typography/code-block/code-block-visual.png +0 -0
- package/src/components/typography/code-block/code-block.api.json +75 -0
- package/src/{04-components → components}/typography/code-block/code-block.docs.json +19 -0
- package/src/{04-components → components}/typography/code-block/index.scss +27 -8
- package/src/components/typography/heading/heading.api.json +102 -0
- package/src/{04-components → components}/typography/heading/heading.docs.json +28 -6
- package/src/{04-components → components}/typography/heading/index.scss +19 -1
- package/src/{04-components → components}/typography/kbd/index.scss +15 -3
- package/src/components/typography/kbd/kbd.api.json +48 -0
- package/src/{04-components → components}/typography/kbd/kbd.docs.json +1 -1
- package/src/{04-components → components}/typography/link/index.scss +17 -4
- package/src/components/typography/link/link.api.json +53 -0
- package/src/{04-components → components}/typography/link/link.docs.json +51 -6
- package/src/{04-components → components}/typography/list/index.scss +8 -1
- package/src/{04-components → components}/typography/list/list.api.json +12 -7
- package/src/{04-components → components}/typography/list/list.docs.json +5 -2
- package/src/{04-components → components}/typography/mark/index.scss +8 -1
- package/src/components/typography/mark/mark.api.json +33 -0
- package/src/{00-config → config}/tokens/_variables.scss +48 -0
- package/src/config/tokens/accessibility.docs.json +104 -0
- package/src/config/tokens/borders/index.scss +8 -0
- package/src/config/tokens/colors/colors.docs.json +316 -0
- package/src/config/tokens/colors/index.scss +28 -0
- package/src/{00-config → config}/tokens/grid/grid.docs.json +1 -1
- package/src/config/tokens/grid/index.scss +13 -0
- package/src/{00-config → config}/tokens/motion/index.scss +2 -0
- package/src/config/tokens/radius/index.scss +9 -0
- package/src/config/tokens/semantic/colors/index.scss +67 -0
- package/src/config/tokens/semantic/spacing/index.scss +12 -0
- package/src/config/tokens/shadows/index.scss +7 -0
- package/src/config/tokens/spacing/index.scss +17 -0
- package/src/{00-config → config}/tokens/spacing/spacing.docs.json +7 -7
- package/src/config/tokens/theming.docs.json +179 -0
- package/src/config/tokens/typography/index.scss +120 -0
- package/src/{00-config → config}/tokens/zindex/index.scss +1 -0
- package/src/{99-debug → debug}/grid-overlay.scss +7 -6
- package/src/index.scss +17 -20
- package/src/layout/app-shell/app-shell-visual.png +0 -0
- package/src/layout/app-shell/app-shell.api.json +24 -0
- package/src/{03-layout → layout}/app-shell/app-shell.docs.json +28 -10
- package/src/layout/app-shell/app-shell.visual.spec.ts +13 -0
- package/src/layout/app-shell/index.scss +9 -0
- package/src/{03-layout → layout}/aspect-ratio/aspect-ratio.api.json +2 -7
- package/src/{03-layout → layout}/aspect-ratio/aspect-ratio.docs.json +2 -2
- package/src/{03-layout → layout}/aspect-ratio/index.scss +4 -0
- package/src/layout/box/box-visual.png +0 -0
- package/src/layout/box/box.api.json +32 -0
- package/src/layout/box/box.docs.json +93 -0
- package/src/layout/box/box.visual.spec.ts +13 -0
- package/src/layout/box/index.scss +52 -0
- package/src/layout/center/center-visual.png +0 -0
- package/src/layout/center/center.api.json +7 -0
- package/src/layout/center/center.visual.spec.ts +13 -0
- package/src/{03-layout → layout}/center/index.scss +3 -0
- package/src/layout/column/column-visual.png +0 -0
- package/src/layout/column/column.api.json +11 -0
- package/src/{03-layout/stack/stack.docs.json → layout/column/column.docs.json} +7 -7
- package/src/layout/column/column.visual.spec.ts +13 -0
- package/src/layout/column/index.scss +22 -0
- package/src/{03-layout → layout}/container/container.api.json +4 -3
- package/src/layout/container/index.scss +24 -0
- package/src/layout/content/content.api.json +30 -0
- package/src/{03-layout → layout}/content/index.scss +10 -1
- package/src/layout/footer/footer-visual.png +0 -0
- package/src/{03-layout → layout}/footer/footer.api.json +11 -5
- package/src/{03-layout → layout}/footer/footer.docs.json +9 -0
- package/src/{03-layout → layout}/footer/index.scss +21 -5
- package/src/layout/grid/grid-visual.png +0 -0
- package/src/layout/grid/grid.api.json +11 -0
- package/src/layout/grid/grid.visual.spec.ts +13 -0
- package/src/{03-layout → layout}/grid/index.scss +6 -1
- package/src/{03-layout → layout}/index.scss +2 -3
- package/src/layout/main/index.scss +24 -0
- package/src/{03-layout → layout}/main/main.api.json +1 -0
- package/src/{03-layout → layout}/nav-rail/index.scss +14 -3
- package/src/layout/nav-rail/nav-rail.api.json +41 -0
- package/src/{03-layout → layout}/page-header/index.scss +21 -6
- package/src/{03-layout → layout}/page-header/page-header.api.json +9 -4
- package/src/layout/row/index.scss +26 -0
- package/src/layout/row/row.api.json +11 -0
- package/src/{03-layout/cluster/cluster.docs.json → layout/row/row.docs.json} +6 -6
- package/src/{03-layout/cluster/cluster.visual.spec.ts → layout/row/row.visual.spec.ts} +5 -5
- package/src/layout/sidebar/index.scss +40 -0
- package/src/{03-layout → layout}/sidebar/sidebar.api.json +1 -0
- package/src/{03-layout → layout}/sidebar/sidebar.docs.json +6 -5
- package/src/{03-layout → layout}/sidebar-nav/index.scss +70 -19
- package/src/layout/sidebar-nav/sidebar-nav-all.png +0 -0
- package/src/layout/sidebar-nav/sidebar-nav.api.json +143 -0
- package/src/layout/sidebar-nav/sidebar-nav.docs.json +827 -0
- package/src/{03-layout → layout}/topbar/index.scss +20 -5
- package/src/{03-layout → layout}/topbar/topbar.api.json +11 -5
- package/src/testing/api-types.ts +1 -1
- package/src/testing/grid-alignment.spec.ts +34 -88
- package/src/testing/html-generator.ts +1 -1
- package/src/testing/page-setup.ts +4 -2
- package/src/utilities/border/index.scss +18 -0
- package/src/{05-utilities → utilities}/display/display.scss +11 -11
- package/src/{05-utilities → utilities}/spacing/spacing.docs.json +1 -1
- package/src/{05-utilities → utilities}/spacing/spacing.scss +5 -5
- package/src/{05-utilities → utilities}/text/text.docs.json +7 -7
- package/src/{05-utilities → utilities}/visually-hidden/index.scss +2 -2
- package/src/{05-utilities → utilities}/visually-hidden/visually-hidden.docs.json +17 -2
- package/src/00-config/mixins/_border.scss +0 -13
- package/src/00-config/mixins/index.scss +0 -1
- package/src/00-config/tokens/borders/index.scss +0 -6
- package/src/00-config/tokens/colors/colors.docs.json +0 -168
- package/src/00-config/tokens/colors/index.scss +0 -26
- package/src/00-config/tokens/grid/index.scss +0 -11
- package/src/00-config/tokens/radius/index.scss +0 -7
- package/src/00-config/tokens/semantic/colors/index.scss +0 -30
- package/src/00-config/tokens/semantic/spacing/index.scss +0 -10
- package/src/00-config/tokens/shadows/index.scss +0 -5
- package/src/00-config/tokens/spacing/index.scss +0 -15
- package/src/00-config/tokens/theming.docs.json +0 -77
- package/src/00-config/tokens/typography/index.scss +0 -119
- package/src/02-base/typography/typography.docs.json +0 -94
- package/src/03-layout/app-shell/app-shell.api.json +0 -44
- package/src/03-layout/app-shell/index.scss +0 -5
- package/src/03-layout/box/box.api.json +0 -15
- package/src/03-layout/box/box.docs.json +0 -57
- package/src/03-layout/box/index.scss +0 -34
- package/src/03-layout/center/center.api.json +0 -6
- package/src/03-layout/cluster/cluster.api.json +0 -10
- package/src/03-layout/cluster/index.scss +0 -18
- package/src/03-layout/container/index.scss +0 -17
- package/src/03-layout/content/content.api.json +0 -26
- package/src/03-layout/flex/flex.api.json +0 -15
- package/src/03-layout/flex/flex.docs.json +0 -56
- package/src/03-layout/flex/index.scss +0 -51
- package/src/03-layout/footer/footer-visual.png +0 -0
- package/src/03-layout/grid/grid.api.json +0 -10
- package/src/03-layout/main/index.scss +0 -18
- package/src/03-layout/nav-rail/nav-rail.api.json +0 -35
- package/src/03-layout/sidebar/index.scss +0 -30
- package/src/03-layout/sidebar-nav/sidebar-nav-all.png +0 -0
- package/src/03-layout/sidebar-nav/sidebar-nav.api.json +0 -64
- package/src/03-layout/sidebar-nav/sidebar-nav.docs.json +0 -100
- package/src/03-layout/stack/index.scss +0 -13
- package/src/03-layout/stack/stack.api.json +0 -10
- package/src/04-components/actions/button/button-visual.png +0 -0
- package/src/04-components/actions/button-group/button-group.docs.json +0 -52
- package/src/04-components/actions/close-button/close-button.api.json +0 -71
- package/src/04-components/data-display/avatar/avatar.api.json +0 -75
- package/src/04-components/data-display/badge/badge-visual.png +0 -0
- package/src/04-components/data-display/badge/badge.api.json +0 -86
- package/src/04-components/data-display/card/card-visual.png +0 -0
- package/src/04-components/data-display/card/card.api.json +0 -53
- package/src/04-components/data-display/card/index.scss +0 -41
- package/src/04-components/data-display/data-list/data-list.docs.json +0 -79
- package/src/04-components/data-display/icon/icon-visual.png +0 -0
- package/src/04-components/data-display/image/image.api.json +0 -76
- package/src/04-components/data-display/stat/stat.api.json +0 -18
- package/src/04-components/data-display/status/status.docs.json +0 -60
- package/src/04-components/data-display/table/table.api.json +0 -34
- package/src/04-components/data-display/table/table.docs.json +0 -59
- package/src/04-components/data-display/tag/tag-visual.png +0 -0
- package/src/04-components/data-display/tag/tag.api.json +0 -90
- package/src/04-components/disclosure/accordion/accordion.api.json +0 -23
- package/src/04-components/disclosure/accordion/accordion.docs.json +0 -51
- package/src/04-components/disclosure/disclosure/disclosure-visual.png +0 -0
- package/src/04-components/disclosure/disclosure/disclosure.docs.json +0 -73
- package/src/04-components/feedback/alert/alert.api.json +0 -97
- package/src/04-components/feedback/alert/alert.docs.json +0 -79
- package/src/04-components/feedback/progress/progress-visual.png +0 -0
- package/src/04-components/feedback/progress/progress.docs.json +0 -87
- package/src/04-components/feedback/skeleton/skeleton.api.json +0 -26
- package/src/04-components/feedback/skeleton/skeleton.docs.json +0 -62
- package/src/04-components/feedback/spinner/spinner.api.json +0 -63
- package/src/04-components/feedback/toast/toast.api.json +0 -64
- package/src/04-components/feedback/toast/toast.docs.json +0 -99
- package/src/04-components/forms/checkbox/checkbox.api.json +0 -50
- package/src/04-components/forms/checkbox-group/checkbox-group.api.json +0 -54
- package/src/04-components/forms/field/field.api.json +0 -19
- package/src/04-components/forms/field/field.docs.json +0 -59
- package/src/04-components/forms/fieldset/fieldset.api.json +0 -49
- package/src/04-components/forms/form/form.api.json +0 -38
- package/src/04-components/forms/form-error/form-error.api.json +0 -22
- package/src/04-components/forms/form-helper/form-helper.api.json +0 -19
- package/src/04-components/forms/input/input.api.json +0 -116
- package/src/04-components/forms/label/label-visual.png +0 -0
- package/src/04-components/forms/label/label.api.json +0 -31
- package/src/04-components/forms/number-input/number-input-visual.png +0 -0
- package/src/04-components/forms/number-input/number-input.api.json +0 -74
- package/src/04-components/forms/password-input/password-input-visual.png +0 -0
- package/src/04-components/forms/password-input/password-input.api.json +0 -84
- package/src/04-components/forms/radio/radio.api.json +0 -46
- package/src/04-components/forms/radio-group/radio-group.api.json +0 -54
- package/src/04-components/forms/search-input/search-input-visual.png +0 -0
- package/src/04-components/forms/search-input/search-input.api.json +0 -85
- package/src/04-components/forms/select/select-visual.png +0 -0
- package/src/04-components/forms/select/select.api.json +0 -88
- package/src/04-components/forms/slider/slider.api.json +0 -70
- package/src/04-components/forms/textarea/textarea.api.json +0 -96
- package/src/04-components/forms/toggle/toggle-visual.png +0 -0
- package/src/04-components/forms/toggle/toggle.api.json +0 -48
- package/src/04-components/forms/toggle/toggle.docs.json +0 -92
- package/src/04-components/layout/divider/divider.docs.json +0 -68
- package/src/04-components/layout/scroll-area/scroll-area-visual.png +0 -0
- package/src/04-components/layout/scroll-area/scroll-area.api.json +0 -63
- package/src/04-components/layout/spacer/index.scss +0 -11
- package/src/04-components/layout/spacer/spacer.api.json +0 -6
- package/src/04-components/navigation/breadcrumb/breadcrumb.api.json +0 -36
- package/src/04-components/navigation/breadcrumb/breadcrumb.docs.json +0 -59
- package/src/04-components/navigation/dropdown-menu/dropdown-menu-visual.png +0 -0
- package/src/04-components/navigation/menu/menu.docs.json +0 -81
- package/src/04-components/navigation/nav/nav.api.json +0 -55
- package/src/04-components/navigation/pagination/pagination.docs.json +0 -88
- package/src/04-components/navigation/tabs/index.scss +0 -77
- package/src/04-components/navigation/tabs/tabs-visual.png +0 -0
- package/src/04-components/navigation/tabs/tabs.api.json +0 -48
- package/src/04-components/navigation/tabs/tabs.docs.json +0 -61
- package/src/04-components/overlays/dialog/dialog.api.json +0 -34
- package/src/04-components/overlays/dialog/dialog.docs.json +0 -58
- package/src/04-components/overlays/drawer/drawer-visual.png +0 -0
- package/src/04-components/overlays/drawer/drawer.api.json +0 -55
- package/src/04-components/overlays/drawer/drawer.docs.json +0 -78
- package/src/04-components/overlays/modal/modal.api.json +0 -54
- package/src/04-components/overlays/modal/modal.docs.json +0 -86
- package/src/04-components/overlays/overlay/index.scss +0 -49
- package/src/04-components/overlays/overlay/overlay.docs.json +0 -63
- package/src/04-components/overlays/popover/popover.api.json +0 -47
- package/src/04-components/overlays/tooltip/tooltip.api.json +0 -49
- package/src/04-components/typography/blockquote/blockquote.api.json +0 -18
- package/src/04-components/typography/code/code-visual.png +0 -0
- package/src/04-components/typography/code/code.api.json +0 -52
- package/src/04-components/typography/code-block/code-block.api.json +0 -56
- package/src/04-components/typography/heading/heading.api.json +0 -83
- package/src/04-components/typography/kbd/kbd.api.json +0 -15
- package/src/04-components/typography/link/link.api.json +0 -45
- package/src/04-components/typography/mark/mark.api.json +0 -12
- package/src/05-utilities/border/index.scss +0 -21
- package/src/testing/sidebar-toggles.spec.ts +0 -103
- /package/src/{02-base → base}/index.scss +0 -0
- /package/src/{04-components → components}/actions/button/button.visual.spec.ts +0 -0
- /package/src/{04-components → components}/actions/button-group/button-group-visual.png +0 -0
- /package/src/{04-components → components}/actions/button-group/button-group.visual.spec.ts +0 -0
- /package/src/{04-components → components}/actions/close-button/close-button-visual.png +0 -0
- /package/src/{04-components → components}/actions/close-button/close-button.visual.spec.ts +0 -0
- /package/src/{04-components/layout → components/content}/divider/divider-visual.png +0 -0
- /package/src/{04-components/layout → components/content}/divider/divider.visual.spec.ts +0 -0
- /package/src/{04-components/layout → components/content}/scroll-area/scroll-area.visual.spec.ts +0 -0
- /package/src/{04-components/layout → components/content}/spacer/spacer-visual.png +0 -0
- /package/src/{04-components/layout → components/content}/spacer/spacer.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/avatar/avatar-visual.png +0 -0
- /package/src/{04-components → components}/data-display/avatar/avatar.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/badge/badge.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/card/card.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/data-list/data-list-visual.png +0 -0
- /package/src/{04-components → components}/data-display/data-list/data-list.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/icon/icon.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/image/image-visual.png +0 -0
- /package/src/{04-components → components}/data-display/image/image.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/stat/stat-visual.png +0 -0
- /package/src/{04-components → components}/data-display/stat/stat.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/status/status-visual.png +0 -0
- /package/src/{04-components → components}/data-display/status/status.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/table/table-visual.png +0 -0
- /package/src/{04-components → components}/data-display/table/table.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/tag/tag.visual.spec.ts +0 -0
- /package/src/{04-components → components}/disclosure/accordion/accordion-visual.png +0 -0
- /package/src/{04-components → components}/disclosure/accordion/accordion.visual.spec.ts +0 -0
- /package/src/{04-components → components}/disclosure/disclosure/disclosure.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/alert/alert.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/progress/progress.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/progress-circle/progress-circle-visual.png +0 -0
- /package/src/{04-components → components}/feedback/progress-circle/progress-circle.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/skeleton/skeleton-visual.png +0 -0
- /package/src/{04-components → components}/feedback/skeleton/skeleton.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/spinner/spinner-visual.png +0 -0
- /package/src/{04-components → components}/feedback/spinner/spinner.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/toast/toast-visual.png +0 -0
- /package/src/{04-components → components}/feedback/toast/toast.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/checkbox/checkbox-visual.png +0 -0
- /package/src/{04-components → components}/forms/checkbox/checkbox.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/checkbox-group/checkbox-group-visual.png +0 -0
- /package/src/{04-components → components}/forms/checkbox-group/checkbox-group.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/field/field-visual.png +0 -0
- /package/src/{04-components → components}/forms/field/field.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/fieldset/fieldset-visual.png +0 -0
- /package/src/{04-components → components}/forms/fieldset/fieldset.docs.json +0 -0
- /package/src/{04-components → components}/forms/fieldset/fieldset.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/form/form-visual.png +0 -0
- /package/src/{04-components → components}/forms/form/form.docs.json +0 -0
- /package/src/{04-components → components}/forms/form/form.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/form-error/form-error-visual.png +0 -0
- /package/src/{04-components → components}/forms/form-error/form-error.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/form-helper/form-helper-visual.png +0 -0
- /package/src/{04-components → components}/forms/form-helper/form-helper.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/input/input.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/label/label.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/number-input/number-input.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/password-input/password-input.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/radio/radio-visual.png +0 -0
- /package/src/{04-components → components}/forms/radio/radio.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/radio-group/radio-group-visual.png +0 -0
- /package/src/{04-components → components}/forms/radio-group/radio-group.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/search-input/search-input.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/select/select.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/slider/slider-visual.png +0 -0
- /package/src/{04-components → components}/forms/slider/slider.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/textarea/textarea-visual.png +0 -0
- /package/src/{04-components → components}/forms/textarea/textarea.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/toggle/toggle.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/breadcrumb/breadcrumb-visual.png +0 -0
- /package/src/{04-components → components}/navigation/breadcrumb/breadcrumb.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/dropdown-menu/dropdown-menu.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/menu/menu-visual.png +0 -0
- /package/src/{04-components → components}/navigation/menu/menu.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/nav/nav-visual.png +0 -0
- /package/src/{04-components → components}/navigation/nav/nav.docs.json +0 -0
- /package/src/{04-components → components}/navigation/nav/nav.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/pagination/pagination-visual.png +0 -0
- /package/src/{04-components → components}/navigation/pagination/pagination.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/tabs/tabs.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/dialog/dialog-visual.png +0 -0
- /package/src/{04-components → components}/overlays/dialog/dialog.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/drawer/drawer.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/modal/modal-visual.png +0 -0
- /package/src/{04-components → components}/overlays/modal/modal.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/overlay/overlay-visual.png +0 -0
- /package/src/{04-components → components}/overlays/overlay/overlay.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/popover/popover-visual.png +0 -0
- /package/src/{04-components → components}/overlays/popover/popover.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/tooltip/tooltip-visual.png +0 -0
- /package/src/{04-components → components}/overlays/tooltip/tooltip.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/blockquote/blockquote-visual.png +0 -0
- /package/src/{04-components → components}/typography/blockquote/blockquote.docs.json +0 -0
- /package/src/{04-components → components}/typography/blockquote/blockquote.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/code/code.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/code-block/code-block.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/heading/heading-visual.png +0 -0
- /package/src/{04-components → components}/typography/heading/heading.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/kbd/kbd-visual.png +0 -0
- /package/src/{04-components → components}/typography/kbd/kbd.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/link/link-visual.png +0 -0
- /package/src/{04-components → components}/typography/link/link.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/list/list-visual.png +0 -0
- /package/src/{04-components → components}/typography/list/list.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/mark/mark-visual.png +0 -0
- /package/src/{04-components → components}/typography/mark/mark.docs.json +0 -0
- /package/src/{04-components → components}/typography/mark/mark.visual.spec.ts +0 -0
- /package/src/{00-config → config}/layers/layers.scss +0 -0
- /package/src/{00-config → config}/tokens/index.scss +0 -0
- /package/src/{00-config → config}/tokens/input.scss +0 -0
- /package/src/{99-debug → debug}/index.scss +0 -0
- /package/src/{03-layout → layout}/aspect-ratio/aspect-ratio-visual.png +0 -0
- /package/src/{03-layout → layout}/aspect-ratio/aspect-ratio.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/center/center.docs.json +0 -0
- /package/src/{03-layout → layout}/content/content-visual.png +0 -0
- /package/src/{03-layout → layout}/content/content.docs.json +0 -0
- /package/src/{03-layout → layout}/content/content.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/footer/footer.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/grid/grid.docs.json +0 -0
- /package/src/{03-layout → layout}/nav-rail/nav-rail-visual.png +0 -0
- /package/src/{03-layout → layout}/nav-rail/nav-rail.docs.json +0 -0
- /package/src/{03-layout → layout}/nav-rail/nav-rail.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/page-header/page-header-visual.png +0 -0
- /package/src/{03-layout → layout}/page-header/page-header.docs.json +0 -0
- /package/src/{03-layout → layout}/page-header/page-header.visual.spec.ts +0 -0
- /package/src/{03-layout/cluster/cluster-visual.png → layout/row/row-visual.png} +0 -0
- /package/src/{03-layout → layout}/sidebar/sidebar-visual.png +0 -0
- /package/src/{03-layout → layout}/sidebar/sidebar.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/sidebar-nav/sidebar-nav.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/topbar/topbar-visual.png +0 -0
- /package/src/{03-layout → layout}/topbar/topbar.docs.json +0 -0
- /package/src/{03-layout → layout}/topbar/topbar.visual.spec.ts +0 -0
- /package/src/{01-reset → reset}/index.scss +0 -0
- /package/src/{01-reset → reset}/reset.scss +0 -0
- /package/src/{05-utilities → utilities}/display/display.api.json +0 -0
- /package/src/{05-utilities → utilities}/display/display.docs.json +0 -0
- /package/src/{05-utilities → utilities}/index.scss +0 -0
- /package/src/{05-utilities → utilities}/spacing/spacing.api.json +0 -0
- /package/src/{05-utilities → utilities}/text/text.api.json +0 -0
- /package/src/{05-utilities → utilities}/text/text.scss +0 -0
- /package/src/{05-utilities → utilities}/view-transition/index.scss +0 -0
- /package/src/{05-utilities → utilities}/view-transition/view-transition.api.json +0 -0
- /package/src/{05-utilities → utilities}/view-transition/view-transition.docs.json +0 -0
- /package/src/{05-utilities → utilities}/visually-hidden/visually-hidden.api.json +0 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "Auto-generated from index.scss annotations. Do not edit manually — run: pnpm generate:api",
|
|
2
3
|
"name": "list",
|
|
3
4
|
"element": "ul",
|
|
4
5
|
"modifiers": {
|
|
5
|
-
"style": {
|
|
6
|
-
"values": ["unstyled", "inline"]
|
|
7
|
-
},
|
|
8
6
|
"spacing": {
|
|
9
7
|
"values": ["compact", "loose"]
|
|
8
|
+
},
|
|
9
|
+
"style": {
|
|
10
|
+
"values": ["unstyled", "inline"]
|
|
10
11
|
}
|
|
11
12
|
},
|
|
12
13
|
"elements": {
|
|
@@ -15,19 +16,23 @@
|
|
|
15
16
|
"cssVars": [
|
|
16
17
|
{
|
|
17
18
|
"name": "--ui-list-spacing",
|
|
18
|
-
"default": "var(--unit)"
|
|
19
|
+
"default": "var(--ui-unit)",
|
|
20
|
+
"description": "Spacing"
|
|
19
21
|
},
|
|
20
22
|
{
|
|
21
23
|
"name": "--ui-list-marker-color",
|
|
22
|
-
"default": "var(--ui-color-text-muted)"
|
|
24
|
+
"default": "var(--ui-color-text-muted)",
|
|
25
|
+
"description": "Marker color"
|
|
23
26
|
},
|
|
24
27
|
{
|
|
25
28
|
"name": "--ui-list-indent",
|
|
26
|
-
"default": "var(--ui-space-3)"
|
|
29
|
+
"default": "var(--ui-space-3)",
|
|
30
|
+
"description": "Indent"
|
|
27
31
|
},
|
|
28
32
|
{
|
|
29
33
|
"name": "--ui-list-line-height",
|
|
30
|
-
"default": "var(--ui-leading-md)"
|
|
34
|
+
"default": "var(--ui-leading-md)",
|
|
35
|
+
"description": "Line height"
|
|
31
36
|
}
|
|
32
37
|
]
|
|
33
38
|
}
|
|
@@ -17,14 +17,17 @@
|
|
|
17
17
|
"children": [
|
|
18
18
|
{
|
|
19
19
|
"tag": "li",
|
|
20
|
+
"class": "ui-list__item",
|
|
20
21
|
"text": "First item in the list"
|
|
21
22
|
},
|
|
22
23
|
{
|
|
23
24
|
"tag": "li",
|
|
25
|
+
"class": "ui-list__item",
|
|
24
26
|
"text": "Second item in the list"
|
|
25
27
|
},
|
|
26
28
|
{
|
|
27
29
|
"tag": "li",
|
|
30
|
+
"class": "ui-list__item",
|
|
28
31
|
"text": "Third item in the list"
|
|
29
32
|
}
|
|
30
33
|
]
|
|
@@ -141,7 +144,7 @@
|
|
|
141
144
|
"items": [
|
|
142
145
|
{
|
|
143
146
|
"tag": "div",
|
|
144
|
-
"class": "ui-
|
|
147
|
+
"class": "ui-column",
|
|
145
148
|
"style": {
|
|
146
149
|
"gap": "var(--ui-space-2)"
|
|
147
150
|
},
|
|
@@ -271,7 +274,7 @@
|
|
|
271
274
|
"customization": [
|
|
272
275
|
{
|
|
273
276
|
"token": "--ui-list-spacing",
|
|
274
|
-
"default": "var(--unit)",
|
|
277
|
+
"default": "var(--ui-unit)",
|
|
275
278
|
"description": "Gap between items"
|
|
276
279
|
},
|
|
277
280
|
{
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
@use '../../../
|
|
1
|
+
@use '../../../config/tokens/variables' as t;
|
|
2
|
+
// @component mark
|
|
3
|
+
// @element mark
|
|
2
4
|
|
|
3
5
|
@layer components.tokens {
|
|
4
6
|
.mark {
|
|
7
|
+
// @desc Background color
|
|
5
8
|
--_bg: var(--ui-mark-bg, var(--ui-color-warning, #{t.$color-warning}));
|
|
9
|
+
// @desc Text color
|
|
6
10
|
--_color: var(--ui-mark-color, var(--ui-color-text, #{t.$color-text}));
|
|
11
|
+
// @desc Horizontal padding
|
|
7
12
|
--_padding-x: var(--ui-mark-padding-x, var(--ui-space-quarter, #{t.$space-quarter}));
|
|
13
|
+
// @desc Vertical padding
|
|
8
14
|
--_padding-y: var(--ui-mark-padding-y, 0);
|
|
15
|
+
// @desc Corner radius
|
|
9
16
|
--_radius: var(--ui-mark-radius, var(--ui-radius-sm, #{t.$radius-sm}));
|
|
10
17
|
}
|
|
11
18
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "Auto-generated from index.scss annotations. Do not edit manually — run: pnpm generate:api",
|
|
3
|
+
"name": "mark",
|
|
4
|
+
"element": "mark",
|
|
5
|
+
"modifiers": {},
|
|
6
|
+
"cssVars": [
|
|
7
|
+
{
|
|
8
|
+
"name": "--ui-mark-bg",
|
|
9
|
+
"default": "var(--ui-color-warning)",
|
|
10
|
+
"description": "Background color"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "--ui-mark-color",
|
|
14
|
+
"default": "var(--ui-color-text)",
|
|
15
|
+
"description": "Text color"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "--ui-mark-padding-x",
|
|
19
|
+
"default": "var(--ui-space-quarter)",
|
|
20
|
+
"description": "Horizontal padding"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "--ui-mark-padding-y",
|
|
24
|
+
"default": "0",
|
|
25
|
+
"description": "Vertical padding"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "--ui-mark-radius",
|
|
29
|
+
"default": "var(--ui-radius-sm)",
|
|
30
|
+
"description": "Corner radius"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -132,3 +132,51 @@ $color-interactive: $color-primary;
|
|
|
132
132
|
$color-interactive-hover: $color-primary-dark;
|
|
133
133
|
|
|
134
134
|
$color-focus: $color-primary-light;
|
|
135
|
+
|
|
136
|
+
// Motion - duration scale (matches config/tokens/motion)
|
|
137
|
+
$duration-instant: 50ms;
|
|
138
|
+
$duration-fast: 100ms;
|
|
139
|
+
$duration-base: 150ms;
|
|
140
|
+
$duration-normal: 200ms;
|
|
141
|
+
$duration-slow: 250ms;
|
|
142
|
+
$duration-slower: 400ms;
|
|
143
|
+
|
|
144
|
+
// Z-index scale (matches config/tokens/zindex)
|
|
145
|
+
$z-base: 0;
|
|
146
|
+
$z-sticky: 100;
|
|
147
|
+
$z-dropdown: 200;
|
|
148
|
+
$z-overlay: 300;
|
|
149
|
+
$z-modal: 400;
|
|
150
|
+
$z-popover: 500;
|
|
151
|
+
$z-tooltip: 600;
|
|
152
|
+
$z-toast: 700;
|
|
153
|
+
$z-drawer: 800;
|
|
154
|
+
$z-debug: 9999;
|
|
155
|
+
|
|
156
|
+
// Theming
|
|
157
|
+
$hue-primary: 220;
|
|
158
|
+
|
|
159
|
+
// State opacity
|
|
160
|
+
$opacity-disabled: 0.5;
|
|
161
|
+
$opacity-loading: 0.7;
|
|
162
|
+
|
|
163
|
+
// Overlay backgrounds
|
|
164
|
+
$overlay-bg: rgb(0 0 0 / 0.5);
|
|
165
|
+
$overlay-bg-light: rgb(255 255 255 / 0.7);
|
|
166
|
+
$overlay-bg-blur: rgb(0 0 0 / 0.3);
|
|
167
|
+
$overlay-bg-subtle: rgb(0 0 0 / 0.1);
|
|
168
|
+
|
|
169
|
+
// Component defaults - icons
|
|
170
|
+
$icon-stroke: 2;
|
|
171
|
+
$icon-stroke-thin: 1;
|
|
172
|
+
$icon-stroke-thick: 2.5;
|
|
173
|
+
|
|
174
|
+
// Component defaults - feedback
|
|
175
|
+
$spinner-duration: 750ms;
|
|
176
|
+
$progress-circle-stroke-width: 8;
|
|
177
|
+
$skeleton-shimmer: rgb(255 255 255 / 0.5);
|
|
178
|
+
|
|
179
|
+
// Component defaults - misc
|
|
180
|
+
$slider-thumb-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
|
|
181
|
+
$toast-viewport-max-width: 420px;
|
|
182
|
+
$spacer-size: 1;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "accessibility",
|
|
3
|
+
"type": "guide",
|
|
4
|
+
"title": "Accessibility",
|
|
5
|
+
"description": "Built-in accessibility features: reduced motion, system theme detection, high contrast, and keyboard focus indicators",
|
|
6
|
+
"skipValidation": true,
|
|
7
|
+
"sections": [
|
|
8
|
+
{
|
|
9
|
+
"title": "Reduced Motion",
|
|
10
|
+
"description": "All animations and transitions respect prefers-reduced-motion. Duration tokens are set to 0ms, and component animations are disabled with animation: none.",
|
|
11
|
+
"examples": [
|
|
12
|
+
{
|
|
13
|
+
"title": "Duration tokens",
|
|
14
|
+
"code": "// Motion tokens (config/tokens/motion)\n:root {\n --ui-duration-fast: 100ms;\n --ui-duration-base: 150ms;\n --ui-duration-slow: 250ms;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --ui-duration-fast: 0ms;\n --ui-duration-base: 0ms;\n --ui-duration-slow: 0ms;\n }\n}"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"title": "Component animations",
|
|
18
|
+
"description": "Components with keyframe animations add explicit animation: none. Affected: spinner, skeleton, progress, progress-circle, toast, drawer, disclosure, button (loading), icon (spin), status (pulse).",
|
|
19
|
+
"code": "// Example: spinner\n@media (prefers-reduced-motion: reduce) {\n .spinner {\n animation: none;\n }\n}"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"title": "System Theme Detection",
|
|
25
|
+
"description": "Dark mode activates automatically when the OS is set to dark and no explicit data-theme attribute is present. Set data-theme to override.",
|
|
26
|
+
"examples": [
|
|
27
|
+
{
|
|
28
|
+
"title": "Automatic (default)",
|
|
29
|
+
"items": [
|
|
30
|
+
{
|
|
31
|
+
"tag": "div",
|
|
32
|
+
"class": "ui-card",
|
|
33
|
+
"children": [
|
|
34
|
+
{ "tag": "p", "text": "Follows system preference when no data-theme is set" }
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"code": "<!-- Auto-detects system preference -->\n<html>\n ...\n</html>"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"title": "Explicit override",
|
|
42
|
+
"items": [
|
|
43
|
+
{
|
|
44
|
+
"tag": "div",
|
|
45
|
+
"class": "ui-card",
|
|
46
|
+
"attrs": { "data-theme": "dark" },
|
|
47
|
+
"children": [{ "tag": "p", "text": "Forced dark regardless of system preference" }]
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"code": "<!-- Always dark, ignores system preference -->\n<html data-theme=\"dark\">\n ...\n</html>"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"title": "How it works",
|
|
54
|
+
"code": "// Explicit toggle (highest priority)\n[data-theme=\"dark\"] {\n --ui-color-bg: var(--ui-color-neutral-900);\n ...\n}\n\n// Auto-detect (only when no data-theme is set)\n@media (prefers-color-scheme: dark) {\n :root:not([data-theme]) {\n --ui-color-bg: var(--ui-color-neutral-900);\n ...\n }\n}"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"title": "Focus Indicators",
|
|
60
|
+
"description": "All interactive elements use :focus-visible for keyboard-only focus rings. Mouse clicks do not show focus outlines.",
|
|
61
|
+
"examples": [
|
|
62
|
+
{
|
|
63
|
+
"title": "Keyboard focus",
|
|
64
|
+
"items": [
|
|
65
|
+
{
|
|
66
|
+
"tag": "div",
|
|
67
|
+
"class": "ui-row ui-row--sm",
|
|
68
|
+
"children": [
|
|
69
|
+
{ "tag": "button", "class": "ui-button ui-button--focus", "text": "Button" },
|
|
70
|
+
{
|
|
71
|
+
"tag": "input",
|
|
72
|
+
"class": "ui-input ui-input--focus",
|
|
73
|
+
"attrs": { "placeholder": "Input" }
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"tag": "select",
|
|
77
|
+
"class": "ui-select ui-select--focus",
|
|
78
|
+
"children": [{ "tag": "option", "text": "Select" }]
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"code": "// :focus-visible only triggers on keyboard navigation\n.input:focus-visible {\n border-color: var(--_border-color-focus);\n box-shadow: 0 0 0 var(--ui-border-width-md)\n var(--ui-color-focus);\n}"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"title": "Forced Colors (High Contrast)",
|
|
89
|
+
"description": "Windows High Contrast Mode support. Focus rings use transparent outlines that become visible in forced-colors mode, and the focus color maps to the system Highlight color.",
|
|
90
|
+
"examples": [
|
|
91
|
+
{
|
|
92
|
+
"title": "Focus ring technique",
|
|
93
|
+
"description": "Components use box-shadow for focus rings in normal mode. A transparent outline provides the visible focus indicator in forced-colors mode (where box-shadow is removed by the browser).",
|
|
94
|
+
"code": "// Normal mode: box-shadow visible, outline transparent\n.input:focus-visible {\n outline: var(--ui-border-width-md) solid transparent;\n outline-offset: var(--ui-border-width-sm);\n box-shadow: 0 0 0 var(--ui-border-width-md)\n var(--ui-color-focus);\n}\n\n// Forced colors: browser removes box-shadow,\n// transparent outline becomes system-colored\n@media (forced-colors: active) {\n :root {\n --ui-color-focus: Highlight;\n }\n}"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"title": "Affected components",
|
|
98
|
+
"description": "All form controls (input, select, checkbox, radio, slider) and interactive components (button, link, tabs) use this pattern.",
|
|
99
|
+
"code": "// Components with forced-colors support:\n// Forms: input, select, checkbox, radio, slider\n// Actions: button, close-button\n// Navigation: tabs, breadcrumb, pagination\n// Overlays: modal, drawer, dialog"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "colors",
|
|
3
|
+
"type": "token",
|
|
4
|
+
"title": "Colors",
|
|
5
|
+
"description": "HSL-based color system with primitive and semantic tokens. Semantic tokens adapt to light/dark themes.",
|
|
6
|
+
"skipValidation": true,
|
|
7
|
+
"sections": [
|
|
8
|
+
{
|
|
9
|
+
"title": "Text Colors",
|
|
10
|
+
"description": "Use for typography and icons.",
|
|
11
|
+
"examples": [
|
|
12
|
+
{
|
|
13
|
+
"layout": "column",
|
|
14
|
+
"items": [
|
|
15
|
+
{
|
|
16
|
+
"tag": "p",
|
|
17
|
+
"style": { "color": "var(--ui-color-text)" },
|
|
18
|
+
"text": "--ui-color-text: Default text"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"tag": "p",
|
|
22
|
+
"style": { "color": "var(--ui-color-text-muted)" },
|
|
23
|
+
"text": "--ui-color-text-muted: Secondary text, captions"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"tag": "p",
|
|
27
|
+
"class": "ui-p-1",
|
|
28
|
+
"style": {
|
|
29
|
+
"color": "var(--ui-color-text-inverse)",
|
|
30
|
+
"background": "var(--ui-color-neutral-900)",
|
|
31
|
+
"border-radius": "var(--ui-radius-sm)"
|
|
32
|
+
},
|
|
33
|
+
"text": "--ui-color-text-inverse: Text on dark backgrounds"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"title": "Background Colors",
|
|
41
|
+
"description": "Use for surfaces, cards, and containers.",
|
|
42
|
+
"examples": [
|
|
43
|
+
{
|
|
44
|
+
"layout": "column",
|
|
45
|
+
"items": [
|
|
46
|
+
{
|
|
47
|
+
"tag": "div",
|
|
48
|
+
"class": "ui-p-2",
|
|
49
|
+
"style": {
|
|
50
|
+
"background": "var(--ui-color-bg)",
|
|
51
|
+
"border": "1px solid var(--ui-color-border)",
|
|
52
|
+
"border-radius": "var(--ui-radius-md)"
|
|
53
|
+
},
|
|
54
|
+
"text": "--ui-color-bg: Base background"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"tag": "div",
|
|
58
|
+
"class": "ui-p-2",
|
|
59
|
+
"style": {
|
|
60
|
+
"background": "var(--ui-color-bg-subtle)",
|
|
61
|
+
"border-radius": "var(--ui-radius-md)"
|
|
62
|
+
},
|
|
63
|
+
"text": "--ui-color-bg-subtle: Subtle emphasis"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"tag": "div",
|
|
67
|
+
"class": "ui-p-2",
|
|
68
|
+
"style": {
|
|
69
|
+
"background": "var(--ui-color-bg-muted)",
|
|
70
|
+
"border-radius": "var(--ui-radius-md)"
|
|
71
|
+
},
|
|
72
|
+
"text": "--ui-color-bg-muted: Stronger emphasis, code blocks"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"title": "Border Colors",
|
|
80
|
+
"description": "Use for dividers, inputs, and card borders.",
|
|
81
|
+
"examples": [
|
|
82
|
+
{
|
|
83
|
+
"layout": "column",
|
|
84
|
+
"items": [
|
|
85
|
+
{
|
|
86
|
+
"tag": "div",
|
|
87
|
+
"class": "ui-p-2",
|
|
88
|
+
"style": {
|
|
89
|
+
"border": "2px solid var(--ui-color-border)",
|
|
90
|
+
"border-radius": "var(--ui-radius-md)"
|
|
91
|
+
},
|
|
92
|
+
"text": "--ui-color-border: Default borders"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"tag": "div",
|
|
96
|
+
"class": "ui-p-2",
|
|
97
|
+
"style": {
|
|
98
|
+
"border": "2px solid var(--ui-color-border-strong)",
|
|
99
|
+
"border-radius": "var(--ui-radius-md)"
|
|
100
|
+
},
|
|
101
|
+
"text": "--ui-color-border-strong: Emphasized borders"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"title": "Interactive Colors",
|
|
109
|
+
"description": "Use for links, buttons, and interactive elements.",
|
|
110
|
+
"examples": [
|
|
111
|
+
{
|
|
112
|
+
"layout": "column",
|
|
113
|
+
"items": [
|
|
114
|
+
{
|
|
115
|
+
"tag": "p",
|
|
116
|
+
"style": { "color": "var(--ui-color-interactive)" },
|
|
117
|
+
"text": "--ui-color-interactive: Links, primary actions"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"tag": "p",
|
|
121
|
+
"style": { "color": "var(--ui-color-interactive-hover)" },
|
|
122
|
+
"text": "--ui-color-interactive-hover: Hover state"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"tag": "div",
|
|
126
|
+
"class": "ui-p-1",
|
|
127
|
+
"style": {
|
|
128
|
+
"display": "inline-block",
|
|
129
|
+
"outline": "3px solid var(--ui-color-focus)",
|
|
130
|
+
"outline-offset": "2px",
|
|
131
|
+
"border-radius": "var(--ui-radius-sm)"
|
|
132
|
+
},
|
|
133
|
+
"text": "--ui-color-focus: Focus rings"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"title": "Status Colors",
|
|
141
|
+
"description": "Use for feedback, alerts, and validation.",
|
|
142
|
+
"examples": [
|
|
143
|
+
{
|
|
144
|
+
"items": [
|
|
145
|
+
{
|
|
146
|
+
"tag": "div",
|
|
147
|
+
"class": "ui-row ui-row--sm",
|
|
148
|
+
"children": [
|
|
149
|
+
{
|
|
150
|
+
"tag": "div",
|
|
151
|
+
"attrs": {
|
|
152
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-success); border-radius: var(--ui-radius-sm)"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{ "tag": "span", "text": "--ui-color-success" }
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"tag": "div",
|
|
160
|
+
"class": "ui-row ui-row--sm",
|
|
161
|
+
"children": [
|
|
162
|
+
{
|
|
163
|
+
"tag": "div",
|
|
164
|
+
"attrs": {
|
|
165
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-warning); border-radius: var(--ui-radius-sm)"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{ "tag": "span", "text": "--ui-color-warning" }
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"tag": "div",
|
|
173
|
+
"class": "ui-row ui-row--sm",
|
|
174
|
+
"children": [
|
|
175
|
+
{
|
|
176
|
+
"tag": "div",
|
|
177
|
+
"attrs": {
|
|
178
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-danger); border-radius: var(--ui-radius-sm)"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{ "tag": "span", "text": "--ui-color-danger" }
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"title": "Primary Scale",
|
|
190
|
+
"description": "Brand color with light and dark variants.",
|
|
191
|
+
"examples": [
|
|
192
|
+
{
|
|
193
|
+
"items": [
|
|
194
|
+
{
|
|
195
|
+
"tag": "div",
|
|
196
|
+
"class": "ui-row ui-row--sm",
|
|
197
|
+
"children": [
|
|
198
|
+
{
|
|
199
|
+
"tag": "div",
|
|
200
|
+
"attrs": {
|
|
201
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-primary-light); border-radius: var(--ui-radius-sm)"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
{ "tag": "span", "text": "--ui-color-primary-light" }
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"tag": "div",
|
|
209
|
+
"class": "ui-row ui-row--sm",
|
|
210
|
+
"children": [
|
|
211
|
+
{
|
|
212
|
+
"tag": "div",
|
|
213
|
+
"attrs": {
|
|
214
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-primary); border-radius: var(--ui-radius-sm)"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
{ "tag": "span", "text": "--ui-color-primary" }
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"tag": "div",
|
|
222
|
+
"class": "ui-row ui-row--sm",
|
|
223
|
+
"children": [
|
|
224
|
+
{
|
|
225
|
+
"tag": "div",
|
|
226
|
+
"attrs": {
|
|
227
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-primary-dark); border-radius: var(--ui-radius-sm)"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
{ "tag": "span", "text": "--ui-color-primary-dark" }
|
|
231
|
+
]
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"title": "Neutral Scale",
|
|
239
|
+
"description": "Gray scale for text, backgrounds, and borders. Derived from primary hue for subtle warmth.",
|
|
240
|
+
"examples": [
|
|
241
|
+
{
|
|
242
|
+
"items": [
|
|
243
|
+
{
|
|
244
|
+
"tag": "div",
|
|
245
|
+
"class": "ui-row ui-row--sm",
|
|
246
|
+
"attrs": { "style": "flex-wrap: wrap" },
|
|
247
|
+
"children": [
|
|
248
|
+
{
|
|
249
|
+
"tag": "div",
|
|
250
|
+
"attrs": {
|
|
251
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-neutral-50); border: 1px solid var(--ui-color-border); border-radius: var(--ui-radius-sm)"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"tag": "div",
|
|
256
|
+
"attrs": {
|
|
257
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-neutral-100); border-radius: var(--ui-radius-sm)"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"tag": "div",
|
|
262
|
+
"attrs": {
|
|
263
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-neutral-200); border-radius: var(--ui-radius-sm)"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"tag": "div",
|
|
268
|
+
"attrs": {
|
|
269
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-neutral-300); border-radius: var(--ui-radius-sm)"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"tag": "div",
|
|
274
|
+
"attrs": {
|
|
275
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-neutral-400); border-radius: var(--ui-radius-sm)"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"tag": "div",
|
|
280
|
+
"attrs": {
|
|
281
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-neutral-500); border-radius: var(--ui-radius-sm)"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"tag": "div",
|
|
286
|
+
"attrs": {
|
|
287
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-neutral-600); border-radius: var(--ui-radius-sm)"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"tag": "div",
|
|
292
|
+
"attrs": {
|
|
293
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-neutral-700); border-radius: var(--ui-radius-sm)"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"tag": "div",
|
|
298
|
+
"attrs": {
|
|
299
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-neutral-800); border-radius: var(--ui-radius-sm)"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"tag": "div",
|
|
304
|
+
"attrs": {
|
|
305
|
+
"style": "width: var(--ui-space-4); height: var(--ui-row-2); background: var(--ui-color-neutral-900); border-radius: var(--ui-radius-sm)"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
"code": "50 → 100 → 200 → 300 → 400 → 500 → 600 → 700 → 800 → 900"
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@layer tokens {
|
|
2
|
+
:root {
|
|
3
|
+
// Base colors - override these to customize the design system
|
|
4
|
+
--ui-color-primary: oklch(55% 0.22 250);
|
|
5
|
+
--ui-color-success: oklch(60% 0.18 145);
|
|
6
|
+
--ui-color-warning: oklch(75% 0.18 70);
|
|
7
|
+
--ui-color-danger: oklch(60% 0.22 25);
|
|
8
|
+
--ui-color-neutral: oklch(50% 0.02 250);
|
|
9
|
+
|
|
10
|
+
// Primary shades - auto-generated via color-mix
|
|
11
|
+
--ui-color-primary-light: color-mix(in oklch, var(--ui-color-primary) 50%, white);
|
|
12
|
+
--ui-color-primary-dark: color-mix(in oklch, var(--ui-color-primary) 75%, black);
|
|
13
|
+
--ui-color-primary-subtle: color-mix(in oklch, var(--ui-color-primary) 12%, white);
|
|
14
|
+
--ui-color-primary-hover: color-mix(in oklch, var(--ui-color-primary) 85%, black);
|
|
15
|
+
|
|
16
|
+
// Neutral scale - auto-generated via color-mix
|
|
17
|
+
--ui-color-neutral-50: color-mix(in oklch, var(--ui-color-neutral) 3%, white);
|
|
18
|
+
--ui-color-neutral-100: color-mix(in oklch, var(--ui-color-neutral) 6%, white);
|
|
19
|
+
--ui-color-neutral-200: color-mix(in oklch, var(--ui-color-neutral) 12%, white);
|
|
20
|
+
--ui-color-neutral-300: color-mix(in oklch, var(--ui-color-neutral) 25%, white);
|
|
21
|
+
--ui-color-neutral-400: color-mix(in oklch, var(--ui-color-neutral) 50%, white);
|
|
22
|
+
--ui-color-neutral-500: var(--ui-color-neutral);
|
|
23
|
+
--ui-color-neutral-600: color-mix(in oklch, var(--ui-color-neutral) 85%, black);
|
|
24
|
+
--ui-color-neutral-700: color-mix(in oklch, var(--ui-color-neutral) 70%, black);
|
|
25
|
+
--ui-color-neutral-800: color-mix(in oklch, var(--ui-color-neutral) 50%, black);
|
|
26
|
+
--ui-color-neutral-900: color-mix(in oklch, var(--ui-color-neutral) 35%, black);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@layer tokens {
|
|
2
|
+
:root {
|
|
3
|
+
--ui-unit: 8px; // 8px
|
|
4
|
+
--ui-row: calc(var(--ui-unit) * 2);
|
|
5
|
+
|
|
6
|
+
--ui-row-1: var(--ui-row);
|
|
7
|
+
--ui-row-2: calc(var(--ui-row) * 2);
|
|
8
|
+
--ui-row-3: calc(var(--ui-row) * 3);
|
|
9
|
+
--ui-row-4: calc(var(--ui-row) * 4);
|
|
10
|
+
--ui-row-5: calc(var(--ui-row) * 5);
|
|
11
|
+
--ui-row-6: calc(var(--ui-row) * 6);
|
|
12
|
+
}
|
|
13
|
+
}
|