matrix-design-system 1.0.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/LICENSE +21 -0
- package/README.md +95 -0
- package/dist/atoms/animation/motion-div/index.d.mts +2 -0
- package/dist/atoms/animation/motion-div/motion-div.d.mts +7 -0
- package/dist/atoms/animation/motion-div/motion-div.mjs +37 -0
- package/dist/atoms/animation/motion-div/use-motion-div-store.mjs +17 -0
- package/dist/atoms/buttons/button/button.d.mts +8 -0
- package/dist/atoms/buttons/button/button.mjs +12 -0
- package/dist/atoms/buttons/button/index.d.mts +2 -0
- package/dist/atoms/buttons/switch/index.d.mts +2 -0
- package/dist/atoms/buttons/switch/switch.d.mts +10 -0
- package/dist/atoms/buttons/switch/switch.mjs +40 -0
- package/dist/atoms/buttons/switch/use-switch-store.mjs +7 -0
- package/dist/atoms/call-to-actions/call-to-action-external-with-tracking/call-to-action-external-with-tracking.d.mts +13 -0
- package/dist/atoms/call-to-actions/call-to-action-external-with-tracking/call-to-action-external-with-tracking.mjs +30 -0
- package/dist/atoms/call-to-actions/call-to-action-external-with-tracking/index.d.mts +2 -0
- package/dist/atoms/call-to-actions/call-to-action-internal-with-tracking/call-to-action-internal-with-tracking.d.mts +14 -0
- package/dist/atoms/call-to-actions/call-to-action-internal-with-tracking/call-to-action-internal-with-tracking.mjs +29 -0
- package/dist/atoms/call-to-actions/call-to-action-internal-with-tracking/index.d.mts +2 -0
- package/dist/atoms/chip/chip.d.mts +10 -0
- package/dist/atoms/chip/chip.mjs +10 -0
- package/dist/atoms/chip/index.d.mts +2 -0
- package/dist/atoms/effects/glassmorphism-background/glassmorphism-background.d.mts +8 -0
- package/dist/atoms/effects/glassmorphism-background/glassmorphism-background.mjs +33 -0
- package/dist/atoms/effects/glassmorphism-background/index.d.mts +2 -0
- package/dist/atoms/effects/glassmorphism-background/use-glassmorphism-background-store.mjs +17 -0
- package/dist/atoms/effects/image-glow/image-glow.d.mts +12 -0
- package/dist/atoms/effects/image-glow/image-glow.mjs +20 -0
- package/dist/atoms/effects/image-glow/index.d.mts +2 -0
- package/dist/atoms/effects/image-shimmer-placeholder/image-shimmer-placeholder.d.mts +6 -0
- package/dist/atoms/effects/image-shimmer-placeholder/image-shimmer-placeholder.mjs +22 -0
- package/dist/atoms/effects/image-shimmer-placeholder/index.d.mts +2 -0
- package/dist/atoms/effects/matrix-rain/matrix-rain/index.d.mts +2 -0
- package/dist/atoms/effects/matrix-rain/matrix-rain/matrix-2d-canvas/debounce.mjs +12 -0
- package/dist/atoms/effects/matrix-rain/matrix-rain/matrix-2d-canvas/matrix-2d-canvas.mjs +25 -0
- package/dist/atoms/effects/matrix-rain/matrix-rain/matrix-2d-canvas/use-matrix-2d-canvas-store.mjs +186 -0
- package/dist/atoms/effects/matrix-rain/matrix-rain/matrix-rain.d.mts +5 -0
- package/dist/atoms/effects/matrix-rain/matrix-rain/matrix-rain.mjs +68 -0
- package/dist/atoms/effects/matrix-rain/matrix-rain/use-matrix-rain-activity.mjs +40 -0
- package/dist/atoms/effects/matrix-rain/matrix-rain/use-matrix-rain-store.mjs +69 -0
- package/dist/atoms/effects/overlay/index.d.mts +2 -0
- package/dist/atoms/effects/overlay/overlay.d.mts +11 -0
- package/dist/atoms/effects/overlay/overlay.mjs +61 -0
- package/dist/atoms/effects/overlay/use-overlay-store.mjs +8 -0
- package/dist/atoms/effects/pills/index.d.mts +2 -0
- package/dist/atoms/effects/pills/pills.d.mts +10 -0
- package/dist/atoms/effects/pills/pills.mjs +121 -0
- package/dist/atoms/effects/pills/use-pills-store.mjs +17 -0
- package/dist/atoms/effects/plain-image/index.d.mts +2 -0
- package/dist/atoms/effects/plain-image/plain-image.d.mts +45 -0
- package/dist/atoms/effects/plain-image/plain-image.mjs +140 -0
- package/dist/atoms/effects/plain-image/use-plain-image-store.mjs +62 -0
- package/dist/atoms/icons/chat-icon/chat-icon.d.mts +4 -0
- package/dist/atoms/icons/chat-icon/chat-icon.mjs +13 -0
- package/dist/atoms/icons/copy-icon/copy-icon.d.mts +6 -0
- package/dist/atoms/icons/copy-icon/copy-icon.mjs +17 -0
- package/dist/atoms/icons/rounded-icon/index.d.mts +2 -0
- package/dist/atoms/icons/rounded-icon/rounded-icon.d.mts +8 -0
- package/dist/atoms/icons/rounded-icon/rounded-icon.mjs +8 -0
- package/dist/atoms/links/anchor-link/anchor-link.d.mts +31 -0
- package/dist/atoms/links/anchor-link/anchor-link.mjs +14 -0
- package/dist/atoms/links/anchor-link/index.d.mts +2 -0
- package/dist/atoms/links/external-link/external-link.d.mts +13 -0
- package/dist/atoms/links/external-link/external-link.mjs +29 -0
- package/dist/atoms/links/external-link/index.d.mts +2 -0
- package/dist/atoms/links/internal-link/index.d.mts +2 -0
- package/dist/atoms/links/internal-link/internal-link.d.mts +15 -0
- package/dist/atoms/links/internal-link/internal-link.mjs +12 -0
- package/dist/atoms/loader/loader/index.d.mts +2 -0
- package/dist/atoms/loader/loader/loader.d.mts +10 -0
- package/dist/atoms/loader/loader/loader.mjs +62 -0
- package/dist/atoms/typography/input-field/index.d.mts +2 -0
- package/dist/atoms/typography/input-field/input-field.d.mts +9 -0
- package/dist/atoms/typography/input-field/input-field.mjs +8 -0
- package/dist/atoms/typography/label/index.d.mts +2 -0
- package/dist/atoms/typography/label/label.d.mts +9 -0
- package/dist/atoms/typography/label/label.mjs +11 -0
- package/dist/atoms/typography/markdown/markdown-plugins.mjs +16 -0
- package/dist/atoms/typography/markdown/markdown.d.mts +7 -0
- package/dist/atoms/typography/markdown/markdown.mjs +23 -0
- package/dist/atoms/typography/markdown/use-markdown-store.mjs +24 -0
- package/dist/atoms/typography/terminal-blocks/index.d.mts +2 -0
- package/dist/atoms/typography/terminal-blocks/terminal-blocks.d.mts +13 -0
- package/dist/atoms/typography/terminal-blocks/terminal-blocks.mjs +42 -0
- package/dist/atoms/typography/textarea/index.d.mts +2 -0
- package/dist/atoms/typography/textarea/textarea.d.mts +9 -0
- package/dist/atoms/typography/textarea/textarea.mjs +8 -0
- package/dist/chart.d.mts +7 -0
- package/dist/chart.mjs +4 -0
- package/dist/command-palette.d.mts +6 -0
- package/dist/command-palette.mjs +5 -0
- package/dist/hooks/use-clipboard-available.d.mts +4 -0
- package/dist/hooks/use-clipboard-available.mjs +10 -0
- package/dist/hooks/use-device-capabilities.d.mts +10 -0
- package/dist/hooks/use-device-capabilities.mjs +30 -0
- package/dist/hooks/use-glassmorphism.d.mts +10 -0
- package/dist/hooks/use-glassmorphism.mjs +9 -0
- package/dist/hooks/use-in-view-list.d.mts +7 -0
- package/dist/hooks/use-in-view-list.mjs +63 -0
- package/dist/hooks/use-in-view.d.mts +9 -0
- package/dist/hooks/use-in-view.mjs +68 -0
- package/dist/hooks/use-is-ios.d.mts +4 -0
- package/dist/hooks/use-is-ios.mjs +7 -0
- package/dist/hooks/use-lock-body-scroll.d.mts +4 -0
- package/dist/hooks/use-lock-body-scroll.mjs +40 -0
- package/dist/hooks/use-matrix-settings-store.d.mts +5 -0
- package/dist/hooks/use-matrix-settings-store.mjs +15 -0
- package/dist/hooks/use-motion-store.d.mts +13 -0
- package/dist/hooks/use-motion-store.mjs +29 -0
- package/dist/hooks/use-os-modifier-key.d.mts +5 -0
- package/dist/hooks/use-os-modifier-key.mjs +15 -0
- package/dist/hooks/use-reading-progress.d.mts +8 -0
- package/dist/hooks/use-reading-progress.mjs +49 -0
- package/dist/hooks/use-reduced-motions.d.mts +4 -0
- package/dist/hooks/use-reduced-motions.mjs +10 -0
- package/dist/hooks/use-scroll-direction.d.mts +8 -0
- package/dist/hooks/use-scroll-direction.mjs +43 -0
- package/dist/hooks/use-typewriter.d.mts +15 -0
- package/dist/hooks/use-typewriter.mjs +89 -0
- package/dist/hooks/use-webgpu-supported.d.mts +4 -0
- package/dist/hooks/use-webgpu-supported.mjs +16 -0
- package/dist/index.d.mts +153 -0
- package/dist/index.mjs +88 -0
- package/dist/markdown.d.mts +2 -0
- package/dist/markdown.mjs +2 -0
- package/dist/molecules/accordion/accordion/accordion.d.mts +12 -0
- package/dist/molecules/accordion/accordion/accordion.mjs +130 -0
- package/dist/molecules/accordion/accordion/index.d.mts +2 -0
- package/dist/molecules/accordion/accordion/use-accordion-store.mjs +55 -0
- package/dist/molecules/breadcrumbs/breadcrumb/breadcrumb.d.mts +21 -0
- package/dist/molecules/breadcrumbs/breadcrumb/breadcrumb.mjs +186 -0
- package/dist/molecules/breadcrumbs/breadcrumb/index.d.mts +2 -0
- package/dist/molecules/breadcrumbs/breadcrumb/use-breadcrumb-store.mjs +29 -0
- package/dist/molecules/buttons/pagination-navigation/index.d.mts +2 -0
- package/dist/molecules/buttons/pagination-navigation/pagination-navigation.d.mts +11 -0
- package/dist/molecules/buttons/pagination-navigation/pagination-navigation.mjs +17 -0
- package/dist/molecules/buttons/pills-buttons/index.d.mts +2 -0
- package/dist/molecules/buttons/pills-buttons/pills-buttons.d.mts +10 -0
- package/dist/molecules/buttons/pills-buttons/pills-buttons.mjs +55 -0
- package/dist/molecules/buttons/segmented-control/segmented-control.d.mts +13 -0
- package/dist/molecules/buttons/segmented-control/segmented-control.mjs +46 -0
- package/dist/molecules/buttons/segmented-control/use-segmented-control-store.mjs +8 -0
- package/dist/molecules/buttons/social-contact/index.d.mts +2 -0
- package/dist/molecules/buttons/social-contact/social-contact.d.mts +10 -0
- package/dist/molecules/buttons/social-contact/social-contact.mjs +13 -0
- package/dist/molecules/buttons/tag/index.d.mts +2 -0
- package/dist/molecules/buttons/tag/tag.d.mts +17 -0
- package/dist/molecules/buttons/tag/tag.mjs +20 -0
- package/dist/molecules/buttons/terminal-button/index.d.mts +2 -0
- package/dist/molecules/buttons/terminal-button/terminal-button.d.mts +15 -0
- package/dist/molecules/buttons/terminal-button/terminal-button.mjs +38 -0
- package/dist/molecules/chart/chart-panel/chart-panel.d.mts +9 -0
- package/dist/molecules/chart/chart-panel/chart-panel.mjs +12 -0
- package/dist/molecules/chart/chart-panel/index.d.mts +2 -0
- package/dist/molecules/chart/chart-tooltip/chart-tooltip.d.mts +8 -0
- package/dist/molecules/chart/chart-tooltip/chart-tooltip.mjs +18 -0
- package/dist/molecules/chart/chart-tooltip/index.d.mts +2 -0
- package/dist/molecules/chart/donut-chart/donut-chart.d.mts +15 -0
- package/dist/molecules/chart/donut-chart/donut-chart.mjs +142 -0
- package/dist/molecules/chart/donut-chart/index.d.mts +2 -0
- package/dist/molecules/containers/content-container/content-container.d.mts +5 -0
- package/dist/molecules/containers/content-container/content-container.mjs +8 -0
- package/dist/molecules/containers/content-container/index.d.mts +2 -0
- package/dist/molecules/controls/control-slider/control-slider.d.mts +14 -0
- package/dist/molecules/controls/control-slider/control-slider.mjs +76 -0
- package/dist/molecules/controls/control-slider/index.d.mts +2 -0
- package/dist/molecules/controls/control-slider/use-control-slider-store.mjs +10 -0
- package/dist/molecules/effects/matrix-background/index.d.mts +2 -0
- package/dist/molecules/effects/matrix-background/matrix-background.d.mts +8 -0
- package/dist/molecules/effects/matrix-background/matrix-background.mjs +15 -0
- package/dist/molecules/effects/matrix-header-background/index.d.mts +2 -0
- package/dist/molecules/effects/matrix-header-background/matrix-header-background.d.mts +8 -0
- package/dist/molecules/effects/matrix-header-background/matrix-header-background.mjs +14 -0
- package/dist/molecules/effects/matrix-terminal/index.d.mts +2 -0
- package/dist/molecules/effects/matrix-terminal/matrix-terminal.d.mts +15 -0
- package/dist/molecules/effects/matrix-terminal/matrix-terminal.mjs +101 -0
- package/dist/molecules/effects/matrix-terminal/use-matrix-terminal-store.mjs +59 -0
- package/dist/molecules/form/filter-input/filter-input.d.mts +10 -0
- package/dist/molecules/form/filter-input/filter-input.mjs +35 -0
- package/dist/molecules/form/filter-input/index.d.mts +2 -0
- package/dist/molecules/form/form-error-summary/form-error-summary.d.mts +10 -0
- package/dist/molecules/form/form-error-summary/form-error-summary.mjs +71 -0
- package/dist/molecules/form/form-error-summary/index.d.mts +2 -0
- package/dist/molecules/form/form-field/form-field.d.mts +10 -0
- package/dist/molecules/form/form-field/form-field.mjs +60 -0
- package/dist/molecules/form/form-field/index.d.mts +2 -0
- package/dist/molecules/form/form-success-message/form-success-message.d.mts +8 -0
- package/dist/molecules/form/form-success-message/form-success-message.mjs +21 -0
- package/dist/molecules/form/form-success-message/index.d.mts +2 -0
- package/dist/molecules/form/form-textarea/form-textarea.d.mts +10 -0
- package/dist/molecules/form/form-textarea/form-textarea.mjs +60 -0
- package/dist/molecules/form/form-textarea/index.d.mts +2 -0
- package/dist/molecules/lightbox-image/index.d.mts +2 -0
- package/dist/molecules/lightbox-image/lightbox-image.d.mts +6 -0
- package/dist/molecules/lightbox-image/lightbox-image.mjs +49 -0
- package/dist/molecules/lightbox-image/use-lightbox-image-store.mjs +29 -0
- package/dist/molecules/links/pills-links/index.d.mts +2 -0
- package/dist/molecules/links/pills-links/pills-links.d.mts +13 -0
- package/dist/molecules/links/pills-links/pills-links.mjs +60 -0
- package/dist/molecules/menu/close/close.d.mts +8 -0
- package/dist/molecules/menu/close/close.mjs +9 -0
- package/dist/molecules/menu/close/index.d.mts +2 -0
- package/dist/molecules/menu/dropdown-menu/dropdown-menu.d.mts +25 -0
- package/dist/molecules/menu/dropdown-menu/dropdown-menu.mjs +143 -0
- package/dist/molecules/menu/dropdown-menu/index.d.mts +2 -0
- package/dist/molecules/menu/dropdown-menu/use-dropdown-menu-store.mjs +108 -0
- package/dist/molecules/menu/hamburger-menu/hamburger-menu.d.mts +8 -0
- package/dist/molecules/menu/hamburger-menu/hamburger-menu.mjs +9 -0
- package/dist/molecules/menu/hamburger-menu/index.d.mts +2 -0
- package/dist/molecules/menu/menu-item/index.d.mts +2 -0
- package/dist/molecules/menu/menu-item/menu-item.d.mts +16 -0
- package/dist/molecules/menu/menu-item/menu-item.mjs +65 -0
- package/dist/molecules/menu/menu-item/use-menu-item-store.mjs +10 -0
- package/dist/molecules/stat-card/index.d.mts +2 -0
- package/dist/molecules/stat-card/stat-card.d.mts +10 -0
- package/dist/molecules/stat-card/stat-card.mjs +21 -0
- package/dist/molecules/terminal-list-item/index.d.mts +2 -0
- package/dist/molecules/terminal-list-item/terminal-list-item.d.mts +9 -0
- package/dist/molecules/terminal-list-item/terminal-list-item.mjs +13 -0
- package/dist/molecules/terminal-progress-bar/index.d.mts +2 -0
- package/dist/molecules/terminal-progress-bar/terminal-progress-bar.d.mts +11 -0
- package/dist/molecules/terminal-progress-bar/terminal-progress-bar.mjs +20 -0
- package/dist/molecules/typography/page-title/index.d.mts +2 -0
- package/dist/molecules/typography/page-title/page-title.d.mts +5 -0
- package/dist/molecules/typography/page-title/page-title.mjs +8 -0
- package/dist/molecules/typography/paragraph-title-with-icon/index.d.mts +2 -0
- package/dist/molecules/typography/paragraph-title-with-icon/paragraph-title-with-icon.d.mts +8 -0
- package/dist/molecules/typography/paragraph-title-with-icon/paragraph-title-with-icon.mjs +13 -0
- package/dist/molecules/typography/section-heading/index.d.mts +2 -0
- package/dist/molecules/typography/section-heading/section-heading.d.mts +9 -0
- package/dist/molecules/typography/section-heading/section-heading.mjs +17 -0
- package/dist/molecules/video/self-hosted-video/index.d.mts +2 -0
- package/dist/molecules/video/self-hosted-video/self-hosted-video.d.mts +17 -0
- package/dist/molecules/video/self-hosted-video/self-hosted-video.mjs +39 -0
- package/dist/molecules/video/youtube/index.d.mts +2 -0
- package/dist/molecules/video/youtube/youtube.d.mts +9 -0
- package/dist/molecules/video/youtube/youtube.mjs +12 -0
- package/dist/organism/command-palette/command-palette/command-palette.d.mts +12 -0
- package/dist/organism/command-palette/command-palette/command-palette.mjs +148 -0
- package/dist/organism/command-palette/command-palette/index.d.mts +2 -0
- package/dist/organism/command-palette/command-palette/use-command-palette-store.mjs +121 -0
- package/dist/organism/command-palette/command-palette-group/command-palette-group.d.mts +9 -0
- package/dist/organism/command-palette/command-palette-group/command-palette-group.mjs +24 -0
- package/dist/organism/command-palette/command-palette-group/index.d.mts +2 -0
- package/dist/organism/command-palette/command-palette-item/command-palette-item.d.mts +11 -0
- package/dist/organism/command-palette/command-palette-item/command-palette-item.mjs +29 -0
- package/dist/organism/command-palette/command-palette-item/index.d.mts +2 -0
- package/dist/organism/command-palette/command-palette-item/use-command-palette-item-store.mjs +30 -0
- package/dist/organism/command-palette/index.d.mts +9 -0
- package/dist/organism/command-palette/toggle-motion-item/index.d.mts +2 -0
- package/dist/organism/command-palette/toggle-motion-item/toggle-motion-item.d.mts +8 -0
- package/dist/organism/command-palette/toggle-motion-item/toggle-motion-item.mjs +63 -0
- package/dist/organism/command-palette/toggle-motion-item/use-toggle-motion-item-store.mjs +45 -0
- package/dist/organism/cookie-consent-banner/cookie-consent-banner.d.mts +9 -0
- package/dist/organism/cookie-consent-banner/cookie-consent-banner.mjs +71 -0
- package/dist/organism/cookie-consent-banner/use-cookie-consent-banner-store.mjs +10 -0
- package/dist/organism/footer/footer.d.mts +26 -0
- package/dist/organism/footer/footer.mjs +193 -0
- package/dist/organism/footer/index.d.mts +3 -0
- package/dist/organism/footer/use-footer-store.d.mts +22 -0
- package/dist/organism/footer/use-footer-store.mjs +57 -0
- package/dist/organism/header/brand-header/brand-header.d.mts +14 -0
- package/dist/organism/header/brand-header/brand-header.mjs +132 -0
- package/dist/organism/header/brand-header/index.d.mts +2 -0
- package/dist/organism/image-carousel/fullscreen-modal/fullscreen-modal.mjs +148 -0
- package/dist/organism/image-carousel/fullscreen-modal/use-fullscreen-modal-store.mjs +129 -0
- package/dist/organism/image-carousel/image-carousel.d.mts +14 -0
- package/dist/organism/image-carousel/image-carousel.mjs +225 -0
- package/dist/organism/image-carousel/index.d.mts +2 -0
- package/dist/organism/image-carousel/navigation-buttons/navigation-buttons.mjs +22 -0
- package/dist/organism/image-carousel/navigation-buttons/use-navigation-buttons-store.mjs +18 -0
- package/dist/organism/image-carousel/page-indicators/page-indicator-button/page-indicator-button.mjs +14 -0
- package/dist/organism/image-carousel/page-indicators/page-indicator-button/use-page-indicator-button-store.mjs +11 -0
- package/dist/organism/image-carousel/page-indicators/page-indicators.mjs +20 -0
- package/dist/organism/image-carousel/use-image-carousel-store.mjs +88 -0
- package/dist/organism/lightbox/index.d.mts +2 -0
- package/dist/organism/lightbox/lightbox.d.mts +5 -0
- package/dist/organism/lightbox/lightbox.mjs +100 -0
- package/dist/organism/lightbox/use-lightbox-store.mjs +120 -0
- package/dist/organism/loading-bar/loading-bar.d.mts +7 -0
- package/dist/organism/loading-bar/loading-bar.mjs +48 -0
- package/dist/organism/loading-bar/use-loading-bar-store.mjs +52 -0
- package/dist/organism/menu/index.d.mts +3 -0
- package/dist/organism/menu/menu.d.mts +33 -0
- package/dist/organism/menu/menu.mjs +396 -0
- package/dist/organism/menu/use-menu-store.d.mts +22 -0
- package/dist/organism/menu/use-menu-store.mjs +265 -0
- package/dist/organism/profile-hero/index.d.mts +2 -0
- package/dist/organism/profile-hero/profile-hero.d.mts +15 -0
- package/dist/organism/profile-hero/profile-hero.mjs +72 -0
- package/dist/organism/profile-photo/index.d.mts +2 -0
- package/dist/organism/profile-photo/profile-photo.d.mts +12 -0
- package/dist/organism/profile-photo/profile-photo.mjs +17 -0
- package/dist/organism/reading-content-progress-bar/index.d.mts +2 -0
- package/dist/organism/reading-content-progress-bar/reading-content-progress-bar.d.mts +8 -0
- package/dist/organism/reading-content-progress-bar/reading-content-progress-bar.mjs +76 -0
- package/dist/organism/reading-content-progress-bar/use-reading-content-progress-bar-store.mjs +29 -0
- package/dist/organism/social-contacts/index.d.mts +2 -0
- package/dist/organism/social-contacts/social-contacts.d.mts +29 -0
- package/dist/organism/social-contacts/social-contacts.mjs +78 -0
- package/dist/state/command-palette/command-palette-context.d.mts +9 -0
- package/dist/state/command-palette/command-palette-context.mjs +10 -0
- package/dist/state/command-palette/command-palette-events.d.mts +11 -0
- package/dist/state/command-palette/command-palette-events.mjs +15 -0
- package/dist/state/command-palette/command-palette-trigger.d.mts +8 -0
- package/dist/state/lightbox/lightbox-events.d.mts +9 -0
- package/dist/state/lightbox/lightbox-events.mjs +7 -0
- package/dist/state/matrix-rain/matrix-settings.d.mts +37 -0
- package/dist/state/matrix-rain/matrix-settings.mjs +122 -0
- package/dist/state/motion/motion.d.mts +6 -0
- package/dist/state/motion/motion.mjs +17 -0
- package/package.json +160 -0
- package/src/styles/base.css +130 -0
- package/src/styles/components.css +57 -0
- package/src/styles/index.css +23 -0
- package/src/styles/pills.css +85 -0
- package/src/styles/theme.css +254 -0
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The design system's design tokens: colours, fonts, shadows and the overridden breakpoint scale.
|
|
3
|
+
* Tailwind v4 turns every entry here into a utility, so consumers can write `bg-general-background`
|
|
4
|
+
* or `md:` (992px, not Tailwind's 768px) against this theme.
|
|
5
|
+
*
|
|
6
|
+
* It also defines the `hide-scrollbar` utility, which base.css and the site's article styling both
|
|
7
|
+
* use: a token-only import of this file would break them.
|
|
8
|
+
*/
|
|
9
|
+
@theme {
|
|
10
|
+
--font-sans: "Open Sans", Arial, sans-serif;
|
|
11
|
+
--font-mono: "Courier Prime", "Courier New", monospace;
|
|
12
|
+
|
|
13
|
+
--color-primary: #00ff41;
|
|
14
|
+
--color-primary-alpha-0: #00ff4100;
|
|
15
|
+
--color-secondary: #00cc33;
|
|
16
|
+
--color-primary-dark: #003d10;
|
|
17
|
+
--color-primary-light: #39ff14;
|
|
18
|
+
--color-general-background: #001100;
|
|
19
|
+
--color-general-background-alpha-60: #001100a0;
|
|
20
|
+
--color-text-above-primary: #000000;
|
|
21
|
+
--color-primary-text: #e8ffe8;
|
|
22
|
+
--color-secondary-text: #00cc33;
|
|
23
|
+
--color-accent: #39ff14;
|
|
24
|
+
--color-accent-alpha-70: #39ff14b3;
|
|
25
|
+
--color-accent-alpha-50: #39ff1480;
|
|
26
|
+
--color-accent-alpha-40: #39ff1466;
|
|
27
|
+
--color-accent-alpha-25: #39ff1440;
|
|
28
|
+
--color-accent-alpha-15: #39ff1426;
|
|
29
|
+
--color-accent-alpha-10: #39ff141a;
|
|
30
|
+
--color-general-background-light: #002200;
|
|
31
|
+
--color-box-shadow-light: rgba(0, 255, 65, 0.3);
|
|
32
|
+
--color-divider: #00cc33;
|
|
33
|
+
--color-confirm: #ff2a2a;
|
|
34
|
+
--color-confirm-alpha-60: #ff2a2aa0;
|
|
35
|
+
--color-confirm-alpha-25: #ff2a2a40;
|
|
36
|
+
--color-confirm-alpha-20: #ff2a2a33;
|
|
37
|
+
--color-undo: #33aaff;
|
|
38
|
+
--color-undo-alpha-60: #33aaffa0;
|
|
39
|
+
--color-undo-alpha-25: #33aaff40;
|
|
40
|
+
--color-undo-alpha-20: #33aaff33;
|
|
41
|
+
--color-black-alpha-75: #000000bf;
|
|
42
|
+
|
|
43
|
+
--spacing: 0.25rem;
|
|
44
|
+
|
|
45
|
+
--shadow-2xs: 0 0 1px var(--color-accent-alpha-40);
|
|
46
|
+
--shadow-xs: 0 0px 2px 0 var(--color-accent-alpha-40);
|
|
47
|
+
--shadow-sm: 0 0px 3px 0 var(--color-accent-alpha-40);
|
|
48
|
+
--shadow-md: 0 0px 6px 0 var(--color-accent-alpha-40);
|
|
49
|
+
--shadow-lg: 0 0px 15px 0 var(--color-accent-alpha-40);
|
|
50
|
+
--shadow-xl: 0 0px 25px 0 var(--color-accent-alpha-40);
|
|
51
|
+
--shadow-2xl: 0 0px 50px 0 var(--color-accent-alpha-40);
|
|
52
|
+
|
|
53
|
+
--inset-shadow-2xs: inset 0 1px 0 var(--color-accent-alpha-10);
|
|
54
|
+
--inset-shadow-xs: inset 0 1px 1px var(--color-accent-alpha-10);
|
|
55
|
+
--inset-shadow-sm: inset 0 2px 4px var(--color-accent-alpha-10);
|
|
56
|
+
|
|
57
|
+
--drop-shadow-xs: 0 1px 1px var(--color-accent-alpha-10);
|
|
58
|
+
--drop-shadow-sm: 0 1px 2px var(--color-accent-alpha-25);
|
|
59
|
+
--drop-shadow-md: 0 3px 3px var(--color-accent-alpha-25);
|
|
60
|
+
--drop-shadow-lg: 0 4px 4px var(--color-accent-alpha-25);
|
|
61
|
+
--drop-shadow-xl: 0 9px 7px var(--color-accent-alpha-25);
|
|
62
|
+
--drop-shadow-2xl: 0 25px 25px var(--color-accent-alpha-25);
|
|
63
|
+
|
|
64
|
+
--text-shadow-2xs: 0px 0px 1px var(--color-accent-alpha-50), 0px 0px 6px var(--color-accent-alpha-25);
|
|
65
|
+
--text-shadow-xs: 0px 0px 3px var(--color-accent-alpha-50), 0px 0px 8px var(--color-accent-alpha-25);
|
|
66
|
+
--text-shadow-sm:
|
|
67
|
+
0px 0px 5px var(--color-accent-alpha-50), 0px 0px 10px var(--color-accent-alpha-25),
|
|
68
|
+
0px 0px 15px var(--color-accent-alpha-10);
|
|
69
|
+
--text-shadow-md:
|
|
70
|
+
0px 0px 7px var(--color-accent-alpha-50), 0px 0px 12px var(--color-accent-alpha-25),
|
|
71
|
+
0px 0px 17px var(--color-accent-alpha-10);
|
|
72
|
+
--text-shadow-lg:
|
|
73
|
+
0px 0px 9px var(--color-accent-alpha-50), 0px 0px 14px var(--color-accent-alpha-25),
|
|
74
|
+
0px 0px 19px var(--color-accent-alpha-10);
|
|
75
|
+
|
|
76
|
+
--blur-xs: 1px;
|
|
77
|
+
--blur-sm: 4px;
|
|
78
|
+
--blur-md: 8px;
|
|
79
|
+
--blur-lg: 12px;
|
|
80
|
+
--blur-xl: 16px;
|
|
81
|
+
--blur-2xl: 20px;
|
|
82
|
+
--blur-3xl: 24px;
|
|
83
|
+
|
|
84
|
+
--text-xs: 0.75rem;
|
|
85
|
+
--text-xs--line-height: calc(1 / 0.75);
|
|
86
|
+
--text-sm: 0.875rem;
|
|
87
|
+
--text-sm--line-height: calc(1.25 / 0.875);
|
|
88
|
+
--text-base: 1rem;
|
|
89
|
+
--text-base--line-height: calc(1.5 / 1);
|
|
90
|
+
--text-lg: 1.125rem;
|
|
91
|
+
--text-lg--line-height: calc(1.75 / 1.125);
|
|
92
|
+
--text-xl: 1.25rem;
|
|
93
|
+
--text-xl--line-height: calc(1.75 / 1.25);
|
|
94
|
+
--text-2xl: 1.5rem;
|
|
95
|
+
--text-2xl--line-height: calc(2 / 1.5);
|
|
96
|
+
--text-3xl: 1.875rem;
|
|
97
|
+
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
98
|
+
--text-4xl: 2.25rem;
|
|
99
|
+
--text-4xl--line-height: calc(2.5 / 2.25);
|
|
100
|
+
--text-5xl: 3rem;
|
|
101
|
+
--text-5xl--line-height: 1;
|
|
102
|
+
--text-6xl: 3.75rem;
|
|
103
|
+
--text-6xl--line-height: 1;
|
|
104
|
+
--text-7xl: 4.5rem;
|
|
105
|
+
--text-7xl--line-height: 1;
|
|
106
|
+
--text-8xl: 6rem;
|
|
107
|
+
--text-8xl--line-height: 1;
|
|
108
|
+
--text-9xl: 8rem;
|
|
109
|
+
--text-9xl--line-height: 1;
|
|
110
|
+
|
|
111
|
+
--font-weight-thin: 100;
|
|
112
|
+
--font-weight-extralight: 200;
|
|
113
|
+
--font-weight-light: 300;
|
|
114
|
+
--font-weight-normal: 400;
|
|
115
|
+
--font-weight-medium: 500;
|
|
116
|
+
--font-weight-semibold: 600;
|
|
117
|
+
--font-weight-bold: 700;
|
|
118
|
+
--font-weight-extrabold: 800;
|
|
119
|
+
--font-weight-black: 900;
|
|
120
|
+
|
|
121
|
+
--tracking-tighter: -0.05em;
|
|
122
|
+
--tracking-tight: -0.025em;
|
|
123
|
+
--tracking-normal: 0em;
|
|
124
|
+
--tracking-wide: 0.025em;
|
|
125
|
+
--tracking-wider: 0.05em;
|
|
126
|
+
--tracking-widest: 0.1em;
|
|
127
|
+
|
|
128
|
+
--radius-xs: 0.125rem;
|
|
129
|
+
--radius-sm: 0.25rem;
|
|
130
|
+
--radius-md: 0.375rem;
|
|
131
|
+
--radius-lg: 0.5rem;
|
|
132
|
+
--radius-xl: 0.75rem;
|
|
133
|
+
--radius-2xl: 1rem;
|
|
134
|
+
--radius-3xl: 1.5rem;
|
|
135
|
+
--radius-4xl: 2rem;
|
|
136
|
+
|
|
137
|
+
--leading-tight: 1.4;
|
|
138
|
+
--leading-snug: 1.6;
|
|
139
|
+
--leading-normal: 1.8;
|
|
140
|
+
--leading-relaxed: 2;
|
|
141
|
+
--leading-loose: 2.2;
|
|
142
|
+
|
|
143
|
+
--breakpoint-xs: 576px;
|
|
144
|
+
--breakpoint-sm: 768px;
|
|
145
|
+
--breakpoint-md: 992px;
|
|
146
|
+
--breakpoint-lg: 1200px;
|
|
147
|
+
--breakpoint-xl: 1600px;
|
|
148
|
+
--breakpoint-2xl: 2000px;
|
|
149
|
+
|
|
150
|
+
--animate-glitch: glitch 2s infinite;
|
|
151
|
+
--animate-pulse: pulse 2s infinite;
|
|
152
|
+
--animate-bounce: bounce 2s infinite;
|
|
153
|
+
--animate-opacity: opacity 0.3s;
|
|
154
|
+
--animate-blink: blink 1s infinite;
|
|
155
|
+
/* Every easter egg opens the same way: a plain fade, no slide and no scale. */
|
|
156
|
+
--animate-ee-fade: ee-fade 0.35s ease-out both;
|
|
157
|
+
|
|
158
|
+
@keyframes ee-fade {
|
|
159
|
+
from {
|
|
160
|
+
opacity: 0;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
to {
|
|
164
|
+
opacity: 1;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
@keyframes glitch {
|
|
169
|
+
0%,
|
|
170
|
+
100% {
|
|
171
|
+
transform: translateX(0);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
20% {
|
|
175
|
+
transform: translateX(-6px);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
40% {
|
|
179
|
+
transform: translateX(6px);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
60% {
|
|
183
|
+
transform: translateX(-2px);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
80% {
|
|
187
|
+
transform: translateX(2px);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
@keyframes pulse {
|
|
192
|
+
0% {
|
|
193
|
+
box-shadow: 0 0 0 0 var(--color-accent-alpha-70);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
70% {
|
|
197
|
+
box-shadow: 0 0 0 10px var(--color-primary-alpha-0);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
100% {
|
|
201
|
+
box-shadow: 0 0 0 0 var(--color-primary-alpha-0);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@keyframes bounce {
|
|
206
|
+
0%,
|
|
207
|
+
20%,
|
|
208
|
+
50%,
|
|
209
|
+
80%,
|
|
210
|
+
100% {
|
|
211
|
+
transform: translateY(0);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
40% {
|
|
215
|
+
transform: translateY(-8px);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
60% {
|
|
219
|
+
transform: translateY(-4px);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@keyframes opacity {
|
|
224
|
+
0% {
|
|
225
|
+
opacity: 0;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
100% {
|
|
229
|
+
opacity: 1;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
@keyframes blink {
|
|
234
|
+
0%,
|
|
235
|
+
50% {
|
|
236
|
+
opacity: 1;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
51%,
|
|
240
|
+
100% {
|
|
241
|
+
opacity: 0;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@utility hide-scrollbar {
|
|
247
|
+
&::-webkit-scrollbar {
|
|
248
|
+
display: none;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
& {
|
|
252
|
+
scrollbar-width: none;
|
|
253
|
+
}
|
|
254
|
+
}
|