@askrjs/themes 0.0.1
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/LICENSE +201 -0
- package/THEMING.md +930 -0
- package/dist/_internal/box-layout.js +115 -0
- package/dist/_internal/box-layout.js.map +1 -0
- package/dist/_internal/classes.js +8 -0
- package/dist/_internal/classes.js.map +1 -0
- package/dist/_internal/jsx.js +12 -0
- package/dist/_internal/jsx.js.map +1 -0
- package/dist/_internal/layout.d.ts +9 -0
- package/dist/_internal/layout.js +156 -0
- package/dist/_internal/layout.js.map +1 -0
- package/dist/_internal/merge-props.js +50 -0
- package/dist/_internal/merge-props.js.map +1 -0
- package/dist/accessible-icon/accessible-icon.d.ts +7 -0
- package/dist/accessible-icon/accessible-icon.js +20 -0
- package/dist/accessible-icon/accessible-icon.js.map +1 -0
- package/dist/accessible-icon/accessible-icon.types.d.ts +9 -0
- package/dist/askr/dist/common/jsx.d.ts +16 -0
- package/dist/askr/dist/common/props.d.ts +22 -0
- package/dist/askr-themes/src/themes/default/index.css +3736 -0
- package/dist/aspect-ratio/aspect-ratio.d.ts +8 -0
- package/dist/aspect-ratio/aspect-ratio.js +36 -0
- package/dist/aspect-ratio/aspect-ratio.js.map +1 -0
- package/dist/aspect-ratio/aspect-ratio.types.d.ts +20 -0
- package/dist/aspect-ratio/index.d.ts +2 -0
- package/dist/badge/badge.d.ts +8 -0
- package/dist/badge/badge.js +26 -0
- package/dist/badge/badge.js.map +1 -0
- package/dist/badge/badge.types.d.ts +20 -0
- package/dist/badge/index.d.ts +2 -0
- package/dist/box/box.d.ts +9 -0
- package/dist/box/box.js +35 -0
- package/dist/box/box.js.map +1 -0
- package/dist/box/box.types.d.ts +71 -0
- package/dist/box/index.d.ts +2 -0
- package/dist/breadcrumb/breadcrumb.d.ts +18 -0
- package/dist/breadcrumb/breadcrumb.js +113 -0
- package/dist/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/breadcrumb/breadcrumb.types.d.ts +64 -0
- package/dist/breadcrumb/index.d.ts +2 -0
- package/dist/card/card.d.ts +12 -0
- package/dist/card/card.js +68 -0
- package/dist/card/card.js.map +1 -0
- package/dist/card/card.types.d.ts +37 -0
- package/dist/card/index.d.ts +2 -0
- package/dist/components/_internal/box-layout.d.ts +7 -0
- package/dist/components/_internal/classes.d.ts +1 -0
- package/dist/components/_internal/jsx.d.ts +8 -0
- package/dist/components/_internal/layout.d.ts +31 -0
- package/dist/components/_internal/merge-props.d.ts +1 -0
- package/dist/components/_internal/style.d.ts +1 -0
- package/dist/components/accessible-icon/accessible-icon.d.ts +2 -0
- package/dist/components/accessible-icon/accessible-icon.types.d.ts +5 -0
- package/dist/components/accessible-icon/index.d.ts +2 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +3 -0
- package/dist/components/aspect-ratio/aspect-ratio.types.d.ts +15 -0
- package/dist/components/aspect-ratio/index.d.ts +2 -0
- package/dist/components/badge/badge.a11y.d.ts +13 -0
- package/dist/components/badge/badge.d.ts +3 -0
- package/dist/components/badge/badge.types.d.ts +15 -0
- package/dist/components/badge/index.d.ts +3 -0
- package/dist/components/box/box.a11y.d.ts +10 -0
- package/dist/components/box/box.d.ts +4 -0
- package/dist/components/box/box.types.d.ts +66 -0
- package/dist/components/box/index.d.ts +3 -0
- package/dist/components/breadcrumb/breadcrumb.a11y.d.ts +13 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +13 -0
- package/dist/components/breadcrumb/breadcrumb.types.d.ts +59 -0
- package/dist/components/breadcrumb/index.d.ts +3 -0
- package/dist/components/card/card.d.ts +7 -0
- package/dist/components/card/card.types.d.ts +33 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/container/container.a11y.d.ts +16 -0
- package/dist/components/container/container.d.ts +3 -0
- package/dist/components/container/container.types.d.ts +29 -0
- package/dist/components/container/index.d.ts +3 -0
- package/dist/components/empty-state/empty-state.d.ts +2 -0
- package/dist/components/empty-state/empty-state.types.d.ts +9 -0
- package/dist/components/empty-state/index.d.ts +2 -0
- package/dist/components/flex/flex.a11y.d.ts +18 -0
- package/dist/components/flex/flex.d.ts +4 -0
- package/dist/components/flex/flex.types.d.ts +41 -0
- package/dist/components/flex/index.d.ts +3 -0
- package/dist/components/grid/grid.a11y.d.ts +21 -0
- package/dist/components/grid/grid.d.ts +4 -0
- package/dist/components/grid/grid.types.d.ts +37 -0
- package/dist/components/grid/index.d.ts +3 -0
- package/dist/components/header/header.a11y.d.ts +10 -0
- package/dist/components/header/header.d.ts +2 -0
- package/dist/components/header/header.types.d.ts +5 -0
- package/dist/components/header/index.d.ts +3 -0
- package/dist/components/index.d.ts +49 -0
- package/dist/components/index.js +28 -0
- package/dist/components/inline/index.d.ts +6 -0
- package/dist/components/logos/create-logo.d.ts +5 -0
- package/dist/components/logos/github-logo.d.ts +4 -0
- package/dist/components/logos/google-logo.d.ts +4 -0
- package/dist/components/logos/index.d.ts +5 -0
- package/dist/components/logos/microsoft-logo.d.ts +4 -0
- package/dist/components/logos/types.d.ts +14 -0
- package/dist/components/navbar/index.d.ts +2 -0
- package/dist/components/navbar/navbar.d.ts +6 -0
- package/dist/components/navbar/navbar.types.d.ts +24 -0
- package/dist/components/section/index.d.ts +3 -0
- package/dist/components/section/section.a11y.d.ts +11 -0
- package/dist/components/section/section.d.ts +3 -0
- package/dist/components/section/section.types.d.ts +17 -0
- package/dist/components/separator/index.d.ts +3 -0
- package/dist/components/separator/separator.a11y.d.ts +13 -0
- package/dist/components/separator/separator.d.ts +3 -0
- package/dist/components/separator/separator.types.d.ts +16 -0
- package/dist/components/sidebar-layout/index.d.ts +3 -0
- package/dist/components/sidebar-layout/sidebar-layout.a11y.d.ts +15 -0
- package/dist/components/sidebar-layout/sidebar-layout.d.ts +2 -0
- package/dist/components/sidebar-layout/sidebar-layout.types.d.ts +20 -0
- package/dist/components/skeleton/index.d.ts +3 -0
- package/dist/components/skeleton/skeleton.a11y.d.ts +12 -0
- package/dist/components/skeleton/skeleton.d.ts +3 -0
- package/dist/components/skeleton/skeleton.types.d.ts +13 -0
- package/dist/components/spacer/index.d.ts +3 -0
- package/dist/components/spacer/spacer.a11y.d.ts +13 -0
- package/dist/components/spacer/spacer.d.ts +3 -0
- package/dist/components/spacer/spacer.types.d.ts +24 -0
- package/dist/components/spinner/index.d.ts +2 -0
- package/dist/components/spinner/spinner.d.ts +2 -0
- package/dist/components/spinner/spinner.types.d.ts +5 -0
- package/dist/components/stack/index.d.ts +3 -0
- package/dist/components/stack/stack.a11y.d.ts +14 -0
- package/dist/components/stack/stack.d.ts +3 -0
- package/dist/components/stack/stack.types.d.ts +16 -0
- package/dist/components/theme/index.d.ts +2 -0
- package/dist/components/theme/theme.d.ts +40 -0
- package/dist/components/topbar-layout/index.d.ts +3 -0
- package/dist/components/topbar-layout/topbar-layout.a11y.d.ts +13 -0
- package/dist/components/topbar-layout/topbar-layout.d.ts +2 -0
- package/dist/components/topbar-layout/topbar-layout.types.d.ts +12 -0
- package/dist/container/container.d.ts +8 -0
- package/dist/container/container.js +82 -0
- package/dist/container/container.js.map +1 -0
- package/dist/container/container.types.d.ts +28 -0
- package/dist/container/index.d.ts +2 -0
- package/dist/empty-state/empty-state.d.ts +7 -0
- package/dist/empty-state/empty-state.js +39 -0
- package/dist/empty-state/empty-state.js.map +1 -0
- package/dist/empty-state/empty-state.types.d.ts +13 -0
- package/dist/flex/flex.d.ts +9 -0
- package/dist/flex/flex.js +114 -0
- package/dist/flex/flex.js.map +1 -0
- package/dist/flex/flex.types.d.ts +41 -0
- package/dist/flex/index.d.ts +2 -0
- package/dist/grid/grid.d.ts +9 -0
- package/dist/grid/grid.js +115 -0
- package/dist/grid/grid.js.map +1 -0
- package/dist/grid/grid.types.d.ts +40 -0
- package/dist/grid/index.d.ts +2 -0
- package/dist/header/header.d.ts +7 -0
- package/dist/header/header.js +18 -0
- package/dist/header/header.js.map +1 -0
- package/dist/header/header.types.d.ts +9 -0
- package/dist/inline/index.d.ts +7 -0
- package/dist/inline/index.js +13 -0
- package/dist/inline/index.js.map +1 -0
- package/dist/logos/create-logo.js +75 -0
- package/dist/logos/create-logo.js.map +1 -0
- package/dist/logos/github-logo.d.ts +18 -0
- package/dist/logos/github-logo.js +9 -0
- package/dist/logos/github-logo.js.map +1 -0
- package/dist/logos/google-logo.d.ts +18 -0
- package/dist/logos/google-logo.js +23 -0
- package/dist/logos/google-logo.js.map +1 -0
- package/dist/logos/microsoft-logo.d.ts +18 -0
- package/dist/logos/microsoft-logo.js +35 -0
- package/dist/logos/microsoft-logo.js.map +1 -0
- package/dist/logos/types.d.ts +16 -0
- package/dist/navbar/index.d.ts +2 -0
- package/dist/navbar/navbar.d.ts +11 -0
- package/dist/navbar/navbar.js +57 -0
- package/dist/navbar/navbar.js.map +1 -0
- package/dist/navbar/navbar.types.d.ts +29 -0
- package/dist/section/index.d.ts +2 -0
- package/dist/section/section.d.ts +8 -0
- package/dist/section/section.js +40 -0
- package/dist/section/section.js.map +1 -0
- package/dist/section/section.types.d.ts +22 -0
- package/dist/separator/index.d.ts +2 -0
- package/dist/separator/separator.d.ts +8 -0
- package/dist/separator/separator.js +27 -0
- package/dist/separator/separator.js.map +1 -0
- package/dist/separator/separator.types.d.ts +21 -0
- package/dist/sidebar-layout/index.d.ts +2 -0
- package/dist/sidebar-layout/sidebar-layout.d.ts +7 -0
- package/dist/sidebar-layout/sidebar-layout.js +51 -0
- package/dist/sidebar-layout/sidebar-layout.js.map +1 -0
- package/dist/sidebar-layout/sidebar-layout.types.d.ts +20 -0
- package/dist/skeleton/index.d.ts +2 -0
- package/dist/skeleton/skeleton.d.ts +8 -0
- package/dist/skeleton/skeleton.js +26 -0
- package/dist/skeleton/skeleton.js.map +1 -0
- package/dist/skeleton/skeleton.types.d.ts +18 -0
- package/dist/spacer/index.d.ts +2 -0
- package/dist/spacer/spacer.d.ts +8 -0
- package/dist/spacer/spacer.js +47 -0
- package/dist/spacer/spacer.js.map +1 -0
- package/dist/spacer/spacer.types.d.ts +25 -0
- package/dist/spinner/index.d.ts +2 -0
- package/dist/spinner/spinner.d.ts +7 -0
- package/dist/spinner/spinner.js +16 -0
- package/dist/spinner/spinner.js.map +1 -0
- package/dist/spinner/spinner.types.d.ts +10 -0
- package/dist/stack/index.d.ts +2 -0
- package/dist/stack/stack.d.ts +8 -0
- package/dist/stack/stack.js +16 -0
- package/dist/stack/stack.js.map +1 -0
- package/dist/stack/stack.types.d.ts +21 -0
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/theme.d.ts +44 -0
- package/dist/theme/theme.js +159 -0
- package/dist/theme/theme.js.map +1 -0
- package/dist/topbar-layout/index.d.ts +2 -0
- package/dist/topbar-layout/topbar-layout.d.ts +7 -0
- package/dist/topbar-layout/topbar-layout.js +37 -0
- package/dist/topbar-layout/topbar-layout.js.map +1 -0
- package/dist/topbar-layout/topbar-layout.types.d.ts +13 -0
- package/package.json +122 -0
- package/scripts/new-theme.js +87 -0
- package/src/askr-compat.d.ts +110 -0
- package/src/components/_internal/box-layout.ts +156 -0
- package/src/components/_internal/classes.ts +5 -0
- package/src/components/_internal/jsx.ts +141 -0
- package/src/components/_internal/layout.ts +223 -0
- package/src/components/_internal/merge-props.ts +89 -0
- package/src/components/_internal/style.ts +18 -0
- package/src/components/accessible-icon/accessible-icon.tsx +18 -0
- package/src/components/accessible-icon/accessible-icon.types.ts +5 -0
- package/src/components/accessible-icon/index.ts +2 -0
- package/src/components/aspect-ratio/aspect-ratio.tsx +48 -0
- package/src/components/aspect-ratio/aspect-ratio.types.ts +19 -0
- package/src/components/aspect-ratio/index.ts +2 -0
- package/src/components/badge/badge.a11y.ts +15 -0
- package/src/components/badge/badge.tsx +21 -0
- package/src/components/badge/badge.types.ts +27 -0
- package/src/components/badge/index.ts +3 -0
- package/src/components/box/box.a11y.ts +11 -0
- package/src/components/box/box.tsx +37 -0
- package/src/components/box/box.types.ts +75 -0
- package/src/components/box/index.ts +11 -0
- package/src/components/breadcrumb/breadcrumb.a11y.ts +15 -0
- package/src/components/breadcrumb/breadcrumb.tsx +123 -0
- package/src/components/breadcrumb/breadcrumb.types.ts +73 -0
- package/src/components/breadcrumb/index.ts +24 -0
- package/src/components/card/card.tsx +79 -0
- package/src/components/card/card.types.ts +40 -0
- package/src/components/card/index.ts +12 -0
- package/src/components/container/container.a11y.ts +17 -0
- package/src/components/container/container.tsx +139 -0
- package/src/components/container/container.types.ts +35 -0
- package/src/components/container/index.ts +9 -0
- package/src/components/empty-state/empty-state.tsx +42 -0
- package/src/components/empty-state/empty-state.types.ts +10 -0
- package/src/components/empty-state/index.ts +2 -0
- package/src/components/flex/flex.a11y.ts +19 -0
- package/src/components/flex/flex.tsx +160 -0
- package/src/components/flex/flex.types.ts +50 -0
- package/src/components/flex/index.ts +16 -0
- package/src/components/grid/grid.a11y.ts +22 -0
- package/src/components/grid/grid.tsx +172 -0
- package/src/components/grid/grid.types.ts +45 -0
- package/src/components/grid/index.ts +10 -0
- package/src/components/header/header.a11y.ts +11 -0
- package/src/components/header/header.tsx +18 -0
- package/src/components/header/header.types.ts +6 -0
- package/src/components/header/index.ts +3 -0
- package/src/components/index.ts +107 -0
- package/src/components/inline/index.tsx +28 -0
- package/src/components/logos/create-logo.tsx +103 -0
- package/src/components/logos/github-logo.tsx +13 -0
- package/src/components/logos/google-logo.tsx +34 -0
- package/src/components/logos/index.ts +5 -0
- package/src/components/logos/microsoft-logo.tsx +10 -0
- package/src/components/logos/types.ts +24 -0
- package/src/components/navbar/index.ts +9 -0
- package/src/components/navbar/navbar.tsx +59 -0
- package/src/components/navbar/navbar.types.ts +33 -0
- package/src/components/section/index.ts +8 -0
- package/src/components/section/section.a11y.ts +12 -0
- package/src/components/section/section.tsx +37 -0
- package/src/components/section/section.types.ts +22 -0
- package/src/components/separator/index.ts +12 -0
- package/src/components/separator/separator.a11y.ts +15 -0
- package/src/components/separator/separator.tsx +23 -0
- package/src/components/separator/separator.types.ts +21 -0
- package/src/components/sidebar-layout/index.ts +6 -0
- package/src/components/sidebar-layout/sidebar-layout.a11y.ts +16 -0
- package/src/components/sidebar-layout/sidebar-layout.tsx +59 -0
- package/src/components/sidebar-layout/sidebar-layout.types.ts +22 -0
- package/src/components/skeleton/index.ts +3 -0
- package/src/components/skeleton/skeleton.a11y.ts +14 -0
- package/src/components/skeleton/skeleton.tsx +21 -0
- package/src/components/skeleton/skeleton.types.ts +17 -0
- package/src/components/spacer/index.ts +9 -0
- package/src/components/spacer/spacer.a11y.ts +14 -0
- package/src/components/spacer/spacer.tsx +58 -0
- package/src/components/spacer/spacer.types.ts +30 -0
- package/src/components/spinner/index.ts +2 -0
- package/src/components/spinner/spinner.tsx +21 -0
- package/src/components/spinner/spinner.types.ts +7 -0
- package/src/components/stack/index.ts +3 -0
- package/src/components/stack/stack.a11y.ts +15 -0
- package/src/components/stack/stack.tsx +13 -0
- package/src/components/stack/stack.types.ts +21 -0
- package/src/components/theme/index.ts +10 -0
- package/src/components/theme/theme.tsx +260 -0
- package/src/components/topbar-layout/index.ts +3 -0
- package/src/components/topbar-layout/topbar-layout.a11y.ts +14 -0
- package/src/components/topbar-layout/topbar-layout.tsx +39 -0
- package/src/components/topbar-layout/topbar-layout.types.ts +13 -0
- package/src/css.d.ts +1 -0
- package/src/index.css +1 -0
- package/src/jsx.d.ts +23 -0
- package/src/themes/default/index.css +48 -0
- package/src/themes/default/styles/actions/button.css +196 -0
- package/src/themes/default/styles/actions/toggle-group.css +52 -0
- package/src/themes/default/styles/actions/toggle.css +44 -0
- package/src/themes/default/styles/base/icon.css +10 -0
- package/src/themes/default/styles/base/typography.css +208 -0
- package/src/themes/default/styles/base/utilities.css +223 -0
- package/src/themes/default/styles/disclosure/accordion.css +62 -0
- package/src/themes/default/styles/disclosure/collapsible.css +47 -0
- package/src/themes/default/styles/display/avatar.css +25 -0
- package/src/themes/default/styles/display/badge.css +51 -0
- package/src/themes/default/styles/display/card.css +53 -0
- package/src/themes/default/styles/display/coverage.css +248 -0
- package/src/themes/default/styles/display/progress-circle.css +18 -0
- package/src/themes/default/styles/display/progress.css +18 -0
- package/src/themes/default/styles/display/scroll-area.css +34 -0
- package/src/themes/default/styles/display/separator.css +15 -0
- package/src/themes/default/styles/display/skeleton.css +6 -0
- package/src/themes/default/styles/display/spinner.css +9 -0
- package/src/themes/default/styles/display/table.css +63 -0
- package/src/themes/default/styles/forms/checkbox.css +64 -0
- package/src/themes/default/styles/forms/form.css +5 -0
- package/src/themes/default/styles/forms/input.css +49 -0
- package/src/themes/default/styles/forms/label.css +6 -0
- package/src/themes/default/styles/forms/radio-group.css +53 -0
- package/src/themes/default/styles/forms/select.css +143 -0
- package/src/themes/default/styles/forms/slider.css +75 -0
- package/src/themes/default/styles/forms/switch.css +70 -0
- package/src/themes/default/styles/forms/textarea.css +37 -0
- package/src/themes/default/styles/layout/aspect-ratio.css +5 -0
- package/src/themes/default/styles/layout/dashboard-layout.css +15 -0
- package/src/themes/default/styles/layout/docs-layout.css +10 -0
- package/src/themes/default/styles/layout/layout.css +946 -0
- package/src/themes/default/styles/layout/patterns.css +43 -0
- package/src/themes/default/styles/layout/responsive-layout.css +209 -0
- package/src/themes/default/styles/layout/sidebar.css +10 -0
- package/src/themes/default/styles/navigation/breadcrumb.css +39 -0
- package/src/themes/default/styles/navigation/menu.css +60 -0
- package/src/themes/default/styles/navigation/menubar.css +89 -0
- package/src/themes/default/styles/navigation/navigation-menu.css +90 -0
- package/src/themes/default/styles/navigation/tabs.css +61 -0
- package/src/themes/default/styles/overlays/alert-dialog.css +9 -0
- package/src/themes/default/styles/overlays/dialog.css +116 -0
- package/src/themes/default/styles/overlays/dropdown-menu.css +109 -0
- package/src/themes/default/styles/overlays/hover-card.css +46 -0
- package/src/themes/default/styles/overlays/popover.css +72 -0
- package/src/themes/default/styles/overlays/toast.css +123 -0
- package/src/themes/default/styles/overlays/tooltip.css +83 -0
- package/src/themes/default/styles/shell/header.css +36 -0
- package/src/themes/default/styles/shell/navbar.css +158 -0
- package/src/themes/default/styles/shell/theme.css +35 -0
- package/src/themes/default/tokens.css +316 -0
- package/templates/theme/index.css +48 -0
- package/templates/theme/styles/actions/button.css +196 -0
- package/templates/theme/styles/actions/toggle-group.css +52 -0
- package/templates/theme/styles/actions/toggle.css +44 -0
- package/templates/theme/styles/base/icon.css +10 -0
- package/templates/theme/styles/base/typography.css +208 -0
- package/templates/theme/styles/base/utilities.css +19 -0
- package/templates/theme/styles/disclosure/accordion.css +62 -0
- package/templates/theme/styles/disclosure/collapsible.css +47 -0
- package/templates/theme/styles/display/avatar.css +25 -0
- package/templates/theme/styles/display/badge.css +51 -0
- package/templates/theme/styles/display/card.css +53 -0
- package/templates/theme/styles/display/coverage.css +146 -0
- package/templates/theme/styles/display/progress-circle.css +18 -0
- package/templates/theme/styles/display/progress.css +18 -0
- package/templates/theme/styles/display/scroll-area.css +34 -0
- package/templates/theme/styles/display/separator.css +15 -0
- package/templates/theme/styles/display/skeleton.css +6 -0
- package/templates/theme/styles/display/spinner.css +9 -0
- package/templates/theme/styles/display/table.css +63 -0
- package/templates/theme/styles/forms/checkbox.css +64 -0
- package/templates/theme/styles/forms/form.css +5 -0
- package/templates/theme/styles/forms/input.css +49 -0
- package/templates/theme/styles/forms/label.css +6 -0
- package/templates/theme/styles/forms/radio-group.css +53 -0
- package/templates/theme/styles/forms/select.css +143 -0
- package/templates/theme/styles/forms/slider.css +75 -0
- package/templates/theme/styles/forms/switch.css +70 -0
- package/templates/theme/styles/forms/textarea.css +37 -0
- package/templates/theme/styles/layout/aspect-ratio.css +5 -0
- package/templates/theme/styles/layout/dashboard-layout.css +16 -0
- package/templates/theme/styles/layout/docs-layout.css +11 -0
- package/templates/theme/styles/layout/layout.css +1 -0
- package/templates/theme/styles/layout/patterns.css +43 -0
- package/templates/theme/styles/layout/responsive-layout.css +209 -0
- package/templates/theme/styles/layout/sidebar.css +11 -0
- package/templates/theme/styles/navigation/breadcrumb.css +31 -0
- package/templates/theme/styles/navigation/menu.css +60 -0
- package/templates/theme/styles/navigation/menubar.css +89 -0
- package/templates/theme/styles/navigation/navigation-menu.css +90 -0
- package/templates/theme/styles/navigation/tabs.css +61 -0
- package/templates/theme/styles/overlays/alert-dialog.css +9 -0
- package/templates/theme/styles/overlays/dialog.css +116 -0
- package/templates/theme/styles/overlays/dropdown-menu.css +109 -0
- package/templates/theme/styles/overlays/hover-card.css +46 -0
- package/templates/theme/styles/overlays/popover.css +72 -0
- package/templates/theme/styles/overlays/toast.css +123 -0
- package/templates/theme/styles/overlays/tooltip.css +83 -0
- package/templates/theme/styles/shell/header.css +36 -0
- package/templates/theme/styles/shell/navbar.css +158 -0
- package/templates/theme/styles/shell/theme.css +35 -0
- package/templates/theme/tokens.css +316 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
:where(.btn, [data-slot="button"]) {
|
|
2
|
+
--_button-height: var(--ak-density-control-height-md);
|
|
3
|
+
--_button-padding-x: var(--ak-density-control-padding-x-md);
|
|
4
|
+
--_button-radius: var(--ak-radius-md);
|
|
5
|
+
--_button-border: var(--ak-color-border);
|
|
6
|
+
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
gap: 0.375rem;
|
|
11
|
+
min-height: var(--_button-height);
|
|
12
|
+
padding-inline: var(--_button-padding-x);
|
|
13
|
+
border: 1px solid var(--_button-border);
|
|
14
|
+
border-radius: var(--_button-radius);
|
|
15
|
+
background: var(--ak-color-surface);
|
|
16
|
+
color: var(--ak-color-text);
|
|
17
|
+
box-shadow: var(--ak-shadow-sm);
|
|
18
|
+
font-size: var(--ak-font-size-sm);
|
|
19
|
+
font-weight: var(--ak-font-weight-semibold);
|
|
20
|
+
line-height: 1;
|
|
21
|
+
letter-spacing: -0.015em;
|
|
22
|
+
text-decoration: none;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
user-select: none;
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
vertical-align: middle;
|
|
27
|
+
-webkit-tap-highlight-color: transparent;
|
|
28
|
+
transition:
|
|
29
|
+
background-color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
30
|
+
border-color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
31
|
+
color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
32
|
+
box-shadow var(--ak-duration-fast) var(--ak-ease-standard),
|
|
33
|
+
opacity var(--ak-duration-fast) var(--ak-ease-standard);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:where(.btn) > :where([data-slot="icon"], svg),
|
|
37
|
+
:where([data-slot="button"]) > :where([data-slot="icon"], svg) {
|
|
38
|
+
flex: none;
|
|
39
|
+
color: currentColor;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:where(.btn:hover, [data-slot="button"]:hover) {
|
|
43
|
+
background: var(--ak-color-surface-muted);
|
|
44
|
+
border-color: var(--ak-color-border-strong);
|
|
45
|
+
box-shadow: var(--ak-shadow-sm);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:where(.btn:active, [data-slot="button"]:active) {
|
|
49
|
+
background: color-mix(in srgb, var(--ak-color-active) 100%, var(--ak-color-surface));
|
|
50
|
+
border-color: var(--ak-color-border-strong);
|
|
51
|
+
box-shadow: var(--ak-shadow-sm);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:where(.btn:focus-visible, [data-slot="button"]:focus-visible) {
|
|
55
|
+
outline: none;
|
|
56
|
+
box-shadow:
|
|
57
|
+
0 0 0 1px var(--ak-color-surface),
|
|
58
|
+
0 0 0 4px var(--ak-color-focus-ring);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:where(.btn[data-disabled], .btn:disabled, [data-slot="button"][data-disabled]) {
|
|
62
|
+
background: var(--ak-color-disabled-surface);
|
|
63
|
+
border-color: var(--ak-color-disabled-border);
|
|
64
|
+
box-shadow: none;
|
|
65
|
+
color: var(--ak-color-disabled-text);
|
|
66
|
+
cursor: not-allowed;
|
|
67
|
+
pointer-events: none;
|
|
68
|
+
opacity: 1;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:where(.btn-primary, [data-slot="button"][data-variant="primary"]) {
|
|
72
|
+
background: var(--ak-color-primary);
|
|
73
|
+
border-color: color-mix(in srgb, var(--ak-color-primary-active) 64%, var(--ak-color-primary));
|
|
74
|
+
color: var(--ak-color-text-inverse);
|
|
75
|
+
box-shadow: var(--ak-shadow-sm);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
:where(.btn-primary:hover, [data-slot="button"][data-variant="primary"]:hover) {
|
|
79
|
+
background: var(--ak-color-primary-hover);
|
|
80
|
+
border-color: var(--ak-color-primary-hover);
|
|
81
|
+
box-shadow: var(--ak-shadow-sm);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
:where(.btn-primary:active, [data-slot="button"][data-variant="primary"]:active) {
|
|
85
|
+
background: var(--ak-color-primary-active);
|
|
86
|
+
border-color: var(--ak-color-primary-active);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
:where(.btn-secondary, [data-slot="button"][data-variant="secondary"]) {
|
|
90
|
+
background: color-mix(in srgb, var(--ak-color-primary-soft) 22%, var(--ak-color-surface));
|
|
91
|
+
border-color: color-mix(in srgb, var(--ak-color-primary) 18%, var(--ak-color-border));
|
|
92
|
+
color: var(--ak-color-primary-ink);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:where(.btn-secondary:hover, [data-slot="button"][data-variant="secondary"]:hover) {
|
|
96
|
+
background: color-mix(in srgb, var(--ak-color-primary-soft) 30%, var(--ak-color-surface));
|
|
97
|
+
border-color: color-mix(in srgb, var(--ak-color-primary) 26%, var(--ak-color-border-strong));
|
|
98
|
+
box-shadow: var(--ak-shadow-sm);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:where(.btn-secondary:active, [data-slot="button"][data-variant="secondary"]:active) {
|
|
102
|
+
background: color-mix(in srgb, var(--ak-color-primary-soft) 58%, var(--ak-color-active));
|
|
103
|
+
border-color: color-mix(in srgb, var(--ak-color-primary) 22%, var(--ak-color-border));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
:where(.btn-outline, [data-slot="button"][data-variant="outline"]) {
|
|
107
|
+
background: var(--ak-color-surface);
|
|
108
|
+
border-color: var(--ak-color-border);
|
|
109
|
+
color: var(--ak-color-text);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
:where(.btn-outline:hover, [data-slot="button"][data-variant="outline"]:hover) {
|
|
113
|
+
background: var(--ak-color-surface-muted);
|
|
114
|
+
border-color: var(--ak-color-border-strong);
|
|
115
|
+
box-shadow: var(--ak-shadow-sm);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:where(.btn-outline:active, [data-slot="button"][data-variant="outline"]:active) {
|
|
119
|
+
background: color-mix(in srgb, var(--ak-color-active) 72%, var(--ak-color-surface-muted));
|
|
120
|
+
border-color: var(--ak-color-border-strong);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
:where(.btn-ghost, [data-slot="button"][data-variant="ghost"]) {
|
|
124
|
+
background: transparent;
|
|
125
|
+
border-color: transparent;
|
|
126
|
+
color: var(--ak-color-text);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
:where(.btn-ghost:hover, [data-slot="button"][data-variant="ghost"]:hover) {
|
|
130
|
+
background: var(--ak-color-hover);
|
|
131
|
+
border-color: transparent;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:where(.btn-ghost:active, [data-slot="button"][data-variant="ghost"]:active) {
|
|
135
|
+
background: var(--ak-color-active);
|
|
136
|
+
border-color: transparent;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
:where(.btn-destructive, [data-slot="button"][data-variant="destructive"]) {
|
|
140
|
+
background: var(--ak-color-danger);
|
|
141
|
+
border-color: color-mix(in srgb, var(--ak-color-danger-ink) 40%, var(--ak-color-danger));
|
|
142
|
+
color: var(--ak-color-text-inverse);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
:where(.btn-destructive:hover, [data-slot="button"][data-variant="destructive"]:hover) {
|
|
146
|
+
background: color-mix(in srgb, black 4%, var(--ak-color-danger));
|
|
147
|
+
border-color: color-mix(in srgb, var(--ak-color-danger-ink) 48%, var(--ak-color-danger));
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
:where(.btn-destructive:active, [data-slot="button"][data-variant="destructive"]:active) {
|
|
151
|
+
background: color-mix(in srgb, black 9%, var(--ak-color-danger));
|
|
152
|
+
border-color: color-mix(in srgb, var(--ak-color-danger-ink) 56%, var(--ak-color-danger));
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
:where(.btn-link, [data-slot="button"][data-variant="link"]) {
|
|
156
|
+
min-height: auto;
|
|
157
|
+
padding-inline: 0;
|
|
158
|
+
border-color: transparent;
|
|
159
|
+
border-radius: 0;
|
|
160
|
+
background: transparent;
|
|
161
|
+
box-shadow: none;
|
|
162
|
+
color: var(--ak-color-link);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
:where(.btn-link:hover, [data-slot="button"][data-variant="link"]:hover) {
|
|
166
|
+
background: transparent;
|
|
167
|
+
border-color: transparent;
|
|
168
|
+
box-shadow: none;
|
|
169
|
+
color: var(--ak-color-link-hover);
|
|
170
|
+
text-decoration: underline;
|
|
171
|
+
text-underline-offset: 0.14em;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:where(.btn-link:active, [data-slot="button"][data-variant="link"]:active) {
|
|
175
|
+
background: transparent;
|
|
176
|
+
border-color: transparent;
|
|
177
|
+
box-shadow: none;
|
|
178
|
+
color: var(--ak-color-link-hover);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
:where(.btn-sm, [data-slot="button"][data-size="sm"]) {
|
|
182
|
+
--_button-height: var(--ak-density-control-height-sm);
|
|
183
|
+
--_button-padding-x: var(--ak-density-control-padding-x-sm);
|
|
184
|
+
font-size: 0.8125rem;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:where(.btn-lg, [data-slot="button"][data-size="lg"]) {
|
|
188
|
+
--_button-height: var(--ak-density-control-height-lg);
|
|
189
|
+
--_button-padding-x: var(--ak-density-control-padding-x-lg);
|
|
190
|
+
font-size: 0.9375rem;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
:where(.btn-icon, [data-slot="button"][data-size="icon"]) {
|
|
194
|
+
width: var(--_button-height);
|
|
195
|
+
padding-inline: 0;
|
|
196
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
[data-slot="toggle-group"] {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
gap: 0.25rem;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
[data-slot="toggle-group"][data-orientation="vertical"] {
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
[data-slot="toggle-group-item"] {
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
min-height: 2.5rem;
|
|
15
|
+
padding: 0 var(--ak-space-md);
|
|
16
|
+
border: 1px solid var(--ak-color-border);
|
|
17
|
+
border-radius: var(--ak-radius-md);
|
|
18
|
+
background: var(--ak-color-surface);
|
|
19
|
+
color: var(--ak-color-text);
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
transition:
|
|
22
|
+
background var(--ak-duration-fast) var(--ak-ease-standard),
|
|
23
|
+
border-color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
24
|
+
color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
25
|
+
box-shadow var(--ak-duration-fast) var(--ak-ease-standard);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-slot="toggle-group-item"]:hover {
|
|
29
|
+
background: var(--ak-color-hover);
|
|
30
|
+
border-color: var(--ak-color-border-strong);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[data-slot="toggle-group-item"]:active {
|
|
34
|
+
background: var(--ak-color-active);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[data-slot="toggle-group-item"][data-state="on"] {
|
|
38
|
+
border-color: var(--ak-color-primary);
|
|
39
|
+
background: var(--ak-color-primary-soft);
|
|
40
|
+
color: var(--ak-color-primary-ink);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-slot="toggle-group-item"]:focus-visible {
|
|
44
|
+
outline: none;
|
|
45
|
+
box-shadow: 0 0 0 3px var(--ak-color-focus-ring);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[data-slot="toggle-group-item"][data-disabled] {
|
|
49
|
+
opacity: 0.5;
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
cursor: not-allowed;
|
|
52
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
[data-slot="toggle"] {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
gap: var(--ak-space-sm);
|
|
6
|
+
min-height: 2.5rem;
|
|
7
|
+
padding: 0 var(--ak-space-md);
|
|
8
|
+
border: 1px solid var(--ak-color-border);
|
|
9
|
+
border-radius: var(--ak-radius-md);
|
|
10
|
+
background: var(--ak-color-surface);
|
|
11
|
+
color: var(--ak-color-text);
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
transition:
|
|
14
|
+
background var(--ak-duration-fast) var(--ak-ease-standard),
|
|
15
|
+
border-color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
16
|
+
color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
17
|
+
box-shadow var(--ak-duration-fast) var(--ak-ease-standard);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[data-slot="toggle"]:hover {
|
|
21
|
+
background: var(--ak-color-hover);
|
|
22
|
+
border-color: var(--ak-color-border-strong);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[data-slot="toggle"]:active {
|
|
26
|
+
background: var(--ak-color-active);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-slot="toggle"][data-state="on"] {
|
|
30
|
+
border-color: var(--ak-color-primary);
|
|
31
|
+
background: var(--ak-color-primary-soft);
|
|
32
|
+
color: var(--ak-color-primary-ink);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-slot="toggle"]:focus-visible {
|
|
36
|
+
outline: none;
|
|
37
|
+
box-shadow: 0 0 0 3px var(--ak-color-focus-ring);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[data-slot="toggle"][data-disabled] {
|
|
41
|
+
opacity: 0.5;
|
|
42
|
+
pointer-events: none;
|
|
43
|
+
cursor: not-allowed;
|
|
44
|
+
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
:where(html) {
|
|
2
|
+
font-family: var(--ak-font-family-body);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:where(body) {
|
|
6
|
+
margin: 0;
|
|
7
|
+
font-family: var(--ak-font-family-body);
|
|
8
|
+
font-size: var(--ak-type-3-size);
|
|
9
|
+
line-height: 1.58;
|
|
10
|
+
letter-spacing: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:where(h1, h2, h3, h4, h5, h6) {
|
|
14
|
+
color: var(--ak-color-text);
|
|
15
|
+
font-family: var(--ak-font-family-body);
|
|
16
|
+
font-weight: 650;
|
|
17
|
+
text-wrap: balance;
|
|
18
|
+
margin: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:where(h1) {
|
|
22
|
+
font-size: clamp(3rem, 6vw, var(--ak-type-9-size));
|
|
23
|
+
line-height: 0.93;
|
|
24
|
+
letter-spacing: -0.04em;
|
|
25
|
+
font-family: var(--ak-font-family-body);
|
|
26
|
+
font-weight: 700;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:where(h2) {
|
|
30
|
+
font-size: clamp(2.25rem, 4vw, var(--ak-type-8-size));
|
|
31
|
+
line-height: 0.98;
|
|
32
|
+
letter-spacing: -0.03em;
|
|
33
|
+
font-family: var(--ak-font-family-body);
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:where(h3) {
|
|
38
|
+
font-size: var(--ak-type-7-size);
|
|
39
|
+
line-height: 1.08;
|
|
40
|
+
letter-spacing: -0.03em;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:where(h4) {
|
|
44
|
+
font-size: var(--ak-type-6-size);
|
|
45
|
+
line-height: 1.15;
|
|
46
|
+
letter-spacing: -0.03em;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:where(h5) {
|
|
50
|
+
font-size: var(--ak-type-5-size);
|
|
51
|
+
line-height: var(--ak-type-5-line-height);
|
|
52
|
+
letter-spacing: var(--ak-type-5-letter-spacing);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:where(h6) {
|
|
56
|
+
font-size: var(--ak-type-4-size);
|
|
57
|
+
line-height: var(--ak-type-4-line-height);
|
|
58
|
+
letter-spacing: var(--ak-type-4-letter-spacing);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:where(p, li, dd, dt) {
|
|
62
|
+
color: var(--ak-color-text-muted);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:where(p, li) {
|
|
66
|
+
font-size: var(--ak-type-3-size);
|
|
67
|
+
line-height: 1.64;
|
|
68
|
+
letter-spacing: -0.01em;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:where(small) {
|
|
72
|
+
font-size: var(--ak-type-1-size);
|
|
73
|
+
line-height: var(--ak-type-1-line-height);
|
|
74
|
+
letter-spacing: var(--ak-type-1-letter-spacing);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:where(strong) {
|
|
78
|
+
font-weight: var(--ak-font-weight-bold);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:where(em) {
|
|
82
|
+
font-family: var(--ak-font-family-emphasis);
|
|
83
|
+
font-style: italic;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:where(blockquote) {
|
|
87
|
+
margin: 0;
|
|
88
|
+
padding-inline-start: 1rem;
|
|
89
|
+
border-inline-start: 1px solid var(--ak-color-border);
|
|
90
|
+
color: var(--ak-color-text-muted);
|
|
91
|
+
font-family: var(--ak-font-family-quote);
|
|
92
|
+
font-size: var(--ak-type-5-size);
|
|
93
|
+
line-height: var(--ak-type-5-line-height);
|
|
94
|
+
letter-spacing: var(--ak-type-5-letter-spacing);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
:where(code, kbd, samp, pre) {
|
|
98
|
+
font-family: var(--ak-font-family-mono);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:where(code, kbd) {
|
|
102
|
+
font-size: 0.9em;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
:where(pre) {
|
|
106
|
+
margin: 0;
|
|
107
|
+
overflow: auto;
|
|
108
|
+
font-size: var(--ak-type-2-size);
|
|
109
|
+
line-height: var(--ak-type-2-line-height);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.ak-prose {
|
|
113
|
+
display: grid;
|
|
114
|
+
gap: 1rem;
|
|
115
|
+
max-inline-size: 44rem;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.ak-prose > * {
|
|
119
|
+
margin: 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.ak-prose > h1,
|
|
123
|
+
.ak-prose > h2,
|
|
124
|
+
.ak-prose > h3,
|
|
125
|
+
.ak-prose > h4,
|
|
126
|
+
.ak-prose > h5,
|
|
127
|
+
.ak-prose > h6 {
|
|
128
|
+
max-inline-size: 22ch;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.ak-prose > p,
|
|
132
|
+
.ak-prose > ul,
|
|
133
|
+
.ak-prose > ol,
|
|
134
|
+
.ak-prose > blockquote {
|
|
135
|
+
max-inline-size: 66ch;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.ak-prose > ul,
|
|
139
|
+
.ak-prose > ol {
|
|
140
|
+
margin: 0;
|
|
141
|
+
padding-inline-start: 1.25rem;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.ak-type-scale {
|
|
145
|
+
display: grid;
|
|
146
|
+
gap: 0.75rem;
|
|
147
|
+
inline-size: 100%;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.ak-type-scale__row {
|
|
151
|
+
display: grid;
|
|
152
|
+
grid-template-columns: minmax(0, 1fr) auto auto auto;
|
|
153
|
+
gap: 1rem;
|
|
154
|
+
align-items: baseline;
|
|
155
|
+
padding-block: 0.625rem;
|
|
156
|
+
border-bottom: 1px solid var(--ak-color-border-subtle);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.ak-type-scale__row:last-child {
|
|
160
|
+
border-bottom: none;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.ak-type-scale__sample {
|
|
164
|
+
color: var(--ak-color-text);
|
|
165
|
+
font-weight: var(--ak-font-weight-medium);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.ak-type-scale__meta {
|
|
169
|
+
color: var(--ak-color-text-muted);
|
|
170
|
+
font-size: var(--ak-type-2-size);
|
|
171
|
+
line-height: var(--ak-type-2-line-height);
|
|
172
|
+
white-space: nowrap;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.ak-type-grid {
|
|
176
|
+
display: grid;
|
|
177
|
+
gap: 0.875rem;
|
|
178
|
+
grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.ak-type-card {
|
|
182
|
+
display: grid;
|
|
183
|
+
gap: 0.4rem;
|
|
184
|
+
padding: 0.875rem;
|
|
185
|
+
border: 1px solid color-mix(in srgb, var(--ak-color-border) 86%, white 14%);
|
|
186
|
+
border-radius: var(--ak-radius-md);
|
|
187
|
+
background: var(--ak-color-surface);
|
|
188
|
+
box-shadow: var(--ak-shadow-sm);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.ak-type-card > p {
|
|
192
|
+
color: var(--ak-color-text-muted);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.ak-type-card__eyebrow {
|
|
196
|
+
color: var(--ak-color-text-muted);
|
|
197
|
+
font-size: var(--ak-type-1-size);
|
|
198
|
+
line-height: var(--ak-type-1-line-height);
|
|
199
|
+
letter-spacing: 0.08em;
|
|
200
|
+
text-transform: uppercase;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
@media (max-width: 720px) {
|
|
204
|
+
.ak-type-scale__row {
|
|
205
|
+
grid-template-columns: 1fr;
|
|
206
|
+
gap: 0.35rem;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
:where(.text-muted) {
|
|
2
|
+
color: var(--ak-color-text-muted);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:where(.text-bold) {
|
|
6
|
+
font-weight: var(--ak-font-weight-bold);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:where(.sr-only) {
|
|
10
|
+
position: absolute;
|
|
11
|
+
width: 1px;
|
|
12
|
+
height: 1px;
|
|
13
|
+
padding: 0;
|
|
14
|
+
margin: -1px;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
clip: rect(0, 0, 0, 0);
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
border: 0;
|
|
19
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
[data-slot="accordion"] {
|
|
2
|
+
display: grid;
|
|
3
|
+
gap: var(--ak-space-sm);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
[data-slot="accordion-item"] {
|
|
7
|
+
border: 1px solid var(--ak-color-border);
|
|
8
|
+
border-radius: var(--ak-radius-md);
|
|
9
|
+
background: var(--ak-color-surface);
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
transition: border-color var(--ak-duration-fast) var(--ak-ease-standard);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-slot="accordion-item"][data-state="open"] {
|
|
15
|
+
border-color: var(--ak-color-primary);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-slot="accordion-header"] {
|
|
19
|
+
margin: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-slot="accordion-trigger"] {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
inline-size: 100%;
|
|
27
|
+
min-height: 2.75rem;
|
|
28
|
+
padding: 0 var(--ak-space-md);
|
|
29
|
+
border: 0;
|
|
30
|
+
background: transparent;
|
|
31
|
+
color: var(--ak-color-text);
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
transition:
|
|
34
|
+
background var(--ak-duration-fast) var(--ak-ease-standard),
|
|
35
|
+
color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
36
|
+
box-shadow var(--ak-duration-fast) var(--ak-ease-standard);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
[data-slot="accordion-trigger"]:hover {
|
|
40
|
+
background: var(--ak-color-hover);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-slot="accordion-trigger"]:active {
|
|
44
|
+
background: var(--ak-color-active);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[data-slot="accordion-trigger"]:focus-visible {
|
|
48
|
+
outline: none;
|
|
49
|
+
box-shadow: inset 0 0 0 3px var(--ak-color-focus-ring);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
[data-slot="accordion-trigger"][data-disabled] {
|
|
53
|
+
opacity: 0.5;
|
|
54
|
+
pointer-events: none;
|
|
55
|
+
cursor: not-allowed;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[data-slot="accordion-content"] {
|
|
59
|
+
padding: 0 var(--ak-space-md) var(--ak-space-md);
|
|
60
|
+
color: var(--ak-color-text-muted);
|
|
61
|
+
line-height: var(--ak-line-height-normal);
|
|
62
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[data-slot="collapsible-trigger"] {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
min-height: 2.5rem;
|
|
6
|
+
padding: 0 var(--ak-space-md);
|
|
7
|
+
border: 1px solid var(--ak-color-border);
|
|
8
|
+
border-radius: var(--ak-radius-md);
|
|
9
|
+
background: var(--ak-color-surface);
|
|
10
|
+
color: var(--ak-color-text);
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
transition:
|
|
13
|
+
background var(--ak-duration-fast) var(--ak-ease-standard),
|
|
14
|
+
border-color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
15
|
+
color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
16
|
+
box-shadow var(--ak-duration-fast) var(--ak-ease-standard);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-slot="collapsible-trigger"][data-state="open"] {
|
|
20
|
+
border-color: var(--ak-color-primary);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-slot="collapsible-trigger"]:hover {
|
|
24
|
+
background: var(--ak-color-hover);
|
|
25
|
+
border-color: var(--ak-color-border-strong);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-slot="collapsible-trigger"]:active {
|
|
29
|
+
background: var(--ak-color-active);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-slot="collapsible-trigger"]:focus-visible {
|
|
33
|
+
outline: none;
|
|
34
|
+
box-shadow: 0 0 0 3px var(--ak-color-focus-ring);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[data-slot="collapsible-trigger"][data-disabled] {
|
|
38
|
+
opacity: 0.5;
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
cursor: not-allowed;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-slot="collapsible-content"] {
|
|
44
|
+
padding: var(--ak-space-md) 0 0;
|
|
45
|
+
color: var(--ak-color-text-muted);
|
|
46
|
+
line-height: var(--ak-line-height-normal);
|
|
47
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[data-slot="avatar"] {
|
|
2
|
+
display: inline-grid;
|
|
3
|
+
place-items: center;
|
|
4
|
+
inline-size: 2.5rem;
|
|
5
|
+
block-size: 2.5rem;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
border-radius: 999px;
|
|
8
|
+
background: var(--ak-color-surface-muted);
|
|
9
|
+
color: var(--ak-color-text);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
[data-slot="avatar-image"] {
|
|
13
|
+
inline-size: 100%;
|
|
14
|
+
block-size: 100%;
|
|
15
|
+
object-fit: cover;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-slot="avatar-fallback"] {
|
|
19
|
+
display: inline-grid;
|
|
20
|
+
place-items: center;
|
|
21
|
+
inline-size: 100%;
|
|
22
|
+
block-size: 100%;
|
|
23
|
+
font-size: var(--ak-font-size-sm);
|
|
24
|
+
font-weight: var(--ak-font-weight-semibold);
|
|
25
|
+
}
|