aeon-ui-engine 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/.changeset/README.md +23 -0
- package/.changeset/combobox-and-changesets.md +9 -0
- package/.changeset/config.json +30 -0
- package/.changeset/framework-adapters.md +12 -0
- package/.changeset/scene-3d.md +6 -0
- package/.changeset/scene-plane.md +8 -0
- package/.changeset/site-og.md +5 -0
- package/.cursor/rules/aeon-ui.mdc +22 -0
- package/ACCESSIBILITY.md +32 -0
- package/AGENTS.md +226 -0
- package/COMPONENTS.md +36 -0
- package/FRAMEWORKS.md +57 -0
- package/INTEGRATION.md +89 -0
- package/LICENSE +21 -0
- package/PHILOSOPHY.md +71 -0
- package/PUBLISHING.md +85 -0
- package/README.md +154 -0
- package/SCENE.md +113 -0
- package/STATES.md +243 -0
- package/apps/demo/index.html +31 -0
- package/apps/demo/og.config.mjs +15 -0
- package/apps/demo/package.json +41 -0
- package/apps/demo/public/favicon.svg +16 -0
- package/apps/demo/public/og.png +0 -0
- package/apps/demo/public/og.svg +35 -0
- package/apps/demo/scripts/generate-og-png.mjs +60 -0
- package/apps/demo/src/App.tsx +31 -0
- package/apps/demo/src/aeonDiagrams.ts +100 -0
- package/apps/demo/src/app.css +16 -0
- package/apps/demo/src/components/ActionCluster.tsx +20 -0
- package/apps/demo/src/components/AsyncMachineDemo.tsx +97 -0
- package/apps/demo/src/components/ButtonLifecycleDemo.tsx +63 -0
- package/apps/demo/src/components/CodeExample.tsx +7 -0
- package/apps/demo/src/components/ComboboxDemo.tsx +30 -0
- package/apps/demo/src/components/DiagramsSection.tsx +38 -0
- package/apps/demo/src/components/FieldStateDemo.tsx +51 -0
- package/apps/demo/src/components/GridMesh.tsx +8 -0
- package/apps/demo/src/components/HeroInstall.tsx +10 -0
- package/apps/demo/src/components/LandingFaq.tsx +29 -0
- package/apps/demo/src/components/LandingFooter.tsx +22 -0
- package/apps/demo/src/components/LandingHeader.tsx +60 -0
- package/apps/demo/src/components/LandingHero.tsx +55 -0
- package/apps/demo/src/components/LayersSection.tsx +51 -0
- package/apps/demo/src/components/MermaidDiagram.tsx +84 -0
- package/apps/demo/src/components/PhilosophySection.tsx +33 -0
- package/apps/demo/src/components/PlaygroundBlock.tsx +23 -0
- package/apps/demo/src/components/PlaygroundSection.tsx +204 -0
- package/apps/demo/src/components/SceneSection.tsx +157 -0
- package/apps/demo/src/components/ScrollRegionDemo.tsx +74 -0
- package/apps/demo/src/components/ThemeSwitcher.tsx +76 -0
- package/apps/demo/src/demo-layout.css +264 -0
- package/apps/demo/src/landing.css +1094 -0
- package/apps/demo/src/main.tsx +14 -0
- package/apps/demo/src/nav.ts +9 -0
- package/apps/demo/src/site.ts +347 -0
- package/apps/demo/tsconfig.json +17 -0
- package/apps/demo/vite-plugins/og-meta.ts +30 -0
- package/apps/demo/vite.config.ts +69 -0
- package/docs/API_PATTERNS.md +234 -0
- package/docs/ARCHITECTURE.md +125 -0
- package/docs/COMPONENT_CHECKLIST.md +103 -0
- package/docs/FILE_MAP.md +122 -0
- package/docs/GLOSSARY.md +125 -0
- package/docs/INDEX.md +53 -0
- package/docs/LAYOUT_COORDINATES.md +178 -0
- package/docs/MACHINES.md +166 -0
- package/docs/MIGRATION_FROM_ARK.md +295 -0
- package/docs/VITE_CONSUMER.md +114 -0
- package/package.json +25 -0
- package/packages/core/README.md +69 -0
- package/packages/core/package.json +37 -0
- package/packages/core/src/anatomy.ts +144 -0
- package/packages/core/src/attrs.ts +47 -0
- package/packages/core/src/index.ts +8 -0
- package/packages/core/src/layout.ts +176 -0
- package/packages/core/src/machine.test.ts +18 -0
- package/packages/core/src/machine.ts +15 -0
- package/packages/core/src/philosophy.ts +10 -0
- package/packages/core/src/scroll.ts +72 -0
- package/packages/core/src/theme.test.ts +14 -0
- package/packages/core/src/theme.ts +53 -0
- package/packages/core/src/types.ts +25 -0
- package/packages/core/theme-transition.css +58 -0
- package/packages/core/tsconfig.json +8 -0
- package/packages/core/vitest.config.ts +8 -0
- package/packages/geometry/README.md +7 -0
- package/packages/geometry/package.json +35 -0
- package/packages/geometry/src/index.ts +3 -0
- package/packages/geometry/src/patterns.ts +55 -0
- package/packages/geometry/src/scene-attrs.ts +11 -0
- package/packages/geometry/src/svg.ts +60 -0
- package/packages/geometry/tsconfig.json +8 -0
- package/packages/panda/README.md +66 -0
- package/packages/panda/package.json +40 -0
- package/packages/panda/panda.config.ts +229 -0
- package/packages/panda/scripts/emit-theme-runtime.ts +37 -0
- package/packages/panda/src/recipes/accordion.ts +95 -0
- package/packages/panda/src/recipes/async.ts +76 -0
- package/packages/panda/src/recipes/badge.ts +44 -0
- package/packages/panda/src/recipes/button-group.ts +33 -0
- package/packages/panda/src/recipes/button.ts +91 -0
- package/packages/panda/src/recipes/checkbox.ts +41 -0
- package/packages/panda/src/recipes/combobox.ts +121 -0
- package/packages/panda/src/recipes/dialog.ts +96 -0
- package/packages/panda/src/recipes/field-shared.ts +29 -0
- package/packages/panda/src/recipes/field.ts +72 -0
- package/packages/panda/src/recipes/floating.ts +170 -0
- package/packages/panda/src/recipes/index.ts +14 -0
- package/packages/panda/src/recipes/scroll-region.ts +55 -0
- package/packages/panda/src/recipes/select.ts +111 -0
- package/packages/panda/src/recipes/switch.ts +51 -0
- package/packages/panda/src/recipes/tabs.ts +50 -0
- package/packages/panda/src/theme/catalog-types.ts +24 -0
- package/packages/panda/src/theme/catalog.ts +73 -0
- package/packages/panda/src/theme/chrome.css +75 -0
- package/packages/panda/src/theme/global-theme-css.ts +42 -0
- package/packages/panda/src/theme/index.ts +5 -0
- package/packages/panda/src/theme/palette.ts +65 -0
- package/packages/panda/src/theme/scrollbars.css +96 -0
- package/packages/panda/src/theme/semantic-tokens.ts +17 -0
- package/packages/panda/src/theme/themes.config.ts +516 -0
- package/packages/panda/src/theme/tokens.ts +51 -0
- package/packages/panda/styled-system/css/conditions.mjs +36 -0
- package/packages/panda/styled-system/css/css.d.ts +22 -0
- package/packages/panda/styled-system/css/css.mjs +45 -0
- package/packages/panda/styled-system/css/cva.d.ts +6 -0
- package/packages/panda/styled-system/css/cva.mjs +87 -0
- package/packages/panda/styled-system/css/cx.d.ts +5 -0
- package/packages/panda/styled-system/css/cx.mjs +15 -0
- package/packages/panda/styled-system/css/index.d.ts +5 -0
- package/packages/panda/styled-system/css/index.mjs +4 -0
- package/packages/panda/styled-system/css/sva.d.ts +4 -0
- package/packages/panda/styled-system/css/sva.mjs +41 -0
- package/packages/panda/styled-system/helpers.mjs +339 -0
- package/packages/panda/styled-system/jsx/aspect-ratio.d.ts +10 -0
- package/packages/panda/styled-system/jsx/aspect-ratio.mjs +14 -0
- package/packages/panda/styled-system/jsx/bleed.d.ts +10 -0
- package/packages/panda/styled-system/jsx/bleed.mjs +14 -0
- package/packages/panda/styled-system/jsx/box.d.ts +10 -0
- package/packages/panda/styled-system/jsx/box.mjs +14 -0
- package/packages/panda/styled-system/jsx/center.d.ts +10 -0
- package/packages/panda/styled-system/jsx/center.mjs +14 -0
- package/packages/panda/styled-system/jsx/circle.d.ts +10 -0
- package/packages/panda/styled-system/jsx/circle.mjs +14 -0
- package/packages/panda/styled-system/jsx/container.d.ts +10 -0
- package/packages/panda/styled-system/jsx/container.mjs +14 -0
- package/packages/panda/styled-system/jsx/cq.d.ts +10 -0
- package/packages/panda/styled-system/jsx/cq.mjs +14 -0
- package/packages/panda/styled-system/jsx/divider.d.ts +10 -0
- package/packages/panda/styled-system/jsx/divider.mjs +14 -0
- package/packages/panda/styled-system/jsx/factory-helper.mjs +22 -0
- package/packages/panda/styled-system/jsx/factory.d.ts +3 -0
- package/packages/panda/styled-system/jsx/factory.mjs +80 -0
- package/packages/panda/styled-system/jsx/flex.d.ts +10 -0
- package/packages/panda/styled-system/jsx/flex.mjs +14 -0
- package/packages/panda/styled-system/jsx/float.d.ts +10 -0
- package/packages/panda/styled-system/jsx/float.mjs +14 -0
- package/packages/panda/styled-system/jsx/grid-item.d.ts +10 -0
- package/packages/panda/styled-system/jsx/grid-item.mjs +14 -0
- package/packages/panda/styled-system/jsx/grid.d.ts +10 -0
- package/packages/panda/styled-system/jsx/grid.mjs +14 -0
- package/packages/panda/styled-system/jsx/hstack.d.ts +10 -0
- package/packages/panda/styled-system/jsx/hstack.mjs +14 -0
- package/packages/panda/styled-system/jsx/index.d.ts +24 -0
- package/packages/panda/styled-system/jsx/index.mjs +22 -0
- package/packages/panda/styled-system/jsx/is-valid-prop.d.ts +11 -0
- package/packages/panda/styled-system/jsx/is-valid-prop.mjs +17 -0
- package/packages/panda/styled-system/jsx/link-overlay.d.ts +10 -0
- package/packages/panda/styled-system/jsx/link-overlay.mjs +14 -0
- package/packages/panda/styled-system/jsx/spacer.d.ts +10 -0
- package/packages/panda/styled-system/jsx/spacer.mjs +14 -0
- package/packages/panda/styled-system/jsx/square.d.ts +10 -0
- package/packages/panda/styled-system/jsx/square.mjs +14 -0
- package/packages/panda/styled-system/jsx/stack.d.ts +10 -0
- package/packages/panda/styled-system/jsx/stack.mjs +14 -0
- package/packages/panda/styled-system/jsx/visually-hidden.d.ts +10 -0
- package/packages/panda/styled-system/jsx/visually-hidden.mjs +14 -0
- package/packages/panda/styled-system/jsx/vstack.d.ts +10 -0
- package/packages/panda/styled-system/jsx/vstack.mjs +14 -0
- package/packages/panda/styled-system/jsx/wrap.d.ts +10 -0
- package/packages/panda/styled-system/jsx/wrap.mjs +14 -0
- package/packages/panda/styled-system/patterns/aspect-ratio.d.ts +21 -0
- package/packages/panda/styled-system/patterns/aspect-ratio.mjs +38 -0
- package/packages/panda/styled-system/patterns/bleed.d.ts +22 -0
- package/packages/panda/styled-system/patterns/bleed.mjs +24 -0
- package/packages/panda/styled-system/patterns/box.d.ts +21 -0
- package/packages/panda/styled-system/patterns/box.mjs +15 -0
- package/packages/panda/styled-system/patterns/center.d.ts +21 -0
- package/packages/panda/styled-system/patterns/center.mjs +21 -0
- package/packages/panda/styled-system/patterns/circle.d.ts +21 -0
- package/packages/panda/styled-system/patterns/circle.mjs +25 -0
- package/packages/panda/styled-system/patterns/container.d.ts +21 -0
- package/packages/panda/styled-system/patterns/container.mjs +21 -0
- package/packages/panda/styled-system/patterns/cq.d.ts +22 -0
- package/packages/panda/styled-system/patterns/cq.mjs +21 -0
- package/packages/panda/styled-system/patterns/divider.d.ts +23 -0
- package/packages/panda/styled-system/patterns/divider.mjs +25 -0
- package/packages/panda/styled-system/patterns/flex.d.ts +27 -0
- package/packages/panda/styled-system/patterns/flex.mjs +26 -0
- package/packages/panda/styled-system/patterns/float.d.ts +24 -0
- package/packages/panda/styled-system/patterns/float.mjs +52 -0
- package/packages/panda/styled-system/patterns/grid-item.d.ts +26 -0
- package/packages/panda/styled-system/patterns/grid-item.mjs +25 -0
- package/packages/panda/styled-system/patterns/grid.d.ts +25 -0
- package/packages/panda/styled-system/patterns/grid.mjs +27 -0
- package/packages/panda/styled-system/patterns/hstack.d.ts +22 -0
- package/packages/panda/styled-system/patterns/hstack.mjs +24 -0
- package/packages/panda/styled-system/patterns/index.d.ts +21 -0
- package/packages/panda/styled-system/patterns/index.mjs +20 -0
- package/packages/panda/styled-system/patterns/link-overlay.d.ts +21 -0
- package/packages/panda/styled-system/patterns/link-overlay.mjs +24 -0
- package/packages/panda/styled-system/patterns/spacer.d.ts +21 -0
- package/packages/panda/styled-system/patterns/spacer.mjs +21 -0
- package/packages/panda/styled-system/patterns/square.d.ts +21 -0
- package/packages/panda/styled-system/patterns/square.mjs +24 -0
- package/packages/panda/styled-system/patterns/stack.d.ts +24 -0
- package/packages/panda/styled-system/patterns/stack.mjs +24 -0
- package/packages/panda/styled-system/patterns/visually-hidden.d.ts +21 -0
- package/packages/panda/styled-system/patterns/visually-hidden.mjs +18 -0
- package/packages/panda/styled-system/patterns/vstack.d.ts +22 -0
- package/packages/panda/styled-system/patterns/vstack.mjs +24 -0
- package/packages/panda/styled-system/patterns/wrap.d.ts +25 -0
- package/packages/panda/styled-system/patterns/wrap.mjs +25 -0
- package/packages/panda/styled-system/recipes/aeon-accordion.d.ts +32 -0
- package/packages/panda/styled-system/recipes/aeon-accordion.mjs +48 -0
- package/packages/panda/styled-system/recipes/aeon-async.d.ts +32 -0
- package/packages/panda/styled-system/recipes/aeon-async.mjs +56 -0
- package/packages/panda/styled-system/recipes/aeon-badge.d.ts +31 -0
- package/packages/panda/styled-system/recipes/aeon-badge.mjs +32 -0
- package/packages/panda/styled-system/recipes/aeon-button-group.d.ts +39 -0
- package/packages/panda/styled-system/recipes/aeon-button-group.mjs +37 -0
- package/packages/panda/styled-system/recipes/aeon-button.d.ts +39 -0
- package/packages/panda/styled-system/recipes/aeon-button.mjs +39 -0
- package/packages/panda/styled-system/recipes/aeon-checkbox.d.ts +28 -0
- package/packages/panda/styled-system/recipes/aeon-checkbox.mjs +48 -0
- package/packages/panda/styled-system/recipes/aeon-combobox.d.ts +32 -0
- package/packages/panda/styled-system/recipes/aeon-combobox.mjs +52 -0
- package/packages/panda/styled-system/recipes/aeon-dialog.d.ts +28 -0
- package/packages/panda/styled-system/recipes/aeon-dialog.mjs +60 -0
- package/packages/panda/styled-system/recipes/aeon-field.d.ts +32 -0
- package/packages/panda/styled-system/recipes/aeon-field.mjs +52 -0
- package/packages/panda/styled-system/recipes/aeon-menu.d.ts +28 -0
- package/packages/panda/styled-system/recipes/aeon-menu.mjs +52 -0
- package/packages/panda/styled-system/recipes/aeon-popover.d.ts +28 -0
- package/packages/panda/styled-system/recipes/aeon-popover.mjs +52 -0
- package/packages/panda/styled-system/recipes/aeon-scroll.d.ts +43 -0
- package/packages/panda/styled-system/recipes/aeon-scroll.mjs +63 -0
- package/packages/panda/styled-system/recipes/aeon-select.d.ts +32 -0
- package/packages/panda/styled-system/recipes/aeon-select.mjs +56 -0
- package/packages/panda/styled-system/recipes/aeon-switch.d.ts +28 -0
- package/packages/panda/styled-system/recipes/aeon-switch.mjs +48 -0
- package/packages/panda/styled-system/recipes/aeon-tabs.d.ts +28 -0
- package/packages/panda/styled-system/recipes/aeon-tabs.mjs +48 -0
- package/packages/panda/styled-system/recipes/aeon-toast.d.ts +28 -0
- package/packages/panda/styled-system/recipes/aeon-toast.mjs +48 -0
- package/packages/panda/styled-system/recipes/aeon-tooltip.d.ts +28 -0
- package/packages/panda/styled-system/recipes/aeon-tooltip.mjs +48 -0
- package/packages/panda/styled-system/recipes/create-recipe.mjs +82 -0
- package/packages/panda/styled-system/recipes/index.d.ts +18 -0
- package/packages/panda/styled-system/recipes/index.mjs +17 -0
- package/packages/panda/styled-system/styles.css +2157 -0
- package/packages/panda/styled-system/tokens/index.d.ts +9 -0
- package/packages/panda/styled-system/tokens/index.mjs +2156 -0
- package/packages/panda/styled-system/tokens/tokens.d.ts +60 -0
- package/packages/panda/styled-system/types/composition.d.ts +164 -0
- package/packages/panda/styled-system/types/conditions.d.ts +322 -0
- package/packages/panda/styled-system/types/csstype.d.ts +21298 -0
- package/packages/panda/styled-system/types/global.d.ts +20 -0
- package/packages/panda/styled-system/types/index.d.ts +8 -0
- package/packages/panda/styled-system/types/jsx.d.ts +52 -0
- package/packages/panda/styled-system/types/parts.d.ts +8 -0
- package/packages/panda/styled-system/types/pattern.d.ts +78 -0
- package/packages/panda/styled-system/types/prop-type.d.ts +240 -0
- package/packages/panda/styled-system/types/recipe.d.ts +181 -0
- package/packages/panda/styled-system/types/selectors.d.ts +59 -0
- package/packages/panda/styled-system/types/static-css.d.ts +56 -0
- package/packages/panda/styled-system/types/style-props.d.ts +7491 -0
- package/packages/panda/styled-system/types/system-types.d.ts +193 -0
- package/packages/panda/theme-runtime.css +842 -0
- package/packages/panda/tsconfig.json +8 -0
- package/packages/primitives/README.md +54 -0
- package/packages/primitives/package.json +41 -0
- package/packages/primitives/src/__tests__/floating-surface.test.ts +29 -0
- package/packages/primitives/src/index.ts +9 -0
- package/packages/primitives/src/machines/accordion.ts +56 -0
- package/packages/primitives/src/machines/async.ts +108 -0
- package/packages/primitives/src/machines/button.ts +66 -0
- package/packages/primitives/src/machines/dialog.ts +61 -0
- package/packages/primitives/src/machines/field.ts +85 -0
- package/packages/primitives/src/machines/popover.ts +52 -0
- package/packages/primitives/src/machines/tabs.ts +46 -0
- package/packages/primitives/src/machines/toast.ts +48 -0
- package/packages/primitives/src/machines/toggle.ts +61 -0
- package/packages/primitives/tsconfig.json +8 -0
- package/packages/primitives/vitest.config.ts +8 -0
- package/packages/react/README.md +65 -0
- package/packages/react/package.json +52 -0
- package/packages/react/src/accordion/index.tsx +179 -0
- package/packages/react/src/async/actions.tsx +22 -0
- package/packages/react/src/async/context.tsx +54 -0
- package/packages/react/src/async/index.tsx +21 -0
- package/packages/react/src/async/legacy-region.tsx +38 -0
- package/packages/react/src/async/readout.tsx +34 -0
- package/packages/react/src/async/root.tsx +39 -0
- package/packages/react/src/async/track.tsx +59 -0
- package/packages/react/src/avatar/avatar.test.tsx +27 -0
- package/packages/react/src/avatar/index.tsx +122 -0
- package/packages/react/src/button/index.tsx +70 -0
- package/packages/react/src/checkbox/index.tsx +180 -0
- package/packages/react/src/combobox/index.tsx +430 -0
- package/packages/react/src/dialog/dialog.test.tsx +50 -0
- package/packages/react/src/dialog/index.tsx +275 -0
- package/packages/react/src/field/index.tsx +172 -0
- package/packages/react/src/hooks/use-aeon-machine.ts +10 -0
- package/packages/react/src/hooks/use-anchor-position.ts +33 -0
- package/packages/react/src/hooks/use-focus-trap.ts +51 -0
- package/packages/react/src/hooks/use-layout-mode.ts +22 -0
- package/packages/react/src/hooks/use-outside-click.ts +19 -0
- package/packages/react/src/hooks/use-portalled.ts +16 -0
- package/packages/react/src/hooks/use-scroll-lock.ts +13 -0
- package/packages/react/src/index.ts +18 -0
- package/packages/react/src/menu/index.tsx +195 -0
- package/packages/react/src/popover/index.tsx +191 -0
- package/packages/react/src/scroll/index.tsx +98 -0
- package/packages/react/src/scroll/use-scroll-state.ts +30 -0
- package/packages/react/src/select/index.tsx +372 -0
- package/packages/react/src/select/select.test.tsx +60 -0
- package/packages/react/src/switch/index.tsx +215 -0
- package/packages/react/src/tabs/index.tsx +140 -0
- package/packages/react/src/toast/context.tsx +28 -0
- package/packages/react/src/toast/index.tsx +20 -0
- package/packages/react/src/toast/primitives.tsx +129 -0
- package/packages/react/src/toast/provider.tsx +111 -0
- package/packages/react/src/toast/toast-item.tsx +32 -0
- package/packages/react/src/tooltip/index.tsx +191 -0
- package/packages/react/src/utils/merge-props.ts +24 -0
- package/packages/react/tsconfig.json +8 -0
- package/packages/react/vitest.config.ts +9 -0
- package/packages/react/vitest.setup.ts +5 -0
- package/packages/react-scene/README.md +11 -0
- package/packages/react-scene/package.json +47 -0
- package/packages/react-scene/scene-3d.css +37 -0
- package/packages/react-scene/scene-room.css +95 -0
- package/packages/react-scene/src/index.ts +20 -0
- package/packages/react-scene/src/procedural-grid.tsx +35 -0
- package/packages/react-scene/src/scene-layer.tsx +38 -0
- package/packages/react-scene/src/scene-plane.tsx +69 -0
- package/packages/react-scene/src/scene-room.tsx +81 -0
- package/packages/react-scene/src/scene-root.tsx +49 -0
- package/packages/react-scene/src/scene-slot.tsx +41 -0
- package/packages/react-scene/src/scene-stage.tsx +37 -0
- package/packages/react-scene/src/scene-surface.tsx +20 -0
- package/packages/react-scene/src/signal-bars.tsx +57 -0
- package/packages/react-scene/src/use-signal-visualizer.ts +103 -0
- package/packages/react-scene/tsconfig.json +8 -0
- package/packages/scene/README.md +5 -0
- package/packages/scene/package.json +32 -0
- package/packages/scene/src/index.ts +2 -0
- package/packages/scene/src/room.ts +40 -0
- package/packages/scene/src/transform.ts +60 -0
- package/packages/scene/tsconfig.json +8 -0
- package/packages/signal/README.md +9 -0
- package/packages/signal/package.json +32 -0
- package/packages/signal/src/analyser.ts +113 -0
- package/packages/signal/src/bands.ts +33 -0
- package/packages/signal/src/index.ts +3 -0
- package/packages/signal/src/motion.ts +80 -0
- package/packages/signal/tsconfig.json +8 -0
- package/packages/site/README.md +19 -0
- package/packages/site/package.json +32 -0
- package/packages/site/src/index.ts +8 -0
- package/packages/site/src/open-graph.ts +90 -0
- package/packages/site/tsconfig.json +8 -0
- package/packages/solid/README.md +30 -0
- package/packages/solid/package.json +42 -0
- package/packages/solid/src/hooks/use-aeon-machine.ts +10 -0
- package/packages/solid/src/index.ts +2 -0
- package/packages/solid/src/switch/index.tsx +191 -0
- package/packages/solid/src/utils/merge-props.ts +3 -0
- package/packages/solid/tsconfig.json +10 -0
- package/packages/surface/README.md +10 -0
- package/packages/surface/package.json +33 -0
- package/packages/surface/src/index.ts +1 -0
- package/packages/surface/src/materials.ts +14 -0
- package/packages/surface/surface.css +113 -0
- package/packages/surface/tsconfig.json +8 -0
- package/packages/svelte/README.md +45 -0
- package/packages/svelte/package.json +49 -0
- package/packages/svelte/src/Switch.svelte +86 -0
- package/packages/svelte/src/SwitchControl.svelte +45 -0
- package/packages/svelte/src/SwitchHiddenInput.svelte +12 -0
- package/packages/svelte/src/SwitchLabel.svelte +9 -0
- package/packages/svelte/src/SwitchThumb.svelte +16 -0
- package/packages/svelte/src/hooks/use-aeon-machine.ts +23 -0
- package/packages/svelte/src/index.ts +2 -0
- package/packages/svelte/src/switch-context.ts +13 -0
- package/packages/svelte/tsconfig.json +8 -0
- package/packages/ui/README.md +63 -0
- package/packages/ui/package.json +45 -0
- package/packages/ui/src/accordion.tsx +27 -0
- package/packages/ui/src/async.tsx +43 -0
- package/packages/ui/src/badge.tsx +18 -0
- package/packages/ui/src/button.tsx +38 -0
- package/packages/ui/src/checkbox.tsx +24 -0
- package/packages/ui/src/cn.ts +1 -0
- package/packages/ui/src/combobox.tsx +29 -0
- package/packages/ui/src/dialog.tsx +32 -0
- package/packages/ui/src/field.tsx +33 -0
- package/packages/ui/src/index.ts +17 -0
- package/packages/ui/src/menu.tsx +25 -0
- package/packages/ui/src/popover.tsx +22 -0
- package/packages/ui/src/scroll.tsx +51 -0
- package/packages/ui/src/select.tsx +33 -0
- package/packages/ui/src/styles.css +2 -0
- package/packages/ui/src/switch.tsx +22 -0
- package/packages/ui/src/tabs.tsx +22 -0
- package/packages/ui/src/toast.tsx +36 -0
- package/packages/ui/src/tooltip.tsx +19 -0
- package/packages/ui/tsconfig.json +12 -0
- package/packages/vue/README.md +40 -0
- package/packages/vue/package.json +42 -0
- package/packages/vue/src/hooks/use-aeon-machine.ts +10 -0
- package/packages/vue/src/index.ts +2 -0
- package/packages/vue/src/switch/index.ts +208 -0
- package/packages/vue/src/utils/part-props.ts +8 -0
- package/packages/vue/tsconfig.json +8 -0
- package/pnpm-workspace.yaml +3 -0
- package/scripts/ensure-headless-built.mjs +25 -0
- package/tsconfig.base.json +21 -0
- package/vercel.json +12 -0
|
@@ -0,0 +1,1094 @@
|
|
|
1
|
+
/* Landing layout — voice & rhythm aligned with spidercorp.xyz */
|
|
2
|
+
:root {
|
|
3
|
+
--font-display: 'Syne', system-ui, sans-serif;
|
|
4
|
+
--font-body: 'Instrument Sans', system-ui, sans-serif;
|
|
5
|
+
--max: 1080px;
|
|
6
|
+
--header-h: 3.15rem;
|
|
7
|
+
--gutter: clamp(1.25rem, 4vw, 2rem);
|
|
8
|
+
--section-y: clamp(4rem, 8vw, 6rem);
|
|
9
|
+
--radius-lg: 10px;
|
|
10
|
+
--grid-line: var(--aeon-grid-line, rgba(255, 255, 255, 0.05));
|
|
11
|
+
--bg-card: var(--aeon-surface);
|
|
12
|
+
--bg-elevated: var(--aeon-surface-raised);
|
|
13
|
+
--border: var(--aeon-border);
|
|
14
|
+
--border-strong: color-mix(in srgb, var(--aeon-border) 70%, var(--aeon-text));
|
|
15
|
+
--text-muted: var(--aeon-muted);
|
|
16
|
+
--site-header-offset: var(--header-h);
|
|
17
|
+
/* Header chrome — mode toggles, theme select, CTA share one height */
|
|
18
|
+
--header-control-h: 2.25rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.landing {
|
|
22
|
+
position: relative;
|
|
23
|
+
z-index: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.container {
|
|
27
|
+
width: min(var(--max), 100% - 2 * var(--gutter));
|
|
28
|
+
margin-inline: auto;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.section {
|
|
32
|
+
padding-block: var(--section-y);
|
|
33
|
+
scroll-margin-top: calc(var(--site-header-offset) + 1rem);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.section-header {
|
|
37
|
+
margin-bottom: clamp(2rem, 4vw, 2.75rem);
|
|
38
|
+
max-width: 40rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.section-label {
|
|
42
|
+
display: block;
|
|
43
|
+
font-size: 0.7rem;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
letter-spacing: 0.16em;
|
|
46
|
+
text-transform: uppercase;
|
|
47
|
+
color: var(--aeon-accent);
|
|
48
|
+
margin: 0 0 0.75rem;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.section-title {
|
|
52
|
+
font-family: var(--font-display);
|
|
53
|
+
font-size: clamp(1.85rem, 4.5vw, 2.75rem);
|
|
54
|
+
font-weight: 700;
|
|
55
|
+
line-height: 1.1;
|
|
56
|
+
letter-spacing: -0.03em;
|
|
57
|
+
margin: 0 0 0.85rem;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.section-lead {
|
|
61
|
+
font-size: 1.05rem;
|
|
62
|
+
color: var(--text-muted);
|
|
63
|
+
max-width: 40rem;
|
|
64
|
+
margin: 0;
|
|
65
|
+
line-height: 1.65;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.text-accent {
|
|
69
|
+
color: var(--aeon-accent);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* Shared shell — full-width top accent follows border-radius */
|
|
73
|
+
.panel {
|
|
74
|
+
position: relative;
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
background: var(--bg-card);
|
|
77
|
+
border: 1px solid var(--border);
|
|
78
|
+
border-radius: var(--radius-lg);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.panel::before {
|
|
82
|
+
content: '';
|
|
83
|
+
position: absolute;
|
|
84
|
+
top: 0;
|
|
85
|
+
left: 0;
|
|
86
|
+
right: 0;
|
|
87
|
+
height: 2px;
|
|
88
|
+
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
89
|
+
background: linear-gradient(
|
|
90
|
+
90deg,
|
|
91
|
+
var(--aeon-accent) 0%,
|
|
92
|
+
color-mix(in srgb, var(--aeon-accent) 55%, transparent) 45%,
|
|
93
|
+
color-mix(in srgb, var(--aeon-accent) 18%, transparent) 100%
|
|
94
|
+
);
|
|
95
|
+
pointer-events: none;
|
|
96
|
+
z-index: 1;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.grid-mesh {
|
|
100
|
+
position: fixed;
|
|
101
|
+
inset: -100vmax;
|
|
102
|
+
z-index: 0;
|
|
103
|
+
pointer-events: none;
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
background: var(--aeon-bg);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.grid-mesh__lines {
|
|
109
|
+
position: absolute;
|
|
110
|
+
inset: 0;
|
|
111
|
+
background-image:
|
|
112
|
+
linear-gradient(var(--grid-line) 1px, transparent 1px),
|
|
113
|
+
linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
|
|
114
|
+
background-size: 48px 48px;
|
|
115
|
+
mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, black 15%, transparent 72%);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.grid-mesh__vignette {
|
|
119
|
+
position: absolute;
|
|
120
|
+
inset: 0;
|
|
121
|
+
background: radial-gradient(ellipse at 50% 0%, transparent 0%, var(--aeon-bg) 70%);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* Header */
|
|
125
|
+
.landing-header {
|
|
126
|
+
position: sticky;
|
|
127
|
+
top: 0;
|
|
128
|
+
z-index: 40;
|
|
129
|
+
border-bottom: 1px solid transparent;
|
|
130
|
+
background: color-mix(in srgb, var(--aeon-bg) 94%, transparent);
|
|
131
|
+
backdrop-filter: blur(12px);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.landing-header--scrolled {
|
|
135
|
+
border-bottom-color: var(--border);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.landing-header__shell {
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-wrap: nowrap;
|
|
141
|
+
align-items: center;
|
|
142
|
+
justify-content: space-between;
|
|
143
|
+
gap: clamp(0.4rem, 2vw, 1rem);
|
|
144
|
+
min-height: var(--header-h);
|
|
145
|
+
padding-inline: var(--gutter);
|
|
146
|
+
max-width: var(--max);
|
|
147
|
+
margin-inline: auto;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.landing-header__brand {
|
|
151
|
+
flex: 0 1 auto;
|
|
152
|
+
min-width: 0;
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
white-space: nowrap;
|
|
156
|
+
font-family: var(--font-display);
|
|
157
|
+
font-weight: 700;
|
|
158
|
+
font-size: clamp(0.95rem, 3.5vw, 1.25rem);
|
|
159
|
+
letter-spacing: -0.03em;
|
|
160
|
+
line-height: 1.1;
|
|
161
|
+
color: var(--aeon-text);
|
|
162
|
+
text-decoration: none;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.landing-header__brand span {
|
|
166
|
+
color: var(--aeon-accent);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.landing-header__nav {
|
|
170
|
+
display: none;
|
|
171
|
+
gap: 1.25rem;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@media (min-width: 720px) {
|
|
175
|
+
.landing-header__nav {
|
|
176
|
+
display: flex;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.landing-header__nav a {
|
|
181
|
+
font-size: 0.8rem;
|
|
182
|
+
font-weight: 500;
|
|
183
|
+
letter-spacing: 0.04em;
|
|
184
|
+
color: var(--text-muted);
|
|
185
|
+
text-decoration: none;
|
|
186
|
+
padding: 0.35rem 0.7rem;
|
|
187
|
+
border-radius: var(--aeon-radius);
|
|
188
|
+
transition:
|
|
189
|
+
color 0.2s ease,
|
|
190
|
+
background 0.2s ease;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.landing-header__nav a:hover {
|
|
194
|
+
color: var(--aeon-text);
|
|
195
|
+
background: color-mix(in srgb, var(--aeon-surface-raised) 80%, transparent);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.landing-header__nav a.is-active {
|
|
199
|
+
color: var(--aeon-accent);
|
|
200
|
+
background: var(--aeon-accent-dim);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.landing-header__utilities {
|
|
204
|
+
display: flex;
|
|
205
|
+
flex-wrap: nowrap;
|
|
206
|
+
align-items: center;
|
|
207
|
+
gap: clamp(0.35rem, 1.5vw, 0.5rem);
|
|
208
|
+
flex: 0 1 auto;
|
|
209
|
+
min-width: 0;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.landing-header__cta {
|
|
213
|
+
display: inline-flex;
|
|
214
|
+
align-items: center;
|
|
215
|
+
flex-shrink: 0;
|
|
216
|
+
align-self: center;
|
|
217
|
+
text-decoration: none;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/* Theme switcher — segmented light/dark + preset select */
|
|
221
|
+
.theme-switcher {
|
|
222
|
+
display: flex;
|
|
223
|
+
flex-wrap: nowrap;
|
|
224
|
+
align-items: center;
|
|
225
|
+
gap: clamp(0.35rem, 1.5vw, 0.5rem);
|
|
226
|
+
min-width: 0;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.theme-switcher__modes {
|
|
230
|
+
display: inline-flex;
|
|
231
|
+
align-items: center;
|
|
232
|
+
gap: 0.125rem;
|
|
233
|
+
flex-shrink: 0;
|
|
234
|
+
padding: 0.15rem;
|
|
235
|
+
border: 1px solid var(--aeon-border);
|
|
236
|
+
border-radius: var(--aeon-radius);
|
|
237
|
+
background: color-mix(in srgb, var(--aeon-surface) 92%, var(--aeon-bg));
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.theme-switcher__mode-btn {
|
|
241
|
+
min-width: 2.75rem;
|
|
242
|
+
margin: 0 !important;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.theme-switcher__mode-btn[aria-pressed='true'] {
|
|
246
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.theme-switcher__theme-select {
|
|
250
|
+
width: 6.5rem;
|
|
251
|
+
max-width: 24vw;
|
|
252
|
+
min-width: 0;
|
|
253
|
+
flex-shrink: 1;
|
|
254
|
+
height: var(--header-control-h);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.theme-switcher__theme-select [data-aeon-part='trigger'] {
|
|
258
|
+
min-height: var(--header-control-h);
|
|
259
|
+
height: 100%;
|
|
260
|
+
max-width: 100%;
|
|
261
|
+
overflow: hidden;
|
|
262
|
+
text-overflow: ellipsis;
|
|
263
|
+
white-space: nowrap;
|
|
264
|
+
padding-inline: 0.5rem 1.75rem;
|
|
265
|
+
font-size: 0.7rem;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
@media (max-width: 420px) {
|
|
269
|
+
:root {
|
|
270
|
+
--header-control-h: 2rem;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.landing-header__shell {
|
|
274
|
+
gap: 0.35rem;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.landing-header__brand {
|
|
278
|
+
font-size: 0.9rem;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.theme-switcher {
|
|
282
|
+
gap: 0.3rem;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.theme-switcher__modes {
|
|
286
|
+
padding: 0.1rem;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.theme-switcher__mode-btn {
|
|
290
|
+
min-width: 0;
|
|
291
|
+
padding-inline: 0.4rem !important;
|
|
292
|
+
font-size: 0.625rem !important;
|
|
293
|
+
letter-spacing: 0.02em;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.theme-switcher__theme-select {
|
|
297
|
+
width: 4.75rem;
|
|
298
|
+
max-width: 20vw;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.theme-switcher__theme-select [data-aeon-part='trigger'] {
|
|
302
|
+
padding-inline: 0.4rem 1.5rem;
|
|
303
|
+
font-size: 0.625rem;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.landing-header__cta [data-aeon-scope='button'][data-aeon-part='root'] {
|
|
307
|
+
min-height: var(--header-control-h);
|
|
308
|
+
padding-inline: 0.45rem !important;
|
|
309
|
+
font-size: 0.625rem;
|
|
310
|
+
letter-spacing: 0.04em;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.landing-header__cta-label--long {
|
|
314
|
+
display: none;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.landing-header__cta-label--short {
|
|
318
|
+
display: inline;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.sr-only {
|
|
323
|
+
position: absolute;
|
|
324
|
+
width: 1px;
|
|
325
|
+
height: 1px;
|
|
326
|
+
padding: 0;
|
|
327
|
+
margin: -1px;
|
|
328
|
+
overflow: hidden;
|
|
329
|
+
clip: rect(0, 0, 0, 0);
|
|
330
|
+
white-space: nowrap;
|
|
331
|
+
border: 0;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/* Header CTA — same vertical rhythm as mode toggles + select */
|
|
335
|
+
.landing-header__cta [data-aeon-scope='button'][data-aeon-part='root'] {
|
|
336
|
+
min-height: var(--header-control-h);
|
|
337
|
+
letter-spacing: 0.06em;
|
|
338
|
+
text-transform: uppercase;
|
|
339
|
+
font-size: 0.75rem;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.landing-header__cta-label--short {
|
|
343
|
+
display: none;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/* Hero */
|
|
347
|
+
.hero {
|
|
348
|
+
padding-top: clamp(2.5rem, 6vw, 4rem);
|
|
349
|
+
padding-bottom: clamp(1.25rem, 3vw, 2rem);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/* One-line install — above hero CTAs */
|
|
353
|
+
.hero__copy .hero-install__line {
|
|
354
|
+
margin: 0 0 1rem;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.hero-install__line {
|
|
358
|
+
display: flex;
|
|
359
|
+
flex-wrap: nowrap;
|
|
360
|
+
align-items: center;
|
|
361
|
+
gap: 0.65rem;
|
|
362
|
+
margin: 0;
|
|
363
|
+
padding: 0.6rem 0.85rem;
|
|
364
|
+
border: 1px solid var(--border);
|
|
365
|
+
border-radius: var(--radius-lg);
|
|
366
|
+
background: color-mix(in srgb, var(--aeon-surface) 90%, var(--aeon-bg));
|
|
367
|
+
overflow-x: auto;
|
|
368
|
+
-webkit-overflow-scrolling: touch;
|
|
369
|
+
scrollbar-width: thin;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.hero-install__label {
|
|
373
|
+
flex-shrink: 0;
|
|
374
|
+
font-size: 0.65rem;
|
|
375
|
+
font-weight: 600;
|
|
376
|
+
letter-spacing: 0.14em;
|
|
377
|
+
text-transform: uppercase;
|
|
378
|
+
color: var(--aeon-accent);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.hero-install__access {
|
|
382
|
+
flex: 1 1 auto;
|
|
383
|
+
min-width: 0;
|
|
384
|
+
margin: 0;
|
|
385
|
+
padding: 0;
|
|
386
|
+
font-family: var(--font-display);
|
|
387
|
+
font-size: clamp(0.85rem, 3.2vw, 1.05rem);
|
|
388
|
+
font-weight: 700;
|
|
389
|
+
letter-spacing: 0.12em;
|
|
390
|
+
line-height: 1.3;
|
|
391
|
+
white-space: nowrap;
|
|
392
|
+
color: var(--aeon-text);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.hero__eyebrow {
|
|
396
|
+
margin: 0 0 1rem;
|
|
397
|
+
font-size: 0.68rem;
|
|
398
|
+
font-weight: 600;
|
|
399
|
+
letter-spacing: 0.14em;
|
|
400
|
+
text-transform: uppercase;
|
|
401
|
+
color: var(--text-muted);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.hero__title {
|
|
405
|
+
font-family: var(--font-display);
|
|
406
|
+
font-size: clamp(2rem, 5.5vw, 3.35rem);
|
|
407
|
+
font-weight: 700;
|
|
408
|
+
line-height: 1.06;
|
|
409
|
+
letter-spacing: -0.04em;
|
|
410
|
+
margin: 0 0 1rem;
|
|
411
|
+
max-width: 18ch;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.hero__lead {
|
|
415
|
+
margin: 0 0 0.35rem;
|
|
416
|
+
font-size: 1.0625rem;
|
|
417
|
+
font-weight: 500;
|
|
418
|
+
color: var(--text-muted);
|
|
419
|
+
max-width: 44ch;
|
|
420
|
+
line-height: 1.6;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.hero__sub {
|
|
424
|
+
margin: 0 0 1.5rem;
|
|
425
|
+
font-size: 0.98rem;
|
|
426
|
+
color: color-mix(in srgb, var(--text-muted) 82%, transparent);
|
|
427
|
+
max-width: 42ch;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.hero__actions {
|
|
431
|
+
margin-bottom: 2rem;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.hero__actions a {
|
|
435
|
+
text-decoration: none;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.hero__stats {
|
|
439
|
+
display: flex;
|
|
440
|
+
margin: 0;
|
|
441
|
+
padding: 0;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.hero__stat {
|
|
445
|
+
flex: 1 1 0;
|
|
446
|
+
min-width: 0;
|
|
447
|
+
display: flex;
|
|
448
|
+
flex-direction: column;
|
|
449
|
+
gap: 0.35rem;
|
|
450
|
+
padding: 1.05rem 1.1rem 1rem;
|
|
451
|
+
border-right: 1px solid var(--border);
|
|
452
|
+
background: transparent;
|
|
453
|
+
transition: background 0.2s ease;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.hero__stat:last-child {
|
|
457
|
+
border-right: none;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.hero__stat[data-aeon-state='active'] {
|
|
461
|
+
background: color-mix(in srgb, var(--aeon-accent-dim) 28%, transparent);
|
|
462
|
+
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--aeon-accent) 35%, transparent);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.hero__stat-label {
|
|
466
|
+
font-size: 0.65rem;
|
|
467
|
+
font-weight: 600;
|
|
468
|
+
letter-spacing: 0.12em;
|
|
469
|
+
text-transform: uppercase;
|
|
470
|
+
color: var(--text-muted);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.hero__stat-detail {
|
|
474
|
+
font-family: var(--font-display);
|
|
475
|
+
font-size: 0.8125rem;
|
|
476
|
+
font-weight: 500;
|
|
477
|
+
line-height: 1.35;
|
|
478
|
+
color: var(--aeon-text);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
@media (max-width: 640px) {
|
|
482
|
+
.hero__stats {
|
|
483
|
+
flex-direction: column;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.hero__stat {
|
|
487
|
+
border-right: none;
|
|
488
|
+
border-bottom: 1px solid var(--border);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.hero__stat:last-child {
|
|
492
|
+
border-bottom: none;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.hero__visual {
|
|
497
|
+
margin-top: 2.5rem;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
@media (min-width: 900px) {
|
|
501
|
+
.hero__grid {
|
|
502
|
+
display: grid;
|
|
503
|
+
grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
|
|
504
|
+
gap: clamp(2rem, 4vw, 3rem);
|
|
505
|
+
align-items: center;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.hero__visual {
|
|
509
|
+
margin-top: 0;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.state-card {
|
|
514
|
+
padding: 1.15rem var(--aeon-pad-lg) var(--aeon-pad-lg);
|
|
515
|
+
min-width: 0;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.state-card .machine-console {
|
|
519
|
+
width: 100%;
|
|
520
|
+
min-width: 0;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.state-card__label {
|
|
524
|
+
margin: 0 0 0.75rem;
|
|
525
|
+
font-family: var(--font-display);
|
|
526
|
+
font-size: 1.15rem;
|
|
527
|
+
font-weight: 700;
|
|
528
|
+
letter-spacing: -0.03em;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.state-card__hint {
|
|
532
|
+
margin: 0 0 1rem;
|
|
533
|
+
font-size: 0.8rem;
|
|
534
|
+
color: var(--text-muted);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/* Layers */
|
|
538
|
+
.layers__commitments {
|
|
539
|
+
display: grid;
|
|
540
|
+
gap: 0;
|
|
541
|
+
margin-bottom: 2rem;
|
|
542
|
+
padding: 0;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
@media (min-width: 720px) {
|
|
546
|
+
.layers__commitments {
|
|
547
|
+
grid-template-columns: repeat(3, 1fr);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.layers__commitment:not(:last-child) {
|
|
551
|
+
border-right: 1px solid var(--border);
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
@media (max-width: 719px) {
|
|
556
|
+
.layers__commitment:not(:last-child) {
|
|
557
|
+
border-bottom: 1px solid var(--border);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.layers__commitment {
|
|
562
|
+
padding: 1.05rem var(--aeon-pad-md) var(--aeon-pad-md);
|
|
563
|
+
background: transparent;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.layers__commitment h3 {
|
|
567
|
+
margin: 0 0 0.35rem;
|
|
568
|
+
font-family: var(--font-display);
|
|
569
|
+
font-size: 0.95rem;
|
|
570
|
+
font-weight: 600;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.layers__commitment p {
|
|
574
|
+
margin: 0;
|
|
575
|
+
font-size: 0.88rem;
|
|
576
|
+
color: var(--text-muted);
|
|
577
|
+
line-height: 1.5;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.layers__grid {
|
|
581
|
+
display: grid;
|
|
582
|
+
gap: 1rem;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
@media (min-width: 720px) {
|
|
586
|
+
.layers__grid {
|
|
587
|
+
grid-template-columns: repeat(3, 1fr);
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.layer-card {
|
|
592
|
+
padding: 1.05rem var(--aeon-pad-md) var(--aeon-pad-md);
|
|
593
|
+
display: flex;
|
|
594
|
+
flex-direction: column;
|
|
595
|
+
gap: 0.75rem;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.layer-card__index {
|
|
599
|
+
font-family: var(--aeon-mono);
|
|
600
|
+
font-size: 0.65rem;
|
|
601
|
+
font-weight: 600;
|
|
602
|
+
letter-spacing: 0.14em;
|
|
603
|
+
color: color-mix(in srgb, var(--aeon-accent) 70%, var(--aeon-muted));
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.layer-card h3 {
|
|
607
|
+
margin: 0;
|
|
608
|
+
font-family: var(--font-mono);
|
|
609
|
+
font-size: 0.9rem;
|
|
610
|
+
color: var(--aeon-accent);
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
.layer-card > p {
|
|
614
|
+
margin: 0;
|
|
615
|
+
font-size: 0.92rem;
|
|
616
|
+
color: var(--text-muted);
|
|
617
|
+
line-height: 1.5;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.layer-card ul {
|
|
621
|
+
margin: 0;
|
|
622
|
+
padding: 0;
|
|
623
|
+
list-style: none;
|
|
624
|
+
display: flex;
|
|
625
|
+
flex-direction: column;
|
|
626
|
+
gap: 0.4rem;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.layer-card li {
|
|
630
|
+
font-size: 0.82rem;
|
|
631
|
+
color: var(--aeon-text);
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.layer-card li::before {
|
|
635
|
+
content: '— ';
|
|
636
|
+
color: var(--aeon-accent);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/* Playground — one shell, flat dividers between demos */
|
|
640
|
+
.playground {
|
|
641
|
+
padding: 0;
|
|
642
|
+
overflow: hidden;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.playground__block {
|
|
646
|
+
padding: 1.15rem var(--aeon-pad-lg) var(--aeon-pad-lg);
|
|
647
|
+
margin: 0;
|
|
648
|
+
border-bottom: 1px solid var(--border);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.playground__block:first-child {
|
|
652
|
+
padding-top: 1.2rem;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.playground__block--last,
|
|
656
|
+
.playground__block:last-child {
|
|
657
|
+
border-bottom: none;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.playground__block-title {
|
|
661
|
+
margin: 0 0 0.25rem;
|
|
662
|
+
font-family: var(--font-display);
|
|
663
|
+
font-size: 1rem;
|
|
664
|
+
font-weight: 600;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.playground__block-sub {
|
|
668
|
+
margin: 0 0 0.75rem;
|
|
669
|
+
font-size: 0.875rem;
|
|
670
|
+
line-height: 1.55;
|
|
671
|
+
color: var(--text-muted);
|
|
672
|
+
max-width: 52ch;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.code-example {
|
|
676
|
+
margin: 0 0 1.25rem;
|
|
677
|
+
padding: 0.85rem 1rem;
|
|
678
|
+
font-family: var(--aeon-mono);
|
|
679
|
+
font-size: 0.75rem;
|
|
680
|
+
line-height: 1.55;
|
|
681
|
+
color: color-mix(in srgb, var(--aeon-text) 88%, var(--aeon-muted));
|
|
682
|
+
background: color-mix(in srgb, var(--aeon-bg) 55%, var(--aeon-surface));
|
|
683
|
+
border: 1px solid var(--aeon-border);
|
|
684
|
+
border-radius: var(--aeon-radius);
|
|
685
|
+
overflow-x: auto;
|
|
686
|
+
white-space: pre;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.code-example code {
|
|
690
|
+
font-family: inherit;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.scroll-demo {
|
|
694
|
+
min-width: 0;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.scroll-demo-hint {
|
|
698
|
+
margin: 0 0 1rem;
|
|
699
|
+
font-size: 0.8125rem;
|
|
700
|
+
line-height: 1.45;
|
|
701
|
+
color: var(--aeon-muted);
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.scroll-demo-grid {
|
|
705
|
+
display: grid;
|
|
706
|
+
gap: 1.25rem;
|
|
707
|
+
grid-template-columns: 1fr;
|
|
708
|
+
min-width: 0;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
@media (min-width: 900px) {
|
|
712
|
+
.scroll-demo-grid {
|
|
713
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
714
|
+
gap: 1rem;
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.scroll-demo-cell {
|
|
719
|
+
display: flex;
|
|
720
|
+
flex-direction: column;
|
|
721
|
+
gap: 0.4rem;
|
|
722
|
+
min-width: 0;
|
|
723
|
+
max-width: 100%;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.scroll-demo-scroll {
|
|
727
|
+
width: 100%;
|
|
728
|
+
min-width: 0;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.scroll-demo-scroll .aeonScroll__viewport {
|
|
732
|
+
max-width: 100%;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.scroll-demo-label {
|
|
736
|
+
margin: 0;
|
|
737
|
+
font-size: 0.75rem;
|
|
738
|
+
font-weight: 600;
|
|
739
|
+
letter-spacing: 0.06em;
|
|
740
|
+
text-transform: uppercase;
|
|
741
|
+
color: var(--aeon-muted);
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.scroll-demo-meta {
|
|
745
|
+
display: flex;
|
|
746
|
+
flex-direction: column;
|
|
747
|
+
gap: 0.2rem;
|
|
748
|
+
min-width: 0;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.scroll-demo-meta-label {
|
|
752
|
+
font-size: 0.625rem;
|
|
753
|
+
font-weight: 600;
|
|
754
|
+
letter-spacing: 0.1em;
|
|
755
|
+
text-transform: uppercase;
|
|
756
|
+
color: var(--aeon-muted);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.scroll-demo-state {
|
|
760
|
+
display: block;
|
|
761
|
+
margin: 0;
|
|
762
|
+
padding: 0.4rem 0.55rem;
|
|
763
|
+
font-family: var(--aeon-mono);
|
|
764
|
+
font-size: 0.6875rem;
|
|
765
|
+
line-height: 1.35;
|
|
766
|
+
color: var(--aeon-text);
|
|
767
|
+
background: color-mix(in srgb, var(--aeon-bg) 55%, var(--aeon-surface));
|
|
768
|
+
border: 1px solid var(--aeon-border);
|
|
769
|
+
border-radius: var(--aeon-radius-sm);
|
|
770
|
+
overflow-x: auto;
|
|
771
|
+
-webkit-overflow-scrolling: touch;
|
|
772
|
+
white-space: nowrap;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.scroll-demo-list {
|
|
776
|
+
margin: 0;
|
|
777
|
+
padding: 0.5rem 0.65rem 0.5rem 1.1rem;
|
|
778
|
+
font-size: 0.8125rem;
|
|
779
|
+
line-height: 1.55;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.scroll-demo-list li + li {
|
|
783
|
+
margin-top: 0.15rem;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.scroll-demo-row {
|
|
787
|
+
display: flex;
|
|
788
|
+
flex-wrap: nowrap;
|
|
789
|
+
gap: 0.4rem;
|
|
790
|
+
padding: 0.5rem;
|
|
791
|
+
width: max-content;
|
|
792
|
+
min-width: 100%;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.scroll-demo-matrix {
|
|
796
|
+
display: grid;
|
|
797
|
+
grid-template-columns: repeat(5, 3.75rem);
|
|
798
|
+
gap: 0.4rem;
|
|
799
|
+
padding: 0.5rem;
|
|
800
|
+
width: max-content;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
@media (max-width: 479px) {
|
|
804
|
+
.scroll-demo-matrix {
|
|
805
|
+
grid-template-columns: repeat(4, 3.5rem);
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.scroll-demo-chip {
|
|
810
|
+
display: inline-flex;
|
|
811
|
+
align-items: center;
|
|
812
|
+
justify-content: center;
|
|
813
|
+
min-width: 3.25rem;
|
|
814
|
+
padding: 0.35rem 0.45rem;
|
|
815
|
+
font-family: var(--aeon-mono);
|
|
816
|
+
font-size: 0.6875rem;
|
|
817
|
+
white-space: nowrap;
|
|
818
|
+
background: color-mix(in srgb, var(--aeon-accent) 10%, var(--aeon-surface));
|
|
819
|
+
border: 1px solid var(--aeon-border);
|
|
820
|
+
border-radius: var(--aeon-radius-sm);
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.layer-card__example {
|
|
824
|
+
margin-top: 1rem;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.thesis__card .code-example {
|
|
828
|
+
margin: 0.75rem 0 0;
|
|
829
|
+
font-size: 0.7rem;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.hero__stat-example {
|
|
833
|
+
display: block;
|
|
834
|
+
margin-top: 0.35rem;
|
|
835
|
+
font-family: var(--aeon-mono);
|
|
836
|
+
font-size: 0.62rem;
|
|
837
|
+
line-height: 1.4;
|
|
838
|
+
color: color-mix(in srgb, var(--aeon-muted) 90%, transparent);
|
|
839
|
+
white-space: pre;
|
|
840
|
+
overflow: hidden;
|
|
841
|
+
text-overflow: ellipsis;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
@media (max-width: 900px) {
|
|
845
|
+
.hero__stat-example {
|
|
846
|
+
display: none;
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/* Thesis — 2×2 connected grid inside one shell */
|
|
851
|
+
.thesis__grid {
|
|
852
|
+
display: grid;
|
|
853
|
+
gap: 0;
|
|
854
|
+
padding: 0;
|
|
855
|
+
overflow: hidden;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
@media (min-width: 720px) {
|
|
859
|
+
.thesis__grid {
|
|
860
|
+
grid-template-columns: 1fr 1fr;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.thesis__card:nth-child(odd) {
|
|
864
|
+
border-right: 1px solid var(--border);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.thesis__card:nth-child(-n + 2) {
|
|
868
|
+
border-bottom: 1px solid var(--border);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
@media (max-width: 719px) {
|
|
873
|
+
.thesis__card:not(:last-child) {
|
|
874
|
+
border-bottom: 1px solid var(--border);
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.thesis__card {
|
|
879
|
+
padding: 1.15rem var(--aeon-pad-lg) var(--aeon-pad-lg);
|
|
880
|
+
background: transparent;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.thesis__card h3 {
|
|
884
|
+
margin: 0 0 0.5rem;
|
|
885
|
+
font-size: 1rem;
|
|
886
|
+
font-weight: 600;
|
|
887
|
+
color: var(--aeon-accent);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.thesis__card p {
|
|
891
|
+
margin: 0;
|
|
892
|
+
font-size: 0.92rem;
|
|
893
|
+
color: var(--text-muted);
|
|
894
|
+
line-height: 1.6;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.thesis__cta {
|
|
898
|
+
margin-top: 1.5rem;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.thesis__cta a {
|
|
902
|
+
text-decoration: none;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/* Footer */
|
|
906
|
+
.landing-footer {
|
|
907
|
+
padding-block: 2.5rem;
|
|
908
|
+
border-top: 1px solid var(--border);
|
|
909
|
+
margin-top: 2rem;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
.landing-footer__inner {
|
|
913
|
+
display: flex;
|
|
914
|
+
flex-direction: column;
|
|
915
|
+
gap: 0.5rem;
|
|
916
|
+
font-size: 0.85rem;
|
|
917
|
+
color: var(--text-muted);
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
.landing-footer__inner a {
|
|
921
|
+
color: var(--aeon-accent);
|
|
922
|
+
text-decoration: none;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.landing-footer__tag {
|
|
926
|
+
font-family: var(--font-display);
|
|
927
|
+
font-weight: 500;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
/* Scene plane demo */
|
|
931
|
+
.scene-demo__stage {
|
|
932
|
+
position: relative;
|
|
933
|
+
min-height: 220px;
|
|
934
|
+
overflow: hidden;
|
|
935
|
+
border-radius: calc(var(--radius-lg) - 2px);
|
|
936
|
+
padding: 1.25rem;
|
|
937
|
+
display: grid;
|
|
938
|
+
gap: 1rem;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
.scene-demo__swatches {
|
|
942
|
+
position: relative;
|
|
943
|
+
z-index: 1;
|
|
944
|
+
display: grid;
|
|
945
|
+
grid-template-columns: repeat(3, 1fr);
|
|
946
|
+
gap: 0.5rem;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
.scene-demo__swatch {
|
|
950
|
+
min-height: 3.5rem;
|
|
951
|
+
border-radius: 6px;
|
|
952
|
+
border: 1px solid var(--border);
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
.scene-demo__viz {
|
|
956
|
+
position: relative;
|
|
957
|
+
z-index: 1;
|
|
958
|
+
display: flex;
|
|
959
|
+
flex-wrap: wrap;
|
|
960
|
+
align-items: center;
|
|
961
|
+
gap: 1rem 1.5rem;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.scene-demo__bars {
|
|
965
|
+
width: min(100%, 10rem);
|
|
966
|
+
height: auto;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
.scene-demo__code {
|
|
970
|
+
margin-top: 1rem;
|
|
971
|
+
padding: 0.75rem 1rem;
|
|
972
|
+
background: var(--bg-elevated);
|
|
973
|
+
border-top: 1px solid var(--border);
|
|
974
|
+
font-family: 'IBM Plex Mono', ui-monospace, monospace;
|
|
975
|
+
font-size: 0.72rem;
|
|
976
|
+
color: var(--text-muted);
|
|
977
|
+
overflow-x: auto;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.scene-demo__code pre {
|
|
981
|
+
margin: 0;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.scene-demo--3d {
|
|
985
|
+
margin-top: 1.5rem;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
.scene-demo__3d-header {
|
|
989
|
+
padding: 1rem 1.25rem 0;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.scene-demo__3d-title {
|
|
993
|
+
margin: 0 0 0.35rem;
|
|
994
|
+
font-family: var(--font-display);
|
|
995
|
+
font-size: 1.05rem;
|
|
996
|
+
font-weight: 600;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.scene-demo__3d-lead {
|
|
1000
|
+
margin: 0;
|
|
1001
|
+
font-size: 0.88rem;
|
|
1002
|
+
color: var(--text-muted);
|
|
1003
|
+
max-width: 42rem;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.scene-3d-demo {
|
|
1007
|
+
margin: 1rem 1.25rem 0;
|
|
1008
|
+
border-radius: calc(var(--radius-lg) - 2px);
|
|
1009
|
+
background: #0a0e14;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
/* Statechart diagrams (Mermaid) */
|
|
1013
|
+
.diagrams__grid {
|
|
1014
|
+
display: grid;
|
|
1015
|
+
gap: clamp(1.25rem, 3vw, 1.75rem);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
@media (min-width: 52rem) {
|
|
1019
|
+
.diagrams__grid {
|
|
1020
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.diagram-card:first-child {
|
|
1024
|
+
grid-column: 1 / -1;
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
.diagram-card__head {
|
|
1029
|
+
padding: 1.25rem 1.25rem 0;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
.diagram-card__head h3 {
|
|
1033
|
+
margin: 0 0 0.5rem;
|
|
1034
|
+
font-family: var(--font-display);
|
|
1035
|
+
font-size: 1.15rem;
|
|
1036
|
+
font-weight: 600;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.diagram-card__head p {
|
|
1040
|
+
margin: 0 0 0.65rem;
|
|
1041
|
+
font-size: 0.9rem;
|
|
1042
|
+
color: var(--text-muted);
|
|
1043
|
+
line-height: 1.55;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
.diagram-card__ref {
|
|
1047
|
+
display: inline-block;
|
|
1048
|
+
font-size: 0.72rem;
|
|
1049
|
+
padding: 0.2rem 0.5rem;
|
|
1050
|
+
border-radius: 4px;
|
|
1051
|
+
background: var(--bg-elevated);
|
|
1052
|
+
border: 1px solid var(--border);
|
|
1053
|
+
color: var(--aeon-accent);
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
.diagram-card__figure {
|
|
1057
|
+
margin: 0;
|
|
1058
|
+
padding: 0.75rem 1rem 1.25rem;
|
|
1059
|
+
overflow-x: auto;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
.diagram-card__mermaid svg {
|
|
1063
|
+
display: block;
|
|
1064
|
+
max-width: 100%;
|
|
1065
|
+
height: auto;
|
|
1066
|
+
margin-inline: auto;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
.diagram-card__loading,
|
|
1070
|
+
.diagram-card__error {
|
|
1071
|
+
margin: 0;
|
|
1072
|
+
padding: 1.5rem;
|
|
1073
|
+
font-size: 0.85rem;
|
|
1074
|
+
color: var(--text-muted);
|
|
1075
|
+
text-align: center;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
.diagram-card__error {
|
|
1079
|
+
color: #f87171;
|
|
1080
|
+
white-space: pre-wrap;
|
|
1081
|
+
text-align: left;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.diagrams__footnote {
|
|
1085
|
+
margin: clamp(1.5rem, 3vw, 2rem) 0 0;
|
|
1086
|
+
font-size: 0.88rem;
|
|
1087
|
+
color: var(--text-muted);
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
.diagrams__footnote a {
|
|
1091
|
+
color: var(--aeon-accent);
|
|
1092
|
+
text-decoration: underline;
|
|
1093
|
+
text-underline-offset: 3px;
|
|
1094
|
+
}
|