@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,316 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
-webkit-font-smoothing: antialiased;
|
|
3
|
+
-moz-osx-font-smoothing: grayscale;
|
|
4
|
+
--ak-font-family-body:
|
|
5
|
+
"Aptos", "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Inter, ui-sans-serif, system-ui,
|
|
6
|
+
sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
7
|
+
--ak-font-family-mono:
|
|
8
|
+
"IBM Plex Mono", "SFMono-Regular", "Menlo", "Consolas", ui-monospace, monospace,
|
|
9
|
+
"Apple Color Emoji", "Segoe UI Emoji";
|
|
10
|
+
--ak-font-family-emphasis: var(--ak-font-family-body);
|
|
11
|
+
--ak-font-family-quote: "Iowan Old Style", "Palatino Linotype", ui-serif, serif;
|
|
12
|
+
--ak-font-family: var(--ak-font-family-body);
|
|
13
|
+
|
|
14
|
+
--ak-font-size-xs: 0.75rem;
|
|
15
|
+
--ak-font-size-sm: 0.875rem;
|
|
16
|
+
--ak-font-size-md: 1rem;
|
|
17
|
+
--ak-font-size-lg: 1.125rem;
|
|
18
|
+
--ak-font-size-xl: 1.25rem;
|
|
19
|
+
--ak-font-size-2xl: 1.5rem;
|
|
20
|
+
--ak-font-size-3xl: 1.75rem;
|
|
21
|
+
--ak-font-size-heading: clamp(1.2rem, 1.05rem + 0.72vw, 1.75rem);
|
|
22
|
+
--ak-font-size-display: clamp(2.2rem, 1.55rem + 2.35vw, 3.55rem);
|
|
23
|
+
|
|
24
|
+
--ak-font-weight-light: 300;
|
|
25
|
+
--ak-font-weight-regular: 400;
|
|
26
|
+
--ak-font-weight-medium: 500;
|
|
27
|
+
--ak-font-weight-semibold: 600;
|
|
28
|
+
--ak-font-weight-bold: 700;
|
|
29
|
+
|
|
30
|
+
--ak-line-height-tight: 1.15;
|
|
31
|
+
--ak-line-height-normal: 1.55;
|
|
32
|
+
--ak-line-height-relaxed: 1.7;
|
|
33
|
+
|
|
34
|
+
--ak-type-1-size: 0.75rem;
|
|
35
|
+
--ak-type-1-line-height: 1rem;
|
|
36
|
+
--ak-type-1-letter-spacing: 0.0025em;
|
|
37
|
+
--ak-type-2-size: 0.875rem;
|
|
38
|
+
--ak-type-2-line-height: 1.25rem;
|
|
39
|
+
--ak-type-2-letter-spacing: 0em;
|
|
40
|
+
--ak-type-3-size: 1rem;
|
|
41
|
+
--ak-type-3-line-height: 1.5rem;
|
|
42
|
+
--ak-type-3-letter-spacing: 0em;
|
|
43
|
+
--ak-type-4-size: 1.125rem;
|
|
44
|
+
--ak-type-4-line-height: 1.625rem;
|
|
45
|
+
--ak-type-4-letter-spacing: -0.0025em;
|
|
46
|
+
--ak-type-5-size: 1.25rem;
|
|
47
|
+
--ak-type-5-line-height: 1.75rem;
|
|
48
|
+
--ak-type-5-letter-spacing: -0.005em;
|
|
49
|
+
--ak-type-6-size: 1.625rem;
|
|
50
|
+
--ak-type-6-line-height: 2rem;
|
|
51
|
+
--ak-type-6-letter-spacing: -0.02em;
|
|
52
|
+
--ak-type-7-size: 2rem;
|
|
53
|
+
--ak-type-7-line-height: 2.35rem;
|
|
54
|
+
--ak-type-7-letter-spacing: -0.03em;
|
|
55
|
+
--ak-type-8-size: 2.75rem;
|
|
56
|
+
--ak-type-8-line-height: 2.95rem;
|
|
57
|
+
--ak-type-8-letter-spacing: -0.04em;
|
|
58
|
+
--ak-type-9-size: 4.75rem;
|
|
59
|
+
--ak-type-9-line-height: 4.65rem;
|
|
60
|
+
--ak-type-9-letter-spacing: -0.055em;
|
|
61
|
+
|
|
62
|
+
--ak-space-xs: 0.25rem;
|
|
63
|
+
--ak-space-sm: 0.5rem;
|
|
64
|
+
--ak-space-md: 0.875rem;
|
|
65
|
+
--ak-space-lg: 1.125rem;
|
|
66
|
+
--ak-space-xl: 1.5rem;
|
|
67
|
+
--ak-space-2xl: 2.25rem;
|
|
68
|
+
--ak-space-3xl: 3.5rem;
|
|
69
|
+
--ak-space-1: 0.25rem;
|
|
70
|
+
--ak-space-2: 0.5rem;
|
|
71
|
+
--ak-space-3: 0.75rem;
|
|
72
|
+
--ak-space-4: 1rem;
|
|
73
|
+
--ak-space-5: 1.5rem;
|
|
74
|
+
--ak-space-6: 2rem;
|
|
75
|
+
--ak-space-7: 2.5rem;
|
|
76
|
+
--ak-space-8: 3rem;
|
|
77
|
+
--ak-space-9: 4rem;
|
|
78
|
+
|
|
79
|
+
--ak-radius-sm: 6px;
|
|
80
|
+
--ak-radius-md: 8px;
|
|
81
|
+
--ak-radius-lg: 12px;
|
|
82
|
+
--ak-radius-xl: 18px;
|
|
83
|
+
--ak-radius-round: 9999px;
|
|
84
|
+
|
|
85
|
+
--ak-border-width-sm: 1px;
|
|
86
|
+
--ak-border-width-md: 2px;
|
|
87
|
+
--ak-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.03);
|
|
88
|
+
--ak-shadow-md: 0 10px 30px -18px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.06);
|
|
89
|
+
--ak-shadow-lg: 0 24px 64px -32px rgba(15, 23, 42, 0.24), 0 8px 24px rgba(15, 23, 42, 0.08);
|
|
90
|
+
--ak-focus-ring-width: 3px;
|
|
91
|
+
--ak-focus-ring-offset: 2px;
|
|
92
|
+
--ak-duration-fast: 160ms;
|
|
93
|
+
--ak-duration-normal: 220ms;
|
|
94
|
+
--ak-duration-slow: 320ms;
|
|
95
|
+
--ak-ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
|
|
96
|
+
|
|
97
|
+
--ak-icon-size-sm: 1rem;
|
|
98
|
+
--ak-icon-size-md: 1.25rem;
|
|
99
|
+
--ak-icon-size-lg: 1.5rem;
|
|
100
|
+
--ak-icon-size-xl: 1.75rem;
|
|
101
|
+
--ak-icon-stroke-width-sm: 1.75;
|
|
102
|
+
--ak-icon-stroke-width-md: 2;
|
|
103
|
+
--ak-icon-stroke-width-lg: 2;
|
|
104
|
+
--ak-icon-stroke-width-xl: 2.25;
|
|
105
|
+
|
|
106
|
+
--ak-breakpoint-sm: 40rem;
|
|
107
|
+
--ak-breakpoint-md: 48rem;
|
|
108
|
+
--ak-breakpoint-lg: 64rem;
|
|
109
|
+
--ak-breakpoint-xl: 80rem;
|
|
110
|
+
--ak-layout-navbar-height: 60px;
|
|
111
|
+
--ak-layout-sidebar-width-sm: 15rem;
|
|
112
|
+
--ak-layout-sidebar-width-md: 17rem;
|
|
113
|
+
--ak-layout-sidebar-width-lg: 20rem;
|
|
114
|
+
--ak-layout-sidebar-width-xl: 23rem;
|
|
115
|
+
--ak-layout-sidebar-width: 17rem;
|
|
116
|
+
--ak-layout-content-max-width: 80rem;
|
|
117
|
+
--ak-layout-page-gutter: clamp(1rem, 0.7rem + 1.25vw, 1.75rem);
|
|
118
|
+
--ak-layout-panel-padding: clamp(1rem, 0.88rem + 0.55vw, 1.35rem);
|
|
119
|
+
--ak-container-inline-size: 100%;
|
|
120
|
+
--ak-density-control-height-sm: 2rem;
|
|
121
|
+
--ak-density-control-height-md: 2.5rem;
|
|
122
|
+
--ak-density-control-height-lg: 2.9rem;
|
|
123
|
+
--ak-density-control-padding-x-sm: 0.8rem;
|
|
124
|
+
--ak-density-control-padding-x-md: 1rem;
|
|
125
|
+
--ak-density-control-padding-x-lg: 1.15rem;
|
|
126
|
+
--ak-container-1: 30rem;
|
|
127
|
+
--ak-container-2: 42rem;
|
|
128
|
+
--ak-container-3: 58rem;
|
|
129
|
+
--ak-container-4: 72rem;
|
|
130
|
+
--ak-section-1: var(--ak-space-4);
|
|
131
|
+
--ak-section-2: var(--ak-space-5);
|
|
132
|
+
--ak-section-3: var(--ak-space-6);
|
|
133
|
+
--ak-section-4: var(--ak-space-7);
|
|
134
|
+
|
|
135
|
+
--ak-z-dropdown: 1000;
|
|
136
|
+
--ak-z-sticky: 1100;
|
|
137
|
+
--ak-z-fixed: 1200;
|
|
138
|
+
--ak-z-modal-backdrop: 1300;
|
|
139
|
+
--ak-z-modal: 1400;
|
|
140
|
+
--ak-z-popover: 1500;
|
|
141
|
+
--ak-z-toast: 1550;
|
|
142
|
+
--ak-z-tooltip: 1600;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
:root,
|
|
146
|
+
[data-theme="light"] {
|
|
147
|
+
--ak-color-primary: #2563eb;
|
|
148
|
+
--ak-color-primary-hover: #1d4ed8;
|
|
149
|
+
--ak-color-primary-active: #1e40af;
|
|
150
|
+
--ak-color-primary-soft: #dbeafe;
|
|
151
|
+
--ak-color-primary-ink: #163b8a;
|
|
152
|
+
|
|
153
|
+
--ak-color-text: #1b2434;
|
|
154
|
+
--ak-color-text-muted: #5d6b85;
|
|
155
|
+
--ak-color-text-subtle: #8b96ab;
|
|
156
|
+
--ak-color-text-inverse: #ffffff;
|
|
157
|
+
|
|
158
|
+
--ak-color-bg: #f6f7fb;
|
|
159
|
+
--ak-color-surface: #ffffff;
|
|
160
|
+
--ak-color-surface-muted: #f1f4fa;
|
|
161
|
+
--ak-color-surface-raised: #ffffff;
|
|
162
|
+
--ak-color-surface-overlay: rgba(255, 255, 255, 0.86);
|
|
163
|
+
|
|
164
|
+
--ak-color-border-subtle: #e6ebf5;
|
|
165
|
+
--ak-color-border: #d7deec;
|
|
166
|
+
--ak-color-border-strong: #b7c2d8;
|
|
167
|
+
|
|
168
|
+
--ak-color-success: #16a34a;
|
|
169
|
+
--ak-color-success-soft: rgba(22, 163, 74, 0.14);
|
|
170
|
+
--ak-color-success-ink: #166534;
|
|
171
|
+
--ak-color-warning: #f59e0b;
|
|
172
|
+
--ak-color-warning-soft: rgba(245, 158, 11, 0.16);
|
|
173
|
+
--ak-color-warning-ink: #854d0e;
|
|
174
|
+
--ak-color-danger: #ef4444;
|
|
175
|
+
--ak-color-danger-soft: rgba(239, 68, 68, 0.15);
|
|
176
|
+
--ak-color-danger-ink: #991b1b;
|
|
177
|
+
--ak-color-info: #0ea5e9;
|
|
178
|
+
--ak-color-info-soft: rgba(14, 165, 233, 0.16);
|
|
179
|
+
--ak-color-info-ink: #0c4a6e;
|
|
180
|
+
|
|
181
|
+
--ak-color-link: var(--ak-color-primary);
|
|
182
|
+
--ak-color-link-hover: var(--ak-color-primary-hover);
|
|
183
|
+
--ak-color-focus-ring: rgba(37, 99, 235, 0.18);
|
|
184
|
+
--ak-color-disabled-bg: #ecf0f7;
|
|
185
|
+
--ak-color-disabled-surface: #f7f9fc;
|
|
186
|
+
--ak-color-disabled-border: #d9e0ec;
|
|
187
|
+
--ak-color-disabled-text: #9aa6bc;
|
|
188
|
+
--ak-color-selected: #e4edff;
|
|
189
|
+
--ak-color-selected-border: #93c5fd;
|
|
190
|
+
--ak-color-hover: rgba(37, 99, 235, 0.06);
|
|
191
|
+
--ak-color-active: rgba(37, 99, 235, 0.11);
|
|
192
|
+
--ak-color-backdrop: rgba(10, 17, 33, 0.42);
|
|
193
|
+
|
|
194
|
+
--ak-color-fg: var(--ak-color-text);
|
|
195
|
+
--ak-color-muted: var(--ak-color-text-muted);
|
|
196
|
+
|
|
197
|
+
color-scheme: light;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
[data-theme="dark"] {
|
|
201
|
+
--ak-color-primary: #60a5fa;
|
|
202
|
+
--ak-color-primary-hover: #7ab8ff;
|
|
203
|
+
--ak-color-primary-active: #4d92ef;
|
|
204
|
+
--ak-color-primary-soft: rgba(96, 165, 250, 0.2);
|
|
205
|
+
--ak-color-primary-ink: #dcedff;
|
|
206
|
+
|
|
207
|
+
--ak-color-text: #edf3ff;
|
|
208
|
+
--ak-color-text-muted: #a9b7cc;
|
|
209
|
+
--ak-color-text-subtle: #8090a8;
|
|
210
|
+
--ak-color-text-inverse: #0e1320;
|
|
211
|
+
|
|
212
|
+
--ak-color-bg: #0f1420;
|
|
213
|
+
--ak-color-surface: #171d2b;
|
|
214
|
+
--ak-color-surface-muted: #20283a;
|
|
215
|
+
--ak-color-surface-raised: #263249;
|
|
216
|
+
--ak-color-surface-overlay: rgba(23, 29, 43, 0.88);
|
|
217
|
+
|
|
218
|
+
--ak-color-border-subtle: #2a3449;
|
|
219
|
+
--ak-color-border: #38445c;
|
|
220
|
+
--ak-color-border-strong: #59698a;
|
|
221
|
+
|
|
222
|
+
--ak-color-success: #4ade80;
|
|
223
|
+
--ak-color-success-soft: rgba(74, 222, 128, 0.18);
|
|
224
|
+
--ak-color-success-ink: #dcfce7;
|
|
225
|
+
--ak-color-warning: #fbbf24;
|
|
226
|
+
--ak-color-warning-soft: rgba(251, 191, 36, 0.18);
|
|
227
|
+
--ak-color-warning-ink: #fef3c7;
|
|
228
|
+
--ak-color-danger: #fb7185;
|
|
229
|
+
--ak-color-danger-soft: rgba(251, 113, 133, 0.18);
|
|
230
|
+
--ak-color-danger-ink: #ffe4e6;
|
|
231
|
+
--ak-color-info: #38bdf8;
|
|
232
|
+
--ak-color-info-soft: rgba(56, 189, 248, 0.18);
|
|
233
|
+
--ak-color-info-ink: #e0f2fe;
|
|
234
|
+
|
|
235
|
+
--ak-color-link: var(--ak-color-primary);
|
|
236
|
+
--ak-color-link-hover: var(--ak-color-primary-hover);
|
|
237
|
+
--ak-color-focus-ring: rgba(96, 165, 250, 0.22);
|
|
238
|
+
--ak-color-disabled-bg: #1e2737;
|
|
239
|
+
--ak-color-disabled-surface: #171d2b;
|
|
240
|
+
--ak-color-disabled-border: #2f3b50;
|
|
241
|
+
--ak-color-disabled-text: #74849d;
|
|
242
|
+
--ak-color-selected: rgba(110, 168, 254, 0.15);
|
|
243
|
+
--ak-color-selected-border: #60a5fa;
|
|
244
|
+
--ak-color-hover: rgba(237, 243, 255, 0.06);
|
|
245
|
+
--ak-color-active: rgba(237, 243, 255, 0.12);
|
|
246
|
+
--ak-color-backdrop: rgba(2, 6, 12, 0.66);
|
|
247
|
+
|
|
248
|
+
--ak-color-fg: var(--ak-color-text);
|
|
249
|
+
--ak-color-muted: var(--ak-color-text-muted);
|
|
250
|
+
|
|
251
|
+
color-scheme: dark;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
@media (prefers-reduced-motion: reduce) {
|
|
255
|
+
:root {
|
|
256
|
+
--ak-duration-fast: 0s;
|
|
257
|
+
--ak-duration-normal: 0s;
|
|
258
|
+
--ak-duration-slow: 0s;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
@media (prefers-color-scheme: dark) {
|
|
263
|
+
:root:not([data-theme]) {
|
|
264
|
+
--ak-color-primary: #60a5fa;
|
|
265
|
+
--ak-color-primary-hover: #7ab8ff;
|
|
266
|
+
--ak-color-primary-active: #4d92ef;
|
|
267
|
+
--ak-color-primary-soft: rgba(96, 165, 250, 0.2);
|
|
268
|
+
--ak-color-primary-ink: #dcedff;
|
|
269
|
+
|
|
270
|
+
--ak-color-text: #edf3ff;
|
|
271
|
+
--ak-color-text-muted: #a9b7cc;
|
|
272
|
+
--ak-color-text-subtle: #8090a8;
|
|
273
|
+
--ak-color-text-inverse: #0e1320;
|
|
274
|
+
|
|
275
|
+
--ak-color-bg: #0f1420;
|
|
276
|
+
--ak-color-surface: #171d2b;
|
|
277
|
+
--ak-color-surface-muted: #20283a;
|
|
278
|
+
--ak-color-surface-raised: #263249;
|
|
279
|
+
--ak-color-surface-overlay: rgba(23, 29, 43, 0.88);
|
|
280
|
+
|
|
281
|
+
--ak-color-border-subtle: #2a3449;
|
|
282
|
+
--ak-color-border: #38445c;
|
|
283
|
+
--ak-color-border-strong: #59698a;
|
|
284
|
+
|
|
285
|
+
--ak-color-success: #4ade80;
|
|
286
|
+
--ak-color-success-soft: rgba(74, 222, 128, 0.18);
|
|
287
|
+
--ak-color-success-ink: #dcfce7;
|
|
288
|
+
--ak-color-warning: #fbbf24;
|
|
289
|
+
--ak-color-warning-soft: rgba(251, 191, 36, 0.18);
|
|
290
|
+
--ak-color-warning-ink: #fef3c7;
|
|
291
|
+
--ak-color-danger: #fb7185;
|
|
292
|
+
--ak-color-danger-soft: rgba(251, 113, 133, 0.18);
|
|
293
|
+
--ak-color-danger-ink: #ffe4e6;
|
|
294
|
+
--ak-color-info: #38bdf8;
|
|
295
|
+
--ak-color-info-soft: rgba(56, 189, 248, 0.18);
|
|
296
|
+
--ak-color-info-ink: #e0f2fe;
|
|
297
|
+
|
|
298
|
+
--ak-color-link: var(--ak-color-primary);
|
|
299
|
+
--ak-color-link-hover: var(--ak-color-primary-hover);
|
|
300
|
+
--ak-color-focus-ring: rgba(96, 165, 250, 0.22);
|
|
301
|
+
--ak-color-disabled-bg: #1e2737;
|
|
302
|
+
--ak-color-disabled-surface: #171d2b;
|
|
303
|
+
--ak-color-disabled-border: #2f3b50;
|
|
304
|
+
--ak-color-disabled-text: #74849d;
|
|
305
|
+
--ak-color-selected: rgba(110, 168, 254, 0.15);
|
|
306
|
+
--ak-color-selected-border: #60a5fa;
|
|
307
|
+
--ak-color-hover: rgba(237, 243, 255, 0.06);
|
|
308
|
+
--ak-color-active: rgba(237, 243, 255, 0.12);
|
|
309
|
+
--ak-color-backdrop: rgba(2, 6, 12, 0.66);
|
|
310
|
+
|
|
311
|
+
--ak-color-fg: var(--ak-color-text);
|
|
312
|
+
--ak-color-muted: var(--ak-color-text-muted);
|
|
313
|
+
|
|
314
|
+
color-scheme: dark;
|
|
315
|
+
}
|
|
316
|
+
}
|