@zendir/ui 0.5.0 → 0.6.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/CHANGELOG.md +419 -386
- package/README.md +640 -631
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/index.js +17 -221
- package/dist/react/3d/CesiumCaptureSource.d.ts +0 -1
- package/dist/react/3d/CesiumCaptureSource.js +364 -283
- package/dist/react/3d/CesiumCaptureSource.js.map +1 -1
- package/dist/react/3d/ZenSpace3D.d.ts +2 -3
- package/dist/react/3d/ZenSpace3D.js +1681 -1237
- package/dist/react/3d/ZenSpace3D.js.map +1 -1
- package/dist/react/3d/ZenSpace3DCesium.d.ts +0 -1
- package/dist/react/3d/ZenSpace3DCesium.js +513 -560
- package/dist/react/3d/ZenSpace3DCesium.js.map +1 -1
- package/dist/react/3d/ZenSpace3DShaders.js +61 -66
- package/dist/react/3d/ZenSpace3DShaders.js.map +1 -1
- package/dist/react/3d/ZenSpace3DTypes.d.ts +19 -20
- package/dist/react/3d/ZenSpace3DUtils.d.ts +0 -1
- package/dist/react/3d/ZenSpace3DUtils.js +37 -24
- package/dist/react/3d/ZenSpace3DUtils.js.map +1 -1
- package/dist/react/3d/capturePngAnalysis.js +42 -36
- package/dist/react/3d/capturePngAnalysis.js.map +1 -1
- package/dist/react/3d/index.d.ts +3 -3
- package/dist/react/3d/index.js +5 -53
- package/dist/react/3d/threeLoader.d.ts +1 -1
- package/dist/react/3d/threeLoader.js +23 -18
- package/dist/react/3d/threeLoader.js.map +1 -1
- package/dist/react/astro/ClassificationBanner.d.ts +2 -3
- package/dist/react/astro/ClassificationBanner.js +95 -79
- package/dist/react/astro/ClassificationBanner.js.map +1 -1
- package/dist/react/astro/GlobalStatusBar.d.ts +0 -1
- package/dist/react/astro/GlobalStatusBar.js +157 -163
- package/dist/react/astro/GlobalStatusBar.js.map +1 -1
- package/dist/react/astro/MissionClock.d.ts +7 -8
- package/dist/react/astro/MissionClock.js +377 -400
- package/dist/react/astro/MissionClock.js.map +1 -1
- package/dist/react/astro/MonitoringIcon.d.ts +1 -2
- package/dist/react/astro/MonitoringIcon.js +422 -358
- package/dist/react/astro/MonitoringIcon.js.map +1 -1
- package/dist/react/astro/Notification.d.ts +1 -2
- package/dist/react/astro/Notification.js +229 -126
- package/dist/react/astro/Notification.js.map +1 -1
- package/dist/react/astro/Progress.d.ts +0 -1
- package/dist/react/astro/Progress.js +199 -141
- package/dist/react/astro/Progress.js.map +1 -1
- package/dist/react/astro/SimulationControls.d.ts +3 -4
- package/dist/react/astro/SimulationControls.js +596 -650
- package/dist/react/astro/SimulationControls.js.map +1 -1
- package/dist/react/astro/StatusIndicator.d.ts +0 -1
- package/dist/react/astro/StatusIndicator.js +236 -170
- package/dist/react/astro/StatusIndicator.js.map +1 -1
- package/dist/react/astro/UnifiedTimeline.d.ts +9 -10
- package/dist/react/astro/UnifiedTimeline.js +2345 -2392
- package/dist/react/astro/UnifiedTimeline.js.map +1 -1
- package/dist/react/astro/index.d.ts +5 -5
- package/dist/react/astro/index.js +1 -25
- package/dist/react/cards/AccessCard.d.ts +0 -1
- package/dist/react/cards/AccessCard.js +471 -405
- package/dist/react/cards/AccessCard.js.map +1 -1
- package/dist/react/cards/OrbitCard.d.ts +0 -1
- package/dist/react/cards/OrbitCard.js +487 -364
- package/dist/react/cards/OrbitCard.js.map +1 -1
- package/dist/react/cards/SpacecraftCard.d.ts +0 -1
- package/dist/react/cards/SpacecraftCard.js +813 -925
- package/dist/react/cards/SpacecraftCard.js.map +1 -1
- package/dist/react/cards/TelemetryCard.d.ts +0 -1
- package/dist/react/cards/TelemetryCard.js +1055 -732
- package/dist/react/cards/TelemetryCard.js.map +1 -1
- package/dist/react/cards/TelemetryStreamCard.d.ts +0 -1
- package/dist/react/cards/TelemetryStreamCard.js +323 -297
- package/dist/react/cards/TelemetryStreamCard.js.map +1 -1
- package/dist/react/cards/index.d.ts +1 -1
- package/dist/react/cards/index.js +1 -8
- package/dist/react/charts/GroundTrackMap.d.ts +6 -7
- package/dist/react/charts/GroundTrackMap.js +1377 -1256
- package/dist/react/charts/GroundTrackMap.js.map +1 -1
- package/dist/react/charts/GroundTrackMapLeaflet.d.ts +1 -2
- package/dist/react/charts/GroundTrackMapLeaflet.js +1065 -987
- package/dist/react/charts/GroundTrackMapLeaflet.js.map +1 -1
- package/dist/react/charts/groundTrackMapLeafletTiles.js +34 -25
- package/dist/react/charts/groundTrackMapLeafletTiles.js.map +1 -1
- package/dist/react/charts/groundTrackMapLeafletUtils.js +70 -61
- package/dist/react/charts/groundTrackMapLeafletUtils.js.map +1 -1
- package/dist/react/charts/index.d.ts +1 -1
- package/dist/react/charts/index.js +7 -100
- package/dist/react/charts/unified/AstroChart.d.ts +1 -2
- package/dist/react/charts/unified/AstroChart.js +1331 -1411
- package/dist/react/charts/unified/AstroChart.js.map +1 -1
- package/dist/react/charts/unified/PowerOverviewChart.d.ts +3 -3
- package/dist/react/charts/unified/PowerOverviewChart.js +495 -478
- package/dist/react/charts/unified/PowerOverviewChart.js.map +1 -1
- package/dist/react/charts/unified/domain.d.ts +12 -13
- package/dist/react/charts/unified/domain.js +3999 -3145
- package/dist/react/charts/unified/domain.js.map +1 -1
- package/dist/react/charts/unified/generators.d.ts +3 -4
- package/dist/react/charts/unified/generators.js +561 -498
- package/dist/react/charts/unified/generators.js.map +1 -1
- package/dist/react/charts/unified/index.d.ts +1 -1
- package/dist/react/charts/unified/presets.d.ts +14 -15
- package/dist/react/charts/unified/presets.js +857 -994
- package/dist/react/charts/unified/presets.js.map +1 -1
- package/dist/react/charts/unified/sync.d.ts +2 -3
- package/dist/react/charts/unified/sync.js +229 -195
- package/dist/react/charts/unified/sync.js.map +1 -1
- package/dist/react/charts/unified/theme.d.ts +11 -12
- package/dist/react/charts/unified/theme.js +606 -642
- package/dist/react/charts/unified/theme.js.map +1 -1
- package/dist/react/charts/unified/types.d.ts +32 -33
- package/dist/react/charts/unified/useChartStream.d.ts +1 -2
- package/dist/react/charts/unified/useChartStream.js +203 -216
- package/dist/react/charts/unified/useChartStream.js.map +1 -1
- package/dist/react/chatgpt/AppCard.d.ts +1 -2
- package/dist/react/chatgpt/index.d.ts +7 -7
- package/dist/react/chatgpt/index.js +160 -139
- package/dist/react/chatgpt/index.js.map +1 -1
- package/dist/react/context/CategoryContext.d.ts +0 -1
- package/dist/react/context/CategoryContext.js +78 -29
- package/dist/react/context/CategoryContext.js.map +1 -1
- package/dist/react/context/DisplaySettingsContext.d.ts +1 -2
- package/dist/react/context/DisplaySettingsContext.js +205 -156
- package/dist/react/context/DisplaySettingsContext.js.map +1 -1
- package/dist/react/context/SpatialSelectionContext.d.ts +0 -1
- package/dist/react/context/SpatialSelectionContext.js +36 -7
- package/dist/react/context/SpatialSelectionContext.js.map +1 -1
- package/dist/react/core/data/DataTable.d.ts +3 -4
- package/dist/react/core/data/DataTable.js +473 -440
- package/dist/react/core/data/DataTable.js.map +1 -1
- package/dist/react/core/data/DataValue.d.ts +4 -5
- package/dist/react/core/data/DataValue.js +605 -571
- package/dist/react/core/data/DataValue.js.map +1 -1
- package/dist/react/core/data/propertyConfig.d.ts +1 -2
- package/dist/react/core/data/propertyConfig.js +446 -382
- package/dist/react/core/data/propertyConfig.js.map +1 -1
- package/dist/react/core/display/AstroIcon.d.ts +4 -5
- package/dist/react/core/display/AstroIcon.js +339 -429
- package/dist/react/core/display/AstroIcon.js.map +1 -1
- package/dist/react/core/display/Badge.d.ts +2 -3
- package/dist/react/core/display/Badge.js +131 -131
- package/dist/react/core/display/Badge.js.map +1 -1
- package/dist/react/core/display/CardHeader.d.ts +0 -1
- package/dist/react/core/display/CardHeader.js +398 -311
- package/dist/react/core/display/CardHeader.js.map +1 -1
- package/dist/react/core/display/Container.d.ts +2 -3
- package/dist/react/core/display/Container.js +640 -668
- package/dist/react/core/display/Container.js.map +1 -1
- package/dist/react/core/display/CopyButton.d.ts +1 -2
- package/dist/react/core/display/CopyButton.js +158 -101
- package/dist/react/core/display/CopyButton.js.map +1 -1
- package/dist/react/core/display/GlassCard.d.ts +3 -4
- package/dist/react/core/display/GlassCard.js +416 -369
- package/dist/react/core/display/GlassCard.js.map +1 -1
- package/dist/react/core/display/HeaderIconWithStatus.d.ts +0 -1
- package/dist/react/core/display/HeaderIconWithStatus.js +152 -152
- package/dist/react/core/display/HeaderIconWithStatus.js.map +1 -1
- package/dist/react/core/display/Icon.d.ts +2 -3
- package/dist/react/core/display/Icon.js +172 -143
- package/dist/react/core/display/Icon.js.map +1 -1
- package/dist/react/core/display/Typography.d.ts +24 -25
- package/dist/react/core/display/Typography.js +360 -178
- package/dist/react/core/display/Typography.js.map +1 -1
- package/dist/react/core/feedback/ConfirmDialog.d.ts +1 -2
- package/dist/react/core/feedback/ConfirmDialog.js +343 -304
- package/dist/react/core/feedback/ConfirmDialog.js.map +1 -1
- package/dist/react/core/feedback/Dialog.d.ts +2 -3
- package/dist/react/core/feedback/Dialog.js +189 -197
- package/dist/react/core/feedback/Dialog.js.map +1 -1
- package/dist/react/core/feedback/Toast.d.ts +2 -3
- package/dist/react/core/feedback/Toast.js +346 -207
- package/dist/react/core/feedback/Toast.js.map +1 -1
- package/dist/react/core/index.d.ts +26 -26
- package/dist/react/core/index.js +7 -119
- package/dist/react/core/inputs/Button.d.ts +2 -3
- package/dist/react/core/inputs/Button.js +281 -304
- package/dist/react/core/inputs/Button.js.map +1 -1
- package/dist/react/core/inputs/Checkbox.d.ts +2 -3
- package/dist/react/core/inputs/Checkbox.js +139 -127
- package/dist/react/core/inputs/Checkbox.js.map +1 -1
- package/dist/react/core/inputs/Input.d.ts +3 -4
- package/dist/react/core/inputs/Input.js +277 -285
- package/dist/react/core/inputs/Input.js.map +1 -1
- package/dist/react/core/inputs/LimitsBar.d.ts +1 -2
- package/dist/react/core/inputs/LimitsBar.js +271 -196
- package/dist/react/core/inputs/LimitsBar.js.map +1 -1
- package/dist/react/core/inputs/NumberInput.d.ts +2 -3
- package/dist/react/core/inputs/NumberInput.js +531 -503
- package/dist/react/core/inputs/NumberInput.js.map +1 -1
- package/dist/react/core/inputs/PinInput.d.ts +2 -3
- package/dist/react/core/inputs/PinInput.js +224 -207
- package/dist/react/core/inputs/PinInput.js.map +1 -1
- package/dist/react/core/inputs/Select.d.ts +1 -2
- package/dist/react/core/inputs/Select.js +298 -299
- package/dist/react/core/inputs/Select.js.map +1 -1
- package/dist/react/core/inputs/Toggle.d.ts +2 -3
- package/dist/react/core/inputs/Toggle.js +142 -148
- package/dist/react/core/inputs/Toggle.js.map +1 -1
- package/dist/react/core/layout/Box.d.ts +3 -4
- package/dist/react/core/layout/Box.js +118 -122
- package/dist/react/core/layout/Box.js.map +1 -1
- package/dist/react/core/layout/Center.d.ts +0 -1
- package/dist/react/core/layout/Center.js +45 -32
- package/dist/react/core/layout/Center.js.map +1 -1
- package/dist/react/core/layout/Divider.d.ts +1 -2
- package/dist/react/core/layout/Divider.js +112 -106
- package/dist/react/core/layout/Divider.js.map +1 -1
- package/dist/react/core/layout/Flex.d.ts +4 -5
- package/dist/react/core/layout/Flex.js +120 -124
- package/dist/react/core/layout/Flex.js.map +1 -1
- package/dist/react/core/layout/Grid.d.ts +5 -6
- package/dist/react/core/layout/Grid.js +131 -138
- package/dist/react/core/layout/Grid.js.map +1 -1
- package/dist/react/core/layout/Spacer.d.ts +0 -1
- package/dist/react/core/layout/Spacer.js +36 -29
- package/dist/react/core/layout/Spacer.js.map +1 -1
- package/dist/react/core/layout/Stack.d.ts +4 -5
- package/dist/react/core/layout/Stack.js +127 -70
- package/dist/react/core/layout/Stack.js.map +1 -1
- package/dist/react/core/layout/responsive.d.ts +1 -2
- package/dist/react/core/layout/responsive.js +25 -19
- package/dist/react/core/layout/responsive.js.map +1 -1
- package/dist/react/core/layout/useBreakpoint.d.ts +1 -1
- package/dist/react/core/layout/useBreakpoint.js +119 -66
- package/dist/react/core/layout/useBreakpoint.js.map +1 -1
- package/dist/react/core/navigation/AppBar.d.ts +1 -2
- package/dist/react/core/navigation/AppBar.js +827 -805
- package/dist/react/core/navigation/AppBar.js.map +1 -1
- package/dist/react/core/navigation/Pagination.d.ts +2 -3
- package/dist/react/core/navigation/Pagination.js +207 -187
- package/dist/react/core/navigation/Pagination.js.map +1 -1
- package/dist/react/core/navigation/SideNav.d.ts +5 -6
- package/dist/react/core/navigation/SideNav.js +855 -629
- package/dist/react/core/navigation/SideNav.js.map +1 -1
- package/dist/react/core/navigation/Tabs.d.ts +0 -1
- package/dist/react/core/navigation/Tabs.js +113 -119
- package/dist/react/core/navigation/Tabs.js.map +1 -1
- package/dist/react/core/overlays/Popover.d.ts +2 -3
- package/dist/react/core/overlays/Popover.js +303 -282
- package/dist/react/core/overlays/Popover.js.map +1 -1
- package/dist/react/core/overlays/SidePanel.d.ts +1 -2
- package/dist/react/core/overlays/SidePanel.js +217 -212
- package/dist/react/core/overlays/SidePanel.js.map +1 -1
- package/dist/react/core/overlays/Tooltip.d.ts +1 -2
- package/dist/react/core/overlays/Tooltip.js +170 -176
- package/dist/react/core/overlays/Tooltip.js.map +1 -1
- package/dist/react/core/widgets/ActivityPlanner.d.ts +0 -1
- package/dist/react/core/widgets/ActivityPlanner.js +855 -517
- package/dist/react/core/widgets/ActivityPlanner.js.map +1 -1
- package/dist/react/core/widgets/Capture.d.ts +2 -3
- package/dist/react/core/widgets/Capture.js +965 -779
- package/dist/react/core/widgets/Capture.js.map +1 -1
- package/dist/react/core/widgets/ChatPanel.d.ts +16 -17
- package/dist/react/core/widgets/ChatPanel.js +1734 -1034
- package/dist/react/core/widgets/ChatPanel.js.map +1 -1
- package/dist/react/core/widgets/ColorPickerPanel.d.ts +0 -1
- package/dist/react/core/widgets/ColorPickerPanel.js +298 -287
- package/dist/react/core/widgets/ColorPickerPanel.js.map +1 -1
- package/dist/react/core/widgets/CommandBuilder.d.ts +2 -3
- package/dist/react/core/widgets/CommandBuilder.js +624 -516
- package/dist/react/core/widgets/CommandBuilder.js.map +1 -1
- package/dist/react/core/widgets/ConnectionForm.d.ts +2 -3
- package/dist/react/core/widgets/ConnectionForm.js +528 -492
- package/dist/react/core/widgets/ConnectionForm.js.map +1 -1
- package/dist/react/core/widgets/FileExplorer.d.ts +3 -4
- package/dist/react/core/widgets/FileExplorer.js +617 -505
- package/dist/react/core/widgets/FileExplorer.js.map +1 -1
- package/dist/react/core/widgets/HexViewer.d.ts +2 -3
- package/dist/react/core/widgets/HexViewer.js +1353 -1091
- package/dist/react/core/widgets/HexViewer.js.map +1 -1
- package/dist/react/core/widgets/ImageFrame.d.ts +1 -2
- package/dist/react/core/widgets/ImageFrame.js +230 -193
- package/dist/react/core/widgets/ImageFrame.js.map +1 -1
- package/dist/react/core/widgets/ImageGallery.d.ts +2 -1
- package/dist/react/core/widgets/ImageGallery.js +380 -314
- package/dist/react/core/widgets/ImageGallery.js.map +1 -1
- package/dist/react/core/widgets/ImagePanel.d.ts +0 -1
- package/dist/react/core/widgets/ImagePanel.js +110 -101
- package/dist/react/core/widgets/ImagePanel.js.map +1 -1
- package/dist/react/core/widgets/LogViewer.d.ts +2 -3
- package/dist/react/core/widgets/LogViewer.js +711 -607
- package/dist/react/core/widgets/LogViewer.js.map +1 -1
- package/dist/react/core/widgets/MessageStream.d.ts +3 -4
- package/dist/react/core/widgets/MessageStream.js +514 -444
- package/dist/react/core/widgets/MessageStream.js.map +1 -1
- package/dist/react/core/widgets/MissionCalendar.d.ts +3 -4
- package/dist/react/core/widgets/MissionCalendar.js +1488 -1020
- package/dist/react/core/widgets/MissionCalendar.js.map +1 -1
- package/dist/react/core/widgets/PacketViewer.d.ts +2 -3
- package/dist/react/core/widgets/PacketViewer.js +550 -421
- package/dist/react/core/widgets/PacketViewer.js.map +1 -1
- package/dist/react/core/widgets/capture-placeholder.png.js +6 -5
- package/dist/react/core/widgets/capture-placeholder.png.js.map +1 -1
- package/dist/react/hooks/index.d.ts +5 -5
- package/dist/react/hooks/useAccessWindows.d.ts +0 -1
- package/dist/react/hooks/useCompactMode.d.ts +1 -1
- package/dist/react/hooks/useCompactMode.js +104 -58
- package/dist/react/hooks/useCompactMode.js.map +1 -1
- package/dist/react/hooks/useGroundTrackHistory.d.ts +0 -1
- package/dist/react/hooks/useSimulationScene.d.ts +1 -2
- package/dist/react/hooks/useSimulationScene.js +481 -374
- package/dist/react/hooks/useSimulationScene.js.map +1 -1
- package/dist/react/index.d.ts +3 -3
- package/dist/react/panels/LayerControlPanel.d.ts +1 -2
- package/dist/react/panels/LayerControlPanel.js +223 -180
- package/dist/react/panels/LayerControlPanel.js.map +1 -1
- package/dist/react/panels/ObjectInventoryPanel.d.ts +2 -3
- package/dist/react/panels/ObjectInventoryPanel.js +315 -250
- package/dist/react/panels/ObjectInventoryPanel.js.map +1 -1
- package/dist/react/panels/index.d.ts +1 -1
- package/dist/react/panels/index.js +1 -6
- package/dist/react/shared/ErrorBoundary.d.ts +1 -2
- package/dist/react/shared/ErrorBoundary.js +170 -139
- package/dist/react/shared/ErrorBoundary.js.map +1 -1
- package/dist/react/shared/Skeleton.d.ts +1 -2
- package/dist/react/shared/Skeleton.js +300 -301
- package/dist/react/shared/Skeleton.js.map +1 -1
- package/dist/react/theme/ThemeProvider.d.ts +2 -321
- package/dist/react/theme/ThemeProvider.js +313 -939
- package/dist/react/theme/ThemeProvider.js.map +1 -1
- package/dist/react/theme/cardAccent.d.ts +1 -2
- package/dist/react/theme/cardAccent.js +196 -126
- package/dist/react/theme/cardAccent.js.map +1 -1
- package/dist/react/theme/config.d.ts +0 -1
- package/dist/react/theme/config.js +47 -25
- package/dist/react/theme/config.js.map +1 -1
- package/dist/react/theme/index.d.ts +2 -2
- package/dist/react/theme/index.js +1 -16
- package/dist/react/theme/types.d.ts +332 -0
- package/dist/react/theme/types.js +39 -0
- package/dist/react/theme/types.js.map +1 -0
- package/dist/react/types.d.ts +8 -8
- package/dist/react/types.js +147 -47
- package/dist/react/types.js.map +1 -1
- package/dist/react/utils/categoryPalette.d.ts +0 -1
- package/dist/react/utils/categoryPalette.js +91 -102
- package/dist/react/utils/categoryPalette.js.map +1 -1
- package/dist/react/utils/index.d.ts +5 -5
- package/dist/react/utils/index.js +457 -371
- package/dist/react/utils/index.js.map +1 -1
- package/dist/react/visualizations/EclipseTimerCard.d.ts +0 -1
- package/dist/react/visualizations/LinkBudgetCard.d.ts +0 -1
- package/dist/react/visualizations/NavBallCard.d.ts +0 -1
- package/dist/react/visualizations/PropulsionCard.d.ts +1 -2
- package/dist/react/visualizations/SensorFootprintCard.d.ts +1 -2
- package/dist/react/visualizations/ThermalHeatmapCard.d.ts +0 -1
- package/dist/react/visualizations/index.d.ts +3 -3
- package/dist/react.d.ts +2 -1
- package/dist/react.js +17 -221
- package/dist/shaders/atmosphere.frag.js +6 -5
- package/dist/shaders/atmosphere.frag.js.map +1 -1
- package/dist/shaders/atmosphere.vert.js +6 -5
- package/dist/shaders/atmosphere.vert.js.map +1 -1
- package/dist/shaders/stars.frag.js +6 -5
- package/dist/shaders/stars.frag.js.map +1 -1
- package/dist/shaders/stars.vert.js +6 -5
- package/dist/shaders/stars.vert.js.map +1 -1
- package/dist/style.css +26 -3
- package/dist/tokens/core.d.ts +159 -0
- package/dist/tokens/core.js +144 -0
- package/dist/tokens/core.js.map +1 -0
- package/dist/tokens/css-vars.d.ts +213 -2
- package/dist/tokens/css-vars.js +590 -227
- package/dist/tokens/css-vars.js.map +1 -1
- package/dist/tokens/index.d.ts +31 -228
- package/dist/tokens/index.js +281 -366
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/palettes/astro.d.ts +129 -0
- package/dist/tokens/palettes/astro.js +112 -0
- package/dist/tokens/palettes/astro.js.map +1 -0
- package/dist/tokens/palettes/index.d.ts +288 -0
- package/dist/tokens/palettes/index.js +35 -0
- package/dist/tokens/palettes/index.js.map +1 -0
- package/dist/tokens/palettes/tailwind.d.ts +324 -0
- package/dist/tokens/palettes/tailwind.js +201 -0
- package/dist/tokens/palettes/tailwind.js.map +1 -0
- package/dist/tokens/palettes/zendir.d.ts +126 -0
- package/dist/tokens/palettes/zendir.js +92 -0
- package/dist/tokens/palettes/zendir.js.map +1 -0
- package/dist/tokens/themes.d.ts +30 -0
- package/dist/tokens/themes.js +704 -0
- package/dist/tokens/themes.js.map +1 -0
- package/dist/tokens/tokens.css +533 -155
- package/dist/types/index.d.ts +2 -2
- package/package.json +310 -313
- package/dist/index.js.map +0 -1
- package/dist/react/3d/index.js.map +0 -1
- package/dist/react/astro/index.js.map +0 -1
- package/dist/react/cards/index.js.map +0 -1
- package/dist/react/charts/index.js.map +0 -1
- package/dist/react/core/index.js.map +0 -1
- package/dist/react/panels/index.js.map +0 -1
- package/dist/react/theme/astro-tokens.d.ts +0 -153
- package/dist/react/theme/index.js.map +0 -1
- package/dist/react.js.map +0 -1
|
@@ -0,0 +1,704 @@
|
|
|
1
|
+
import { electricBlue, neutral, ultraviolet } from "./palettes/zendir.js";
|
|
2
|
+
import { astroStatus } from "./palettes/astro.js";
|
|
3
|
+
import { green, red, yellow } from "./palettes/tailwind.js";
|
|
4
|
+
//#region src/tokens/themes.ts
|
|
5
|
+
var animationTokens = {
|
|
6
|
+
fast: "all 150ms cubic-bezier(0.4, 0, 0.2, 1)",
|
|
7
|
+
normal: "all 250ms cubic-bezier(0.4, 0, 0.2, 1)",
|
|
8
|
+
slow: "all 400ms cubic-bezier(0.4, 0, 0.2, 1)",
|
|
9
|
+
spring: "all 300ms cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
10
|
+
easing: {
|
|
11
|
+
default: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
12
|
+
in: "ease-in",
|
|
13
|
+
out: "ease-out",
|
|
14
|
+
inOut: "ease-in-out"
|
|
15
|
+
},
|
|
16
|
+
duration: {
|
|
17
|
+
instant: 0,
|
|
18
|
+
fast: 150,
|
|
19
|
+
normal: 250,
|
|
20
|
+
slow: 400
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
animationTokens.easing;
|
|
24
|
+
var focusTokensDark = {
|
|
25
|
+
color: "#4dacff",
|
|
26
|
+
width: "2px",
|
|
27
|
+
offset: "2px",
|
|
28
|
+
ring: "0 0 0 2px #4dacff",
|
|
29
|
+
style: {
|
|
30
|
+
outline: "2px solid #4dacff",
|
|
31
|
+
outlineOffset: "2px"
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
var focusTokensLight = {
|
|
35
|
+
color: "#0066cc",
|
|
36
|
+
width: "2px",
|
|
37
|
+
offset: "2px",
|
|
38
|
+
ring: "0 0 0 2px #0066cc",
|
|
39
|
+
style: {
|
|
40
|
+
outline: "2px solid #0066cc",
|
|
41
|
+
outlineOffset: "2px"
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
var focusTokensPurpleHue = {
|
|
45
|
+
color: "#8b5cf6",
|
|
46
|
+
width: "2px",
|
|
47
|
+
offset: "2px",
|
|
48
|
+
ring: "0 0 0 2px #8b5cf6",
|
|
49
|
+
style: {
|
|
50
|
+
outline: "2px solid #8b5cf6",
|
|
51
|
+
outlineOffset: "2px"
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
var shadowsDark = {
|
|
55
|
+
none: "none",
|
|
56
|
+
sm: "0 1px 2px rgba(0, 0, 0, 0.3)",
|
|
57
|
+
md: "0 4px 8px rgba(0, 0, 0, 0.4)",
|
|
58
|
+
lg: "0 8px 16px rgba(0, 0, 0, 0.5)",
|
|
59
|
+
xl: "0 16px 32px rgba(0, 0, 0, 0.6)",
|
|
60
|
+
glow: (color) => `0 0 20px ${color}40, 0 0 40px ${color}20`
|
|
61
|
+
};
|
|
62
|
+
var shadowsLight = {
|
|
63
|
+
none: "none",
|
|
64
|
+
sm: "0 1px 2px rgba(0, 0, 0, 0.1)",
|
|
65
|
+
md: "0 4px 8px rgba(0, 0, 0, 0.15)",
|
|
66
|
+
lg: "0 8px 16px rgba(0, 0, 0, 0.2)",
|
|
67
|
+
xl: "0 16px 32px rgba(0, 0, 0, 0.25)",
|
|
68
|
+
glow: (color) => `0 0 20px ${color}30, 0 0 40px ${color}15`
|
|
69
|
+
};
|
|
70
|
+
var layoutTokens = {
|
|
71
|
+
card: {
|
|
72
|
+
padding: "16px",
|
|
73
|
+
gap: "24px",
|
|
74
|
+
gapCompact: "16px",
|
|
75
|
+
heading: {
|
|
76
|
+
iconSize: 18,
|
|
77
|
+
iconSizeCompact: 16,
|
|
78
|
+
titleFontSize: "1rem",
|
|
79
|
+
titleFontSizeChart: "0.875rem",
|
|
80
|
+
titleFontWeight: 500,
|
|
81
|
+
gap: 8
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
section: {
|
|
85
|
+
headerPaddingBottom: "8px",
|
|
86
|
+
headerMarginBottom: "0px",
|
|
87
|
+
contentPaddingTop: "8px"
|
|
88
|
+
},
|
|
89
|
+
form: {
|
|
90
|
+
fieldGap: "12px",
|
|
91
|
+
inlineGap: "12px",
|
|
92
|
+
groupPadding: "12px",
|
|
93
|
+
groupGap: "12px",
|
|
94
|
+
labelGap: "3px"
|
|
95
|
+
},
|
|
96
|
+
surface: {
|
|
97
|
+
padding: "12px",
|
|
98
|
+
borderRadius: "12px",
|
|
99
|
+
gap: "8px"
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
var astroThemeDark = {
|
|
103
|
+
colors: {
|
|
104
|
+
background: {
|
|
105
|
+
base: "#101923",
|
|
106
|
+
surface: "#1b2d3e",
|
|
107
|
+
elevated: "#243b53",
|
|
108
|
+
overlay: "rgba(16, 25, 35, 0.95)"
|
|
109
|
+
},
|
|
110
|
+
border: {
|
|
111
|
+
default: "#2b659b",
|
|
112
|
+
muted: "#172635",
|
|
113
|
+
focus: "#4dacff"
|
|
114
|
+
},
|
|
115
|
+
text: {
|
|
116
|
+
primary: "#ffffff",
|
|
117
|
+
secondary: "#b7c5d3",
|
|
118
|
+
tertiary: "#8fa4b7",
|
|
119
|
+
muted: "#8fa4b7",
|
|
120
|
+
inverse: "#1b2d3e"
|
|
121
|
+
},
|
|
122
|
+
status: { ...astroStatus },
|
|
123
|
+
semantic: {
|
|
124
|
+
success: "#56f000",
|
|
125
|
+
warning: "#fce83a",
|
|
126
|
+
error: "#ff3838",
|
|
127
|
+
info: "#4dacff"
|
|
128
|
+
},
|
|
129
|
+
accent: {
|
|
130
|
+
primary: "#4dacff",
|
|
131
|
+
secondary: "#56f000",
|
|
132
|
+
tertiary: "#a371f7"
|
|
133
|
+
},
|
|
134
|
+
interactive: {
|
|
135
|
+
default: "#4dacff",
|
|
136
|
+
hover: "#92cbff",
|
|
137
|
+
active: "#0066cc",
|
|
138
|
+
disabled: "#6b7280"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
spacing: {
|
|
142
|
+
xxs: "2px",
|
|
143
|
+
xs: "4px",
|
|
144
|
+
sm: "8px",
|
|
145
|
+
smd: "12px",
|
|
146
|
+
md: "16px",
|
|
147
|
+
mdl: "20px",
|
|
148
|
+
lg: "24px",
|
|
149
|
+
xl: "32px",
|
|
150
|
+
xxl: "48px"
|
|
151
|
+
},
|
|
152
|
+
borderRadius: {
|
|
153
|
+
none: "0",
|
|
154
|
+
xs: "1px",
|
|
155
|
+
sm: "2px",
|
|
156
|
+
md: "4px",
|
|
157
|
+
lg: "8px",
|
|
158
|
+
xl: "12px",
|
|
159
|
+
full: "9999px"
|
|
160
|
+
},
|
|
161
|
+
elementSize: {
|
|
162
|
+
sm: "28px",
|
|
163
|
+
md: "36px",
|
|
164
|
+
lg: "44px"
|
|
165
|
+
},
|
|
166
|
+
typography: {
|
|
167
|
+
/**
|
|
168
|
+
* Font families per AstroUXDS specification
|
|
169
|
+
* @see https://www.astrouxds.com/foundations/typography/
|
|
170
|
+
*/
|
|
171
|
+
fontFamily: {
|
|
172
|
+
/** Primary font: Roboto with comprehensive system fallbacks */
|
|
173
|
+
primary: "\"Roboto\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
174
|
+
/** Heading font: Roboto per AstroUXDS (matches primary). */
|
|
175
|
+
heading: "\"Roboto\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
176
|
+
/** Monospace font: Roboto Mono for data/code with system fallbacks */
|
|
177
|
+
mono: "\"Roboto Mono\", \"SF Mono\", \"Consolas\", \"Liberation Mono\", monospace"
|
|
178
|
+
},
|
|
179
|
+
display: {
|
|
180
|
+
1: {
|
|
181
|
+
fontSize: "3.75rem",
|
|
182
|
+
fontWeight: 300,
|
|
183
|
+
letterSpacing: "-0.5px",
|
|
184
|
+
lineHeight: "4.375rem"
|
|
185
|
+
},
|
|
186
|
+
2: {
|
|
187
|
+
fontSize: "3rem",
|
|
188
|
+
fontWeight: 400,
|
|
189
|
+
letterSpacing: "0",
|
|
190
|
+
lineHeight: "3.5rem"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
heading: {
|
|
194
|
+
1: {
|
|
195
|
+
fontSize: "2.125rem",
|
|
196
|
+
fontWeight: 400,
|
|
197
|
+
letterSpacing: "0.25px",
|
|
198
|
+
lineHeight: "2.5rem"
|
|
199
|
+
},
|
|
200
|
+
"1Bold": {
|
|
201
|
+
fontSize: "2.125rem",
|
|
202
|
+
fontWeight: 700,
|
|
203
|
+
letterSpacing: "0.25px",
|
|
204
|
+
lineHeight: "2rem"
|
|
205
|
+
},
|
|
206
|
+
2: {
|
|
207
|
+
fontSize: "1.5rem",
|
|
208
|
+
fontWeight: 400,
|
|
209
|
+
letterSpacing: "0",
|
|
210
|
+
lineHeight: "1.75rem"
|
|
211
|
+
},
|
|
212
|
+
3: {
|
|
213
|
+
fontSize: "1.25rem",
|
|
214
|
+
fontWeight: 500,
|
|
215
|
+
letterSpacing: "0.15px",
|
|
216
|
+
lineHeight: "1.5rem"
|
|
217
|
+
},
|
|
218
|
+
4: {
|
|
219
|
+
fontSize: "1.25rem",
|
|
220
|
+
fontWeight: 300,
|
|
221
|
+
letterSpacing: "0.15px",
|
|
222
|
+
lineHeight: "1.5rem"
|
|
223
|
+
},
|
|
224
|
+
5: {
|
|
225
|
+
fontSize: "1.125rem",
|
|
226
|
+
fontWeight: 400,
|
|
227
|
+
letterSpacing: "0",
|
|
228
|
+
lineHeight: "1.5rem"
|
|
229
|
+
},
|
|
230
|
+
6: {
|
|
231
|
+
fontSize: "1.125rem",
|
|
232
|
+
fontWeight: 300,
|
|
233
|
+
letterSpacing: "0",
|
|
234
|
+
lineHeight: "1.5rem"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
body: {
|
|
238
|
+
1: {
|
|
239
|
+
fontSize: "1rem",
|
|
240
|
+
fontWeight: 400,
|
|
241
|
+
letterSpacing: "0.5px",
|
|
242
|
+
lineHeight: "1.5rem"
|
|
243
|
+
},
|
|
244
|
+
"1Bold": {
|
|
245
|
+
fontSize: "1rem",
|
|
246
|
+
fontWeight: 700,
|
|
247
|
+
letterSpacing: "0.5px",
|
|
248
|
+
lineHeight: "1.5rem"
|
|
249
|
+
},
|
|
250
|
+
2: {
|
|
251
|
+
fontSize: "0.875rem",
|
|
252
|
+
fontWeight: 400,
|
|
253
|
+
letterSpacing: "0.5px",
|
|
254
|
+
lineHeight: "1.25rem"
|
|
255
|
+
},
|
|
256
|
+
"2Bold": {
|
|
257
|
+
fontSize: "0.875rem",
|
|
258
|
+
fontWeight: 700,
|
|
259
|
+
letterSpacing: "0.5px",
|
|
260
|
+
lineHeight: "1.25rem"
|
|
261
|
+
},
|
|
262
|
+
3: {
|
|
263
|
+
fontSize: "0.75rem",
|
|
264
|
+
fontWeight: 400,
|
|
265
|
+
letterSpacing: "0",
|
|
266
|
+
lineHeight: "1rem"
|
|
267
|
+
},
|
|
268
|
+
"3Bold": {
|
|
269
|
+
fontSize: "0.75rem",
|
|
270
|
+
fontWeight: 700,
|
|
271
|
+
letterSpacing: "0",
|
|
272
|
+
lineHeight: "1rem"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
control: {
|
|
276
|
+
1: {
|
|
277
|
+
fontSize: "1rem",
|
|
278
|
+
fontWeight: 400,
|
|
279
|
+
letterSpacing: "0.5px",
|
|
280
|
+
lineHeight: "1.25rem"
|
|
281
|
+
},
|
|
282
|
+
"1Bold": {
|
|
283
|
+
fontSize: "1rem",
|
|
284
|
+
fontWeight: 700,
|
|
285
|
+
letterSpacing: "0.5px",
|
|
286
|
+
lineHeight: "1.25rem"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
fontSize: {
|
|
290
|
+
micro: "0.5625rem",
|
|
291
|
+
xxs: "0.625rem",
|
|
292
|
+
xs: "0.625rem",
|
|
293
|
+
sm: "0.75rem",
|
|
294
|
+
base: "0.875rem",
|
|
295
|
+
md: "0.875rem",
|
|
296
|
+
lg: "1rem",
|
|
297
|
+
xl: "1.25rem",
|
|
298
|
+
xxl: "1.5rem",
|
|
299
|
+
xxxl: "2.125rem"
|
|
300
|
+
},
|
|
301
|
+
/**
|
|
302
|
+
* Font weights per AstroUXDS specification
|
|
303
|
+
* Only 300, 400, 500, 700 are officially supported
|
|
304
|
+
* @see https://www.astrouxds.com/foundations/typography/
|
|
305
|
+
*/
|
|
306
|
+
fontWeight: {
|
|
307
|
+
light: 300,
|
|
308
|
+
normal: 400,
|
|
309
|
+
medium: 500,
|
|
310
|
+
/** @deprecated Use medium (500) instead - Astro spec only supports 300, 400, 500, 700 */
|
|
311
|
+
semibold: 500,
|
|
312
|
+
bold: 700
|
|
313
|
+
},
|
|
314
|
+
lineHeight: {
|
|
315
|
+
tight: "1.25rem",
|
|
316
|
+
normal: "1.5rem",
|
|
317
|
+
relaxed: "1.75rem"
|
|
318
|
+
},
|
|
319
|
+
letterSpacing: {
|
|
320
|
+
tight: "-0.5px",
|
|
321
|
+
normal: "0",
|
|
322
|
+
wide: "0.5px"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
shadows: shadowsDark,
|
|
326
|
+
animation: animationTokens,
|
|
327
|
+
focus: focusTokensDark,
|
|
328
|
+
layout: layoutTokens
|
|
329
|
+
};
|
|
330
|
+
var astroThemeLight = {
|
|
331
|
+
colors: {
|
|
332
|
+
background: {
|
|
333
|
+
base: "#eaeef4",
|
|
334
|
+
surface: "#f5f8fc",
|
|
335
|
+
elevated: "#ffffff",
|
|
336
|
+
overlay: "rgba(234, 238, 244, 0.95)"
|
|
337
|
+
},
|
|
338
|
+
border: {
|
|
339
|
+
default: "#2b659b",
|
|
340
|
+
muted: "#d1d5db",
|
|
341
|
+
focus: "#0066cc"
|
|
342
|
+
},
|
|
343
|
+
text: {
|
|
344
|
+
primary: "#1b2d3e",
|
|
345
|
+
secondary: "#51667c",
|
|
346
|
+
tertiary: "#556a7c",
|
|
347
|
+
muted: "#556a7c",
|
|
348
|
+
inverse: "#ffffff"
|
|
349
|
+
},
|
|
350
|
+
status: { ...astroStatus },
|
|
351
|
+
semantic: {
|
|
352
|
+
success: "#56f000",
|
|
353
|
+
warning: "#fce83a",
|
|
354
|
+
error: "#ff3838",
|
|
355
|
+
info: "#4dacff"
|
|
356
|
+
},
|
|
357
|
+
accent: {
|
|
358
|
+
primary: "#0066cc",
|
|
359
|
+
secondary: "#56f000",
|
|
360
|
+
tertiary: "#7c3aed"
|
|
361
|
+
},
|
|
362
|
+
interactive: {
|
|
363
|
+
default: "#0066cc",
|
|
364
|
+
hover: "#0052a3",
|
|
365
|
+
active: "#003d7a",
|
|
366
|
+
disabled: "#a4abb6"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
spacing: astroThemeDark.spacing,
|
|
370
|
+
borderRadius: astroThemeDark.borderRadius,
|
|
371
|
+
elementSize: astroThemeDark.elementSize,
|
|
372
|
+
typography: astroThemeDark.typography,
|
|
373
|
+
shadows: shadowsLight,
|
|
374
|
+
animation: animationTokens,
|
|
375
|
+
focus: focusTokensLight,
|
|
376
|
+
layout: layoutTokens
|
|
377
|
+
};
|
|
378
|
+
var hybridTheme = {
|
|
379
|
+
colors: {
|
|
380
|
+
background: {
|
|
381
|
+
base: "#09090b",
|
|
382
|
+
surface: "rgba(24, 24, 27, 0.98)",
|
|
383
|
+
elevated: "rgba(39, 39, 42, 0.98)",
|
|
384
|
+
overlay: "rgba(0, 0, 0, 0.85)"
|
|
385
|
+
},
|
|
386
|
+
border: {
|
|
387
|
+
default: "rgba(139, 92, 246, 0.3)",
|
|
388
|
+
muted: "rgba(63, 63, 70, 0.5)",
|
|
389
|
+
focus: "#8b5cf6"
|
|
390
|
+
},
|
|
391
|
+
text: {
|
|
392
|
+
primary: "#ffffff",
|
|
393
|
+
secondary: "#a1a1aa",
|
|
394
|
+
tertiary: "#8e8e96",
|
|
395
|
+
muted: "#8e8e96",
|
|
396
|
+
inverse: "#09090b"
|
|
397
|
+
},
|
|
398
|
+
status: { ...astroStatus },
|
|
399
|
+
semantic: {
|
|
400
|
+
success: "#56f000",
|
|
401
|
+
warning: "#fce83a",
|
|
402
|
+
error: "#ff3838",
|
|
403
|
+
info: "#8b5cf6"
|
|
404
|
+
},
|
|
405
|
+
accent: {
|
|
406
|
+
primary: "#8b5cf6",
|
|
407
|
+
secondary: "#a78bfa",
|
|
408
|
+
tertiary: "#7c3aed"
|
|
409
|
+
},
|
|
410
|
+
interactive: {
|
|
411
|
+
default: "#8b5cf6",
|
|
412
|
+
hover: "#a78bfa",
|
|
413
|
+
active: "#7c3aed",
|
|
414
|
+
disabled: "#52525b"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
spacing: astroThemeDark.spacing,
|
|
418
|
+
borderRadius: {
|
|
419
|
+
none: "0",
|
|
420
|
+
xs: "2px",
|
|
421
|
+
sm: "4px",
|
|
422
|
+
md: "6px",
|
|
423
|
+
lg: "10px",
|
|
424
|
+
xl: "14px",
|
|
425
|
+
full: "9999px"
|
|
426
|
+
},
|
|
427
|
+
elementSize: astroThemeDark.elementSize,
|
|
428
|
+
typography: astroThemeDark.typography,
|
|
429
|
+
shadows: {
|
|
430
|
+
...shadowsDark,
|
|
431
|
+
glow: (color) => `0 0 20px ${color}50, 0 0 40px ${color}25, 0 4px 12px ${color}20`
|
|
432
|
+
},
|
|
433
|
+
animation: animationTokens,
|
|
434
|
+
focus: focusTokensPurpleHue,
|
|
435
|
+
layout: layoutTokens
|
|
436
|
+
};
|
|
437
|
+
var purpleHueTheme = {
|
|
438
|
+
colors: {
|
|
439
|
+
background: {
|
|
440
|
+
base: "#0a0a0f",
|
|
441
|
+
surface: "rgba(18, 18, 28, 0.98)",
|
|
442
|
+
elevated: "rgba(28, 28, 42, 0.98)",
|
|
443
|
+
overlay: "rgba(0, 0, 0, 0.9)"
|
|
444
|
+
},
|
|
445
|
+
border: {
|
|
446
|
+
default: "rgba(139, 92, 246, 0.25)",
|
|
447
|
+
muted: "rgba(55, 48, 82, 0.5)",
|
|
448
|
+
focus: "#8b5cf6"
|
|
449
|
+
},
|
|
450
|
+
text: {
|
|
451
|
+
primary: "#fafafa",
|
|
452
|
+
secondary: "#a1a1aa",
|
|
453
|
+
tertiary: "#8e8e96",
|
|
454
|
+
muted: "#8e8e96",
|
|
455
|
+
inverse: "#0a0a0f"
|
|
456
|
+
},
|
|
457
|
+
status: { ...astroStatus },
|
|
458
|
+
semantic: {
|
|
459
|
+
success: "#56f000",
|
|
460
|
+
warning: "#fce83a",
|
|
461
|
+
error: "#ff3838",
|
|
462
|
+
info: "#a78bfa"
|
|
463
|
+
},
|
|
464
|
+
accent: {
|
|
465
|
+
primary: "#8b5cf6",
|
|
466
|
+
secondary: "#a78bfa",
|
|
467
|
+
tertiary: "#7c3aed"
|
|
468
|
+
},
|
|
469
|
+
interactive: {
|
|
470
|
+
default: "#8b5cf6",
|
|
471
|
+
hover: "#a78bfa",
|
|
472
|
+
active: "#7c3aed",
|
|
473
|
+
disabled: "#52525b"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
spacing: astroThemeDark.spacing,
|
|
477
|
+
borderRadius: {
|
|
478
|
+
none: "0",
|
|
479
|
+
xs: "2px",
|
|
480
|
+
sm: "4px",
|
|
481
|
+
md: "6px",
|
|
482
|
+
lg: "10px",
|
|
483
|
+
xl: "14px",
|
|
484
|
+
full: "9999px"
|
|
485
|
+
},
|
|
486
|
+
elementSize: astroThemeDark.elementSize,
|
|
487
|
+
typography: astroThemeDark.typography,
|
|
488
|
+
shadows: {
|
|
489
|
+
...shadowsDark,
|
|
490
|
+
glow: (color) => `0 0 25px ${color}60, 0 0 50px ${color}30, 0 4px 16px ${color}25`
|
|
491
|
+
},
|
|
492
|
+
animation: animationTokens,
|
|
493
|
+
focus: { ...focusTokensPurpleHue },
|
|
494
|
+
layout: layoutTokens
|
|
495
|
+
};
|
|
496
|
+
var nebulaBase = "#070A18";
|
|
497
|
+
var nebulaElevated = "#121B36";
|
|
498
|
+
var nebulaTheme = {
|
|
499
|
+
colors: {
|
|
500
|
+
background: {
|
|
501
|
+
base: nebulaBase,
|
|
502
|
+
surface: neutral[900],
|
|
503
|
+
elevated: nebulaElevated,
|
|
504
|
+
overlay: "rgba(7, 10, 24, 0.9)"
|
|
505
|
+
},
|
|
506
|
+
border: {
|
|
507
|
+
default: neutral[800],
|
|
508
|
+
muted: nebulaElevated,
|
|
509
|
+
focus: ultraviolet[500]
|
|
510
|
+
},
|
|
511
|
+
text: {
|
|
512
|
+
primary: neutral[50],
|
|
513
|
+
secondary: neutral[300],
|
|
514
|
+
tertiary: neutral[400],
|
|
515
|
+
muted: neutral[500],
|
|
516
|
+
inverse: nebulaBase
|
|
517
|
+
},
|
|
518
|
+
status: { ...astroStatus },
|
|
519
|
+
semantic: {
|
|
520
|
+
success: green[500],
|
|
521
|
+
warning: yellow[500],
|
|
522
|
+
error: red[500],
|
|
523
|
+
info: electricBlue[500]
|
|
524
|
+
},
|
|
525
|
+
accent: {
|
|
526
|
+
primary: ultraviolet[500],
|
|
527
|
+
secondary: ultraviolet[400],
|
|
528
|
+
tertiary: ultraviolet[600]
|
|
529
|
+
},
|
|
530
|
+
interactive: {
|
|
531
|
+
default: ultraviolet[500],
|
|
532
|
+
hover: ultraviolet[400],
|
|
533
|
+
active: ultraviolet[700],
|
|
534
|
+
disabled: neutral[600]
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
spacing: astroThemeDark.spacing,
|
|
538
|
+
borderRadius: {
|
|
539
|
+
none: "0",
|
|
540
|
+
xs: "2px",
|
|
541
|
+
sm: "4px",
|
|
542
|
+
md: "7px",
|
|
543
|
+
lg: "10px",
|
|
544
|
+
xl: "14px",
|
|
545
|
+
full: "9999px"
|
|
546
|
+
},
|
|
547
|
+
elementSize: astroThemeDark.elementSize,
|
|
548
|
+
typography: astroThemeDark.typography,
|
|
549
|
+
shadows: {
|
|
550
|
+
...shadowsDark,
|
|
551
|
+
glow: (color) => `0 0 25px ${color}60, 0 0 50px ${color}30, 0 4px 16px ${color}25`
|
|
552
|
+
},
|
|
553
|
+
animation: animationTokens,
|
|
554
|
+
focus: { ...focusTokensPurpleHue },
|
|
555
|
+
layout: layoutTokens
|
|
556
|
+
};
|
|
557
|
+
var transparentTheme = {
|
|
558
|
+
colors: {
|
|
559
|
+
background: {
|
|
560
|
+
base: "rgba(8, 12, 20, 0.95)",
|
|
561
|
+
surface: "rgba(15, 20, 35, 0.85)",
|
|
562
|
+
elevated: "rgba(25, 35, 55, 0.80)",
|
|
563
|
+
overlay: "rgba(0, 0, 0, 0.75)"
|
|
564
|
+
},
|
|
565
|
+
border: {
|
|
566
|
+
default: "rgba(139, 92, 246, 0.25)",
|
|
567
|
+
muted: "rgba(139, 92, 246, 0.15)",
|
|
568
|
+
focus: "#8b5cf6",
|
|
569
|
+
fadedBoxShadow: "inset 0 1px 0 rgba(139, 92, 246, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.05), inset 1px 0 0 rgba(139, 92, 246, 0.06), inset -1px 0 0 rgba(139, 92, 246, 0.06)"
|
|
570
|
+
},
|
|
571
|
+
text: {
|
|
572
|
+
primary: "#f0f4f8",
|
|
573
|
+
secondary: "#94a3b8",
|
|
574
|
+
tertiary: "#7b8da1",
|
|
575
|
+
muted: "#7b8da1",
|
|
576
|
+
inverse: "#0f172a"
|
|
577
|
+
},
|
|
578
|
+
status: { ...astroStatus },
|
|
579
|
+
semantic: {
|
|
580
|
+
success: "#56f000",
|
|
581
|
+
warning: "#fce83a",
|
|
582
|
+
error: "#ff3838",
|
|
583
|
+
info: "#8b5cf6"
|
|
584
|
+
},
|
|
585
|
+
accent: {
|
|
586
|
+
primary: "#8b5cf6",
|
|
587
|
+
secondary: "#a78bfa",
|
|
588
|
+
tertiary: "#7c3aed"
|
|
589
|
+
},
|
|
590
|
+
interactive: {
|
|
591
|
+
default: "#8b5cf6",
|
|
592
|
+
hover: "#a78bfa",
|
|
593
|
+
active: "#7c3aed",
|
|
594
|
+
disabled: "#475569",
|
|
595
|
+
transparentDefault: "rgba(139, 92, 246, 0.12)",
|
|
596
|
+
transparentHover: "rgba(139, 92, 246, 0.32)",
|
|
597
|
+
transparentInputBg: "rgba(139, 92, 246, 0.08)"
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
spacing: astroThemeDark.spacing,
|
|
601
|
+
borderRadius: {
|
|
602
|
+
none: "0",
|
|
603
|
+
xs: "2px",
|
|
604
|
+
sm: "4px",
|
|
605
|
+
md: "8px",
|
|
606
|
+
lg: "12px",
|
|
607
|
+
xl: "16px",
|
|
608
|
+
full: "9999px"
|
|
609
|
+
},
|
|
610
|
+
elementSize: astroThemeDark.elementSize,
|
|
611
|
+
typography: astroThemeDark.typography,
|
|
612
|
+
shadows: {
|
|
613
|
+
...shadowsDark,
|
|
614
|
+
glow: (color) => `0 0 30px ${color}50, 0 0 60px ${color}25, 0 4px 20px rgba(0,0,0,0.4)`
|
|
615
|
+
},
|
|
616
|
+
animation: animationTokens,
|
|
617
|
+
focus: {
|
|
618
|
+
color: "#8b5cf6",
|
|
619
|
+
width: "2px",
|
|
620
|
+
offset: "2px",
|
|
621
|
+
ring: "0 0 0 2px #8b5cf6",
|
|
622
|
+
style: {
|
|
623
|
+
outline: "2px solid #8b5cf6",
|
|
624
|
+
outlineOffset: "2px"
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
layout: layoutTokens
|
|
628
|
+
};
|
|
629
|
+
var transparentMinimalTheme = {
|
|
630
|
+
colors: {
|
|
631
|
+
background: {
|
|
632
|
+
base: "rgba(8, 12, 20, 0.95)",
|
|
633
|
+
surface: "rgba(15, 20, 35, 0.85)",
|
|
634
|
+
elevated: "rgba(25, 35, 55, 0.80)",
|
|
635
|
+
overlay: "rgba(0, 0, 0, 0.75)"
|
|
636
|
+
},
|
|
637
|
+
border: {
|
|
638
|
+
default: "rgba(139, 92, 246, 0.25)",
|
|
639
|
+
muted: "rgba(139, 92, 246, 0.15)",
|
|
640
|
+
focus: "#8b5cf6",
|
|
641
|
+
fadedBoxShadow: "inset 0 1px 0 rgba(139, 92, 246, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.1), inset 1px 0 0 rgba(139, 92, 246, 0.05), inset -1px 0 0 rgba(139, 92, 246, 0.05)"
|
|
642
|
+
},
|
|
643
|
+
text: {
|
|
644
|
+
primary: "#f0f4f8",
|
|
645
|
+
secondary: "#94a3b8",
|
|
646
|
+
tertiary: "#7b8da1",
|
|
647
|
+
muted: "#7b8da1",
|
|
648
|
+
inverse: "#0f172a"
|
|
649
|
+
},
|
|
650
|
+
status: { ...astroStatus },
|
|
651
|
+
semantic: {
|
|
652
|
+
success: "#56f000",
|
|
653
|
+
warning: "#fce83a",
|
|
654
|
+
error: "#ff3838",
|
|
655
|
+
info: "#8b5cf6"
|
|
656
|
+
},
|
|
657
|
+
accent: {
|
|
658
|
+
primary: "#8b5cf6",
|
|
659
|
+
secondary: "#a78bfa",
|
|
660
|
+
tertiary: "#7c3aed"
|
|
661
|
+
},
|
|
662
|
+
interactive: {
|
|
663
|
+
default: "#8b5cf6",
|
|
664
|
+
hover: "#a78bfa",
|
|
665
|
+
active: "#7c3aed",
|
|
666
|
+
disabled: "#475569",
|
|
667
|
+
transparentDefault: "rgba(139, 92, 246, 0.12)",
|
|
668
|
+
transparentHover: "rgba(139, 92, 246, 0.32)",
|
|
669
|
+
transparentInputBg: "rgba(139, 92, 246, 0.08)"
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
spacing: astroThemeDark.spacing,
|
|
673
|
+
borderRadius: {
|
|
674
|
+
none: "0",
|
|
675
|
+
xs: "2px",
|
|
676
|
+
sm: "4px",
|
|
677
|
+
md: "8px",
|
|
678
|
+
lg: "12px",
|
|
679
|
+
xl: "16px",
|
|
680
|
+
full: "9999px"
|
|
681
|
+
},
|
|
682
|
+
elementSize: astroThemeDark.elementSize,
|
|
683
|
+
typography: astroThemeDark.typography,
|
|
684
|
+
shadows: {
|
|
685
|
+
...shadowsDark,
|
|
686
|
+
glow: (color) => `0 0 30px ${color}50, 0 0 60px ${color}25, 0 4px 20px rgba(0,0,0,0.4)`
|
|
687
|
+
},
|
|
688
|
+
animation: animationTokens,
|
|
689
|
+
focus: {
|
|
690
|
+
color: "#8b5cf6",
|
|
691
|
+
width: "2px",
|
|
692
|
+
offset: "2px",
|
|
693
|
+
ring: "0 0 0 2px #8b5cf6",
|
|
694
|
+
style: {
|
|
695
|
+
outline: "2px solid #8b5cf6",
|
|
696
|
+
outlineOffset: "2px"
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
layout: layoutTokens
|
|
700
|
+
};
|
|
701
|
+
//#endregion
|
|
702
|
+
export { animationTokens, astroThemeDark, astroThemeLight, focusTokensDark, focusTokensLight, focusTokensPurpleHue, hybridTheme, layoutTokens, nebulaTheme, purpleHueTheme, shadowsDark, shadowsLight, transparentMinimalTheme, transparentTheme };
|
|
703
|
+
|
|
704
|
+
//# sourceMappingURL=themes.js.map
|