@shellui/core 0.4.0 → 0.5.0-alpha.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.
Files changed (145) hide show
  1. package/README.md +2 -2
  2. package/package.json +15 -3
  3. package/schemas/curated-themes.json +4035 -0
  4. package/schemas/shellui.config.schema.json +961 -0
  5. package/schemas/shellui.theme.schema.json +187 -0
  6. package/src/app.tsx +4 -1
  7. package/src/components/ContentView.tsx +144 -9
  8. package/src/components/LoadingOverlay.tsx +1 -1
  9. package/src/components/ui/alert-dialog.tsx +1 -1
  10. package/src/components/ui/dialog.tsx +23 -5
  11. package/src/components/ui/drawer.tsx +282 -42
  12. package/src/components/ui/dropdown-menu.tsx +7 -2
  13. package/src/components/ui/input.tsx +21 -0
  14. package/src/components/ui/separator.tsx +23 -0
  15. package/src/components/ui/sheet.tsx +220 -0
  16. package/src/components/ui/sidebar.tsx +785 -221
  17. package/src/components/ui/skeleton.tsx +13 -0
  18. package/src/constants/urls.ts +1 -0
  19. package/src/features/admin/utils.ts +2 -45
  20. package/src/features/alertDialog/DialogContext.tsx +1 -1
  21. package/src/features/auth/components/LoginButton.tsx +25 -18
  22. package/src/features/auth/components/LoginPreferencesControls.tsx +124 -0
  23. package/src/features/auth/components/LoginView.tsx +131 -49
  24. package/src/features/config/types.ts +64 -82
  25. package/src/features/drawer/DrawerContext.tsx +55 -19
  26. package/src/features/layouts/AppLayout.tsx +3 -3
  27. package/src/features/layouts/OverlayShell.tsx +376 -77
  28. package/src/features/layouts/appbar/AppBarLayout.tsx +501 -88
  29. package/src/features/layouts/branding/AppBrandIcon.tsx +95 -0
  30. package/src/features/layouts/branding/resolveThemeAsset.spec.ts +33 -0
  31. package/src/features/layouts/branding/resolveThemeAsset.ts +33 -0
  32. package/src/features/layouts/chrome/CollapsedDesktopTitlebar.tsx +49 -0
  33. package/src/features/layouts/chrome/ContentDragOverlay.tsx +19 -0
  34. package/src/features/layouts/chrome/DesktopBackButton.tsx +71 -0
  35. package/src/features/layouts/chrome/DesktopChrome.tsx +28 -0
  36. package/src/features/layouts/chrome/DesktopForwardButton.tsx +59 -0
  37. package/src/features/layouts/chrome/DesktopHistoryButtons.tsx +16 -0
  38. package/src/features/layouts/chrome/constants.ts +11 -0
  39. package/src/features/layouts/chrome/goDesktopBack.spec.ts +218 -0
  40. package/src/features/layouts/chrome/goDesktopBack.ts +106 -0
  41. package/src/features/layouts/chrome/index.ts +26 -0
  42. package/src/features/layouts/chrome/runtime.ts +45 -0
  43. package/src/features/layouts/findMatchingNavigationItem.spec.ts +55 -0
  44. package/src/features/layouts/fullscreen/FullscreenLayout.tsx +17 -1
  45. package/src/features/layouts/isFrameForAppUrl.spec.ts +33 -0
  46. package/src/features/layouts/sidebar/NavigationContent.tsx +70 -34
  47. package/src/features/layouts/sidebar/SidebarIcons.tsx +41 -42
  48. package/src/features/layouts/sidebar/SidebarInner.tsx +142 -24
  49. package/src/features/layouts/sidebar/SidebarLayout.tsx +100 -37
  50. package/src/features/layouts/sidebar/sidebarUtils.ts +0 -7
  51. package/src/features/layouts/sidebar/types.ts +3 -3
  52. package/src/features/layouts/utils.ts +73 -5
  53. package/src/features/layouts/windows/WindowsLayout.tsx +173 -61
  54. package/src/features/modal/ModalContext.spec.ts +77 -0
  55. package/src/features/modal/ModalContext.tsx +32 -57
  56. package/src/features/modal/validateAndNormalizeUrl.ts +96 -0
  57. package/src/features/overlays/OverlayDrawerPendingBar.tsx +26 -0
  58. package/src/features/overlays/OverlayDynamicDemoView.tsx +108 -0
  59. package/src/features/overlays/OverlayPendingSpinner.tsx +18 -0
  60. package/src/features/overlays/ResponsiveModal.tsx +483 -0
  61. package/src/features/overlays/overlaySize.spec.ts +71 -0
  62. package/src/features/overlays/overlaySize.ts +228 -0
  63. package/src/features/overlays/useOverlayReportedSize.ts +130 -0
  64. package/src/features/settings/SettingsProvider.tsx +66 -46
  65. package/src/features/settings/SettingsView.tsx +42 -47
  66. package/src/features/settings/components/Appearance.tsx +305 -55
  67. package/src/features/settings/components/develop/DrawerTestButtons.tsx +18 -0
  68. package/src/features/settings/components/develop/ModalTestButtons.tsx +23 -0
  69. package/src/features/settings/utils/getResolvedAppearanceForSettings.ts +11 -5
  70. package/src/features/storage/StoragePickerContext.tsx +3 -3
  71. package/src/features/theme/applyTheme.ts +143 -0
  72. package/src/features/theme/color.ts +83 -0
  73. package/src/features/theme/curated/amber-minimal.json +86 -0
  74. package/src/features/theme/curated/amethyst-haze.json +86 -0
  75. package/src/features/theme/curated/astro-vista.json +86 -0
  76. package/src/features/theme/curated/bold-tech.json +86 -0
  77. package/src/features/theme/curated/bubblegum.json +86 -0
  78. package/src/features/theme/curated/caffeine.json +83 -0
  79. package/src/features/theme/curated/candyland.json +86 -0
  80. package/src/features/theme/curated/catppuccin.json +86 -0
  81. package/src/features/theme/curated/claude.json +86 -0
  82. package/src/features/theme/curated/claymorphism.json +86 -0
  83. package/src/features/theme/curated/clean-slate.json +86 -0
  84. package/src/features/theme/curated/cosmic-night.json +86 -0
  85. package/src/features/theme/curated/cyberpunk.json +86 -0
  86. package/src/features/theme/curated/darkmatter.json +86 -0
  87. package/src/features/theme/curated/doom-64.json +86 -0
  88. package/src/features/theme/curated/elegant-luxury.json +86 -0
  89. package/src/features/theme/curated/graphite.json +86 -0
  90. package/src/features/theme/curated/index.ts +260 -0
  91. package/src/features/theme/curated/kodama-grove.json +86 -0
  92. package/src/features/theme/curated/light-green.json +87 -0
  93. package/src/features/theme/curated/midnight-bloom.json +86 -0
  94. package/src/features/theme/curated/mocha-mousse.json +86 -0
  95. package/src/features/theme/curated/modern-minimal.json +86 -0
  96. package/src/features/theme/curated/mono.json +84 -0
  97. package/src/features/theme/curated/nature.json +86 -0
  98. package/src/features/theme/curated/neo-brutalism.json +86 -0
  99. package/src/features/theme/curated/northern-lights.json +86 -0
  100. package/src/features/theme/curated/notebook.json +87 -0
  101. package/src/features/theme/curated/ocean-breeze.json +86 -0
  102. package/src/features/theme/curated/pastel-dreams.json +86 -0
  103. package/src/features/theme/curated/perpetuity.json +86 -0
  104. package/src/features/theme/curated/quantum-rose.json +86 -0
  105. package/src/features/theme/curated/retro-arcade.json +86 -0
  106. package/src/features/theme/curated/sage-garden.json +86 -0
  107. package/src/features/theme/curated/shadcn.json +83 -0
  108. package/src/features/theme/curated/shellui.json +82 -0
  109. package/src/features/theme/curated/soft-pop.json +86 -0
  110. package/src/features/theme/curated/solar-dusk.json +86 -0
  111. package/src/features/theme/curated/starry-night.json +86 -0
  112. package/src/features/theme/curated/sunset-horizon.json +86 -0
  113. package/src/features/theme/curated/supabase.json +85 -0
  114. package/src/features/theme/curated/t3-chat.json +83 -0
  115. package/src/features/theme/curated/tangerine.json +86 -0
  116. package/src/features/theme/curated/twitter.json +86 -0
  117. package/src/features/theme/curated/vercel.json +86 -0
  118. package/src/features/theme/curated/vintage-paper.json +86 -0
  119. package/src/features/theme/curated/violet-bloom.json +87 -0
  120. package/src/features/theme/curated/zen-inspired.json +87 -0
  121. package/src/features/theme/index.ts +76 -0
  122. package/src/features/theme/normalize.ts +159 -0
  123. package/src/features/theme/registry.ts +50 -0
  124. package/src/features/theme/resolveConfig.ts +182 -0
  125. package/src/features/theme/safeApplyTheme.ts +147 -0
  126. package/src/features/theme/themes.spec.ts +276 -0
  127. package/src/features/theme/themes.ts +82 -558
  128. package/src/features/theme/tokenKeys.ts +60 -0
  129. package/src/features/theme/types.ts +170 -0
  130. package/src/features/theme/useTheme.tsx +48 -50
  131. package/src/hooks/use-mobile.tsx +19 -0
  132. package/src/i18n/translations/en/common.json +41 -0
  133. package/src/i18n/translations/en/settings.json +10 -2
  134. package/src/i18n/translations/fr/common.json +41 -0
  135. package/src/i18n/translations/fr/settings.json +10 -2
  136. package/src/index.css +372 -128
  137. package/src/index.ts +71 -0
  138. package/src/lib/z-index.ts +4 -1
  139. package/src/routes/components/IndexRoute.tsx +12 -2
  140. package/src/routes/components/NavigationItemRoute.tsx +1 -10
  141. package/src/routes/hooks/useNavigationItems.ts +29 -44
  142. package/src/routes/routes.tsx +58 -27
  143. package/tailwind.config.js +27 -27
  144. package/src/features/layouts/sidebar/BottomNavItem.tsx +0 -88
  145. package/src/features/layouts/sidebar/MobileBottomNav.tsx +0 -168
@@ -0,0 +1,143 @@
1
+ import { toCssVarValue } from './color';
2
+ import type { ThemeColorsMode, ThemeDefinition } from './types';
3
+
4
+ const COLOR_VAR_MAP: Array<[keyof ThemeColorsMode, string]> = [
5
+ ['background', '--background'],
6
+ ['foreground', '--foreground'],
7
+ ['card', '--card'],
8
+ ['cardForeground', '--card-foreground'],
9
+ ['popover', '--popover'],
10
+ ['popoverForeground', '--popover-foreground'],
11
+ ['primary', '--primary'],
12
+ ['primaryForeground', '--primary-foreground'],
13
+ ['secondary', '--secondary'],
14
+ ['secondaryForeground', '--secondary-foreground'],
15
+ ['muted', '--muted'],
16
+ ['mutedForeground', '--muted-foreground'],
17
+ ['accent', '--accent'],
18
+ ['accentForeground', '--accent-foreground'],
19
+ ['destructive', '--destructive'],
20
+ ['destructiveForeground', '--destructive-foreground'],
21
+ ['border', '--border'],
22
+ ['input', '--input'],
23
+ ['ring', '--ring'],
24
+ ['sidebarBackground', '--sidebar-background'],
25
+ ['sidebarForeground', '--sidebar-foreground'],
26
+ ['sidebarPrimary', '--sidebar-primary'],
27
+ ['sidebarPrimaryForeground', '--sidebar-primary-foreground'],
28
+ ['sidebarAccent', '--sidebar-accent'],
29
+ ['sidebarAccentForeground', '--sidebar-accent-foreground'],
30
+ ['sidebarBorder', '--sidebar-border'],
31
+ ['sidebarRing', '--sidebar-ring'],
32
+ ['chart1', '--chart-1'],
33
+ ['chart2', '--chart-2'],
34
+ ['chart3', '--chart-3'],
35
+ ['chart4', '--chart-4'],
36
+ ['chart5', '--chart-5'],
37
+ ];
38
+
39
+ /**
40
+ * Apply theme colors to the document.
41
+ * Sets full CSS colors (OKLCH / hex / hsl()) on :root for Tailwind `var(--*)` consumption.
42
+ */
43
+ export function applyTheme(theme: ThemeDefinition, isDark: boolean): void {
44
+ if (typeof document === 'undefined') {
45
+ return;
46
+ }
47
+
48
+ const root = document.documentElement;
49
+ const colors = isDark ? theme.colors.dark : theme.colors.light;
50
+
51
+ for (const [key, cssVar] of COLOR_VAR_MAP) {
52
+ const value = colors[key];
53
+ if (value === undefined || value === null || value === '') continue;
54
+ const cssValue = toCssVarValue(value);
55
+ root.style.setProperty(cssVar, cssValue);
56
+ // CSS-variable alias: --sidebar mirrors --sidebar-background
57
+ if (key === 'sidebarBackground') {
58
+ root.style.setProperty('--sidebar', cssValue);
59
+ }
60
+ }
61
+
62
+ root.style.setProperty('--radius', colors.radius);
63
+
64
+ const head = document.head || document.getElementsByTagName('head')[0];
65
+ const existingFontLinks = head.querySelectorAll('link[data-theme-font], style[data-theme-font]');
66
+ existingFontLinks.forEach((link) => link.remove());
67
+
68
+ if (theme.fontFiles && theme.fontFiles.length > 0) {
69
+ theme.fontFiles.forEach((fontFile, index) => {
70
+ if (fontFile.includes('fonts.googleapis.com') || fontFile.endsWith('.css')) {
71
+ const link = document.createElement('link');
72
+ link.rel = 'stylesheet';
73
+ link.href = fontFile;
74
+ link.setAttribute('data-theme-font', theme.name);
75
+ head.appendChild(link);
76
+ } else {
77
+ const style = document.createElement('style');
78
+ style.setAttribute('data-theme-font', theme.name);
79
+ const fontName = `ThemeFont-${theme.name}-${index}`;
80
+ style.textContent = `
81
+ @font-face {
82
+ font-family: '${fontName}';
83
+ src: url('${fontFile}') format('woff2');
84
+ }
85
+ `;
86
+ head.appendChild(style);
87
+ }
88
+ });
89
+ }
90
+
91
+ const bodyFont = theme.bodyFontFamily || theme.fontFamily;
92
+ const headingFont = theme.headingFontFamily || theme.fontFamily || bodyFont;
93
+
94
+ if (bodyFont) {
95
+ root.style.setProperty('--body-font-family', bodyFont);
96
+ root.style.setProperty('--font-family', bodyFont);
97
+ document.body.style.fontFamily = bodyFont;
98
+ } else {
99
+ root.style.removeProperty('--body-font-family');
100
+ root.style.removeProperty('--font-family');
101
+ document.body.style.fontFamily = '';
102
+ }
103
+
104
+ if (headingFont) {
105
+ root.style.setProperty('--heading-font-family', headingFont);
106
+ } else {
107
+ root.style.removeProperty('--heading-font-family');
108
+ }
109
+
110
+ if (theme.letterSpacing) {
111
+ root.style.setProperty('--letter-spacing', theme.letterSpacing);
112
+ root.style.letterSpacing = theme.letterSpacing;
113
+ } else {
114
+ root.style.removeProperty('--letter-spacing');
115
+ root.style.letterSpacing = '';
116
+ }
117
+
118
+ if (theme.textShadow) {
119
+ root.style.setProperty('--text-shadow', theme.textShadow);
120
+ const bodyShadow = theme.textShadow.replace(/rgba\(([^)]+)\)/, (match, rgba) => {
121
+ const values = rgba.split(',').map((v: string) => v.trim());
122
+ if (values.length === 4) {
123
+ const opacity = parseFloat(values[3]);
124
+ return `rgba(${values[0]}, ${values[1]}, ${values[2]}, ${Math.max(0, opacity * 0.8)})`;
125
+ }
126
+ return match;
127
+ });
128
+ document.body.style.textShadow = bodyShadow;
129
+ } else {
130
+ root.style.removeProperty('--text-shadow');
131
+ document.body.style.textShadow = '';
132
+ }
133
+
134
+ if (theme.lineHeight) {
135
+ root.style.setProperty('--line-height', theme.lineHeight);
136
+ document.body.style.lineHeight = theme.lineHeight;
137
+ } else {
138
+ root.style.removeProperty('--line-height');
139
+ document.body.style.lineHeight = '';
140
+ }
141
+
142
+ void root.offsetHeight;
143
+ }
@@ -0,0 +1,83 @@
1
+ /**
2
+ * Theme color values are full CSS colors (preferred: OKLCH).
3
+ * Legacy HSL channel triples (`"H S% L%"`) are wrapped as `hsl(...)`.
4
+ * Hex is normalized to `#RRGGBB`.
5
+ */
6
+
7
+ const HEX_RE = /^#?([0-9A-Fa-f]{6})$/;
8
+ const HSL_CHANNELS_RE = /^\d+(\.\d+)?\s+\d+(\.\d+)?%\s+\d+(\.\d+)?%$/;
9
+
10
+ /**
11
+ * Convert hex color (`#RRGGBB` or `RRGGBB`) to HSL channels (`H S% L%`).
12
+ * Kept for tests / legacy helpers. Prefer `toCssVarValue` for runtime CSS vars.
13
+ */
14
+ export function hexToHsl(hexString: string): string {
15
+ if (!hexString || typeof hexString !== 'string') {
16
+ return hexString;
17
+ }
18
+
19
+ const trimmed = hexString.trim();
20
+ if (!HEX_RE.test(trimmed)) {
21
+ return trimmed;
22
+ }
23
+
24
+ const hex = trimmed.replace('#', '');
25
+ const r = parseInt(hex.substring(0, 2), 16);
26
+ const g = parseInt(hex.substring(2, 4), 16);
27
+ const b = parseInt(hex.substring(4, 6), 16);
28
+
29
+ if (Number.isNaN(r) || Number.isNaN(g) || Number.isNaN(b)) {
30
+ return hexString;
31
+ }
32
+
33
+ const rNorm = r / 255;
34
+ const gNorm = g / 255;
35
+ const bNorm = b / 255;
36
+
37
+ const max = Math.max(rNorm, gNorm, bNorm);
38
+ const min = Math.min(rNorm, gNorm, bNorm);
39
+ let h = 0;
40
+ let s = 0;
41
+ const l = (max + min) / 2;
42
+
43
+ if (max !== min) {
44
+ const d = max - min;
45
+ s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
46
+
47
+ switch (max) {
48
+ case rNorm:
49
+ h = ((gNorm - bNorm) / d + (gNorm < bNorm ? 6 : 0)) / 6;
50
+ break;
51
+ case gNorm:
52
+ h = ((bNorm - rNorm) / d + 2) / 6;
53
+ break;
54
+ case bNorm:
55
+ h = ((rNorm - gNorm) / d + 4) / 6;
56
+ break;
57
+ }
58
+ }
59
+
60
+ const hDeg = Math.round(h * 360 * 10) / 10;
61
+ const sPercent = Math.round(s * 100 * 10) / 10;
62
+ const lPercent = Math.round(l * 100 * 10) / 10;
63
+
64
+ return `${hDeg} ${sPercent}% ${lPercent}%`;
65
+ }
66
+
67
+ /**
68
+ * Normalize a token for use as a CSS variable value.
69
+ * Variables are consumed as full colors via `var(--token)` (shadcn OKLCH style).
70
+ */
71
+ export function toCssVarValue(value: string): string {
72
+ if (!value || typeof value !== 'string') return value;
73
+ const trimmed = value.trim();
74
+ if (HSL_CHANNELS_RE.test(trimmed)) return `hsl(${trimmed})`;
75
+ if (HEX_RE.test(trimmed)) {
76
+ return trimmed.startsWith('#') ? trimmed : `#${trimmed}`;
77
+ }
78
+ return trimmed;
79
+ }
80
+
81
+ export function isHexColor(value: string): boolean {
82
+ return typeof value === 'string' && HEX_RE.test(value.trim());
83
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "version": 1,
3
+ "name": "amber-minimal",
4
+ "label": "Amber Minimal",
5
+ "description": "Clean white neutrals with amber primary (Inter + Source Serif 4 + JetBrains Mono).",
6
+ "recommended": true,
7
+ "radius": "0.375rem",
8
+ "fonts": {
9
+ "sans": "Inter, sans-serif",
10
+ "serif": "Source Serif 4, serif",
11
+ "mono": "JetBrains Mono, monospace",
12
+ "files": [
13
+ "https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=JetBrains+Mono:wght@100..800&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap"
14
+ ]
15
+ },
16
+ "light": {
17
+ "background": "oklch(1.0000 0 0)",
18
+ "foreground": "oklch(0.2686 0 0)",
19
+ "card": "oklch(1.0000 0 0)",
20
+ "cardForeground": "oklch(0.2686 0 0)",
21
+ "popover": "oklch(1.0000 0 0)",
22
+ "popoverForeground": "oklch(0.2686 0 0)",
23
+ "primary": "oklch(0.7686 0.1647 70.0804)",
24
+ "primaryForeground": "oklch(0 0 0)",
25
+ "secondary": "oklch(0.9670 0.0029 264.5419)",
26
+ "secondaryForeground": "oklch(0.4461 0.0263 256.8018)",
27
+ "muted": "oklch(0.9846 0.0017 247.8389)",
28
+ "mutedForeground": "oklch(0.5510 0.0234 264.3637)",
29
+ "accent": "oklch(0.9869 0.0214 95.2774)",
30
+ "accentForeground": "oklch(0.4732 0.1247 46.2007)",
31
+ "destructive": "oklch(0.6368 0.2078 25.3313)",
32
+ "destructiveForeground": "oklch(1.0000 0 0)",
33
+ "border": "oklch(0.9276 0.0058 264.5313)",
34
+ "input": "oklch(0.9276 0.0058 264.5313)",
35
+ "ring": "oklch(0.7686 0.1647 70.0804)",
36
+ "radius": "0.375rem",
37
+ "sidebarBackground": "oklch(0.9846 0.0017 247.8389)",
38
+ "sidebarForeground": "oklch(0.2686 0 0)",
39
+ "sidebarPrimary": "oklch(0.7686 0.1647 70.0804)",
40
+ "sidebarPrimaryForeground": "oklch(1.0000 0 0)",
41
+ "sidebarAccent": "oklch(0.9869 0.0214 95.2774)",
42
+ "sidebarAccentForeground": "oklch(0.4732 0.1247 46.2007)",
43
+ "sidebarBorder": "oklch(0.9276 0.0058 264.5313)",
44
+ "sidebarRing": "oklch(0.7686 0.1647 70.0804)",
45
+ "chart1": "oklch(0.7686 0.1647 70.0804)",
46
+ "chart2": "oklch(0.6658 0.1574 58.3183)",
47
+ "chart3": "oklch(0.5553 0.1455 48.9975)",
48
+ "chart4": "oklch(0.4732 0.1247 46.2007)",
49
+ "chart5": "oklch(0.4137 0.1054 45.9038)"
50
+ },
51
+ "dark": {
52
+ "background": "oklch(0.2046 0 0)",
53
+ "foreground": "oklch(0.9219 0 0)",
54
+ "card": "oklch(0.2686 0 0)",
55
+ "cardForeground": "oklch(0.9219 0 0)",
56
+ "popover": "oklch(0.2686 0 0)",
57
+ "popoverForeground": "oklch(0.9219 0 0)",
58
+ "primary": "oklch(0.7686 0.1647 70.0804)",
59
+ "primaryForeground": "oklch(0 0 0)",
60
+ "secondary": "oklch(0.2686 0 0)",
61
+ "secondaryForeground": "oklch(0.9219 0 0)",
62
+ "muted": "oklch(0.2393 0 0)",
63
+ "mutedForeground": "oklch(0.7155 0 0)",
64
+ "accent": "oklch(0.4732 0.1247 46.2007)",
65
+ "accentForeground": "oklch(0.9243 0.1151 95.7459)",
66
+ "destructive": "oklch(0.6368 0.2078 25.3313)",
67
+ "destructiveForeground": "oklch(1.0000 0 0)",
68
+ "border": "oklch(0.3715 0 0)",
69
+ "input": "oklch(0.3715 0 0)",
70
+ "ring": "oklch(0.7686 0.1647 70.0804)",
71
+ "radius": "0.375rem",
72
+ "sidebarBackground": "oklch(0.1684 0 0)",
73
+ "sidebarForeground": "oklch(0.9219 0 0)",
74
+ "sidebarPrimary": "oklch(0.7686 0.1647 70.0804)",
75
+ "sidebarPrimaryForeground": "oklch(1.0000 0 0)",
76
+ "sidebarAccent": "oklch(0.4732 0.1247 46.2007)",
77
+ "sidebarAccentForeground": "oklch(0.9243 0.1151 95.7459)",
78
+ "sidebarBorder": "oklch(0.3715 0 0)",
79
+ "sidebarRing": "oklch(0.7686 0.1647 70.0804)",
80
+ "chart1": "oklch(0.8369 0.1644 84.4286)",
81
+ "chart2": "oklch(0.6658 0.1574 58.3183)",
82
+ "chart3": "oklch(0.4732 0.1247 46.2007)",
83
+ "chart4": "oklch(0.5553 0.1455 48.9975)",
84
+ "chart5": "oklch(0.4732 0.1247 46.2007)"
85
+ }
86
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "version": 1,
3
+ "name": "amethyst-haze",
4
+ "label": "Amethyst Haze",
5
+ "description": "Soft lavender neutrals with muted purple primary (Geist + Lora + Fira Code).",
6
+ "recommended": true,
7
+ "radius": "0.5rem",
8
+ "fonts": {
9
+ "sans": "Geist, sans-serif",
10
+ "serif": "Lora, Georgia, serif",
11
+ "mono": "Fira Code, Courier New, monospace",
12
+ "files": [
13
+ "https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Geist:wght@100..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap"
14
+ ]
15
+ },
16
+ "light": {
17
+ "background": "oklch(0.9777 0.0041 301.4256)",
18
+ "foreground": "oklch(0.3651 0.0325 287.0807)",
19
+ "card": "oklch(1.0000 0 0)",
20
+ "cardForeground": "oklch(0.3651 0.0325 287.0807)",
21
+ "popover": "oklch(1.0000 0 0)",
22
+ "popoverForeground": "oklch(0.3651 0.0325 287.0807)",
23
+ "primary": "oklch(0.6104 0.0767 299.7335)",
24
+ "primaryForeground": "oklch(0.9777 0.0041 301.4256)",
25
+ "secondary": "oklch(0.8957 0.0265 300.2416)",
26
+ "secondaryForeground": "oklch(0.3651 0.0325 287.0807)",
27
+ "muted": "oklch(0.8906 0.0139 299.7754)",
28
+ "mutedForeground": "oklch(0.5288 0.0375 290.7895)",
29
+ "accent": "oklch(0.7889 0.0802 359.9375)",
30
+ "accentForeground": "oklch(0.3394 0.0441 1.7583)",
31
+ "destructive": "oklch(0.6332 0.1578 22.6734)",
32
+ "destructiveForeground": "oklch(0.9777 0.0041 301.4256)",
33
+ "border": "oklch(0.8447 0.0226 300.1421)",
34
+ "input": "oklch(0.9329 0.0124 301.2783)",
35
+ "ring": "oklch(0.6104 0.0767 299.7335)",
36
+ "radius": "0.5rem",
37
+ "sidebarBackground": "oklch(0.9554 0.0082 301.3541)",
38
+ "sidebarForeground": "oklch(0.3651 0.0325 287.0807)",
39
+ "sidebarPrimary": "oklch(0.6104 0.0767 299.7335)",
40
+ "sidebarPrimaryForeground": "oklch(0.9777 0.0041 301.4256)",
41
+ "sidebarAccent": "oklch(0.7889 0.0802 359.9375)",
42
+ "sidebarAccentForeground": "oklch(0.3394 0.0441 1.7583)",
43
+ "sidebarBorder": "oklch(0.8719 0.0198 302.1690)",
44
+ "sidebarRing": "oklch(0.6104 0.0767 299.7335)",
45
+ "chart1": "oklch(0.6104 0.0767 299.7335)",
46
+ "chart2": "oklch(0.7889 0.0802 359.9375)",
47
+ "chart3": "oklch(0.7321 0.0749 169.8670)",
48
+ "chart4": "oklch(0.8540 0.0882 76.8292)",
49
+ "chart5": "oklch(0.7857 0.0645 258.0839)"
50
+ },
51
+ "dark": {
52
+ "background": "oklch(0.2166 0.0215 292.8474)",
53
+ "foreground": "oklch(0.9053 0.0245 293.5570)",
54
+ "card": "oklch(0.2544 0.0301 292.7315)",
55
+ "cardForeground": "oklch(0.9053 0.0245 293.5570)",
56
+ "popover": "oklch(0.2544 0.0301 292.7315)",
57
+ "popoverForeground": "oklch(0.9053 0.0245 293.5570)",
58
+ "primary": "oklch(0.7058 0.0777 302.0489)",
59
+ "primaryForeground": "oklch(0.2166 0.0215 292.8474)",
60
+ "secondary": "oklch(0.4604 0.0472 295.5578)",
61
+ "secondaryForeground": "oklch(0.9053 0.0245 293.5570)",
62
+ "muted": "oklch(0.2560 0.0320 294.8380)",
63
+ "mutedForeground": "oklch(0.6974 0.0282 300.0614)",
64
+ "accent": "oklch(0.3181 0.0321 308.6149)",
65
+ "accentForeground": "oklch(0.8391 0.0692 2.6681)",
66
+ "destructive": "oklch(0.6875 0.1420 21.4566)",
67
+ "destructiveForeground": "oklch(0.2166 0.0215 292.8474)",
68
+ "border": "oklch(0.3063 0.0359 293.3367)",
69
+ "input": "oklch(0.2847 0.0346 291.2726)",
70
+ "ring": "oklch(0.7058 0.0777 302.0489)",
71
+ "radius": "0.5rem",
72
+ "sidebarBackground": "oklch(0.1985 0.0200 293.6639)",
73
+ "sidebarForeground": "oklch(0.9053 0.0245 293.5570)",
74
+ "sidebarPrimary": "oklch(0.7058 0.0777 302.0489)",
75
+ "sidebarPrimaryForeground": "oklch(0.2166 0.0215 292.8474)",
76
+ "sidebarAccent": "oklch(0.3181 0.0321 308.6149)",
77
+ "sidebarAccentForeground": "oklch(0.8391 0.0692 2.6681)",
78
+ "sidebarBorder": "oklch(0.2847 0.0346 291.2726)",
79
+ "sidebarRing": "oklch(0.7058 0.0777 302.0489)",
80
+ "chart1": "oklch(0.7058 0.0777 302.0489)",
81
+ "chart2": "oklch(0.8391 0.0692 2.6681)",
82
+ "chart3": "oklch(0.7321 0.0749 169.8670)",
83
+ "chart4": "oklch(0.8540 0.0882 76.8292)",
84
+ "chart5": "oklch(0.7857 0.0645 258.0839)"
85
+ }
86
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "version": 1,
3
+ "name": "astro-vista",
4
+ "label": "Astro Vista",
5
+ "description": "Soft cool neutrals with warm orange primary (Outfit + Merriweather + Fira Code).",
6
+ "recommended": true,
7
+ "radius": "0.5rem",
8
+ "fonts": {
9
+ "sans": "Outfit, sans-serif",
10
+ "serif": "Merriweather, serif",
11
+ "mono": "Fira Code, monospace",
12
+ "files": [
13
+ "https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Merriweather:ital,wght@0,300..900;1,300..900&family=Fira+Code:wght@300..700&display=swap"
14
+ ]
15
+ },
16
+ "light": {
17
+ "background": "oklch(0.9383 0.0042 236.4993)",
18
+ "foreground": "oklch(0.3211 0 0)",
19
+ "card": "oklch(1.0000 0 0)",
20
+ "cardForeground": "oklch(0.3211 0 0)",
21
+ "popover": "oklch(1.0000 0 0)",
22
+ "popoverForeground": "oklch(0.3211 0 0)",
23
+ "primary": "oklch(0.6420 0.1691 38.5815)",
24
+ "primaryForeground": "oklch(1.0000 0 0)",
25
+ "secondary": "oklch(0.4138 0.0846 259.8759)",
26
+ "secondaryForeground": "oklch(1.0000 0 0)",
27
+ "muted": "oklch(0.9846 0.0017 247.8389)",
28
+ "mutedForeground": "oklch(0.5510 0.0234 264.3637)",
29
+ "accent": "oklch(0.9119 0.0222 243.8174)",
30
+ "accentForeground": "oklch(0.3791 0.1378 265.5222)",
31
+ "destructive": "oklch(0.6368 0.2078 25.3313)",
32
+ "destructiveForeground": "oklch(1.0000 0 0)",
33
+ "border": "oklch(0.8452 0 0)",
34
+ "input": "oklch(0.9700 0.0029 264.5420)",
35
+ "ring": "oklch(0.6397 0.1720 36.4421)",
36
+ "radius": "0.5rem",
37
+ "sidebarBackground": "oklch(0.9030 0.0046 258.3257)",
38
+ "sidebarForeground": "oklch(0.3211 0 0)",
39
+ "sidebarPrimary": "oklch(0.6397 0.1720 36.4421)",
40
+ "sidebarPrimaryForeground": "oklch(1.0000 0 0)",
41
+ "sidebarAccent": "oklch(0.9119 0.0222 243.8174)",
42
+ "sidebarAccentForeground": "oklch(0.3791 0.1378 265.5222)",
43
+ "sidebarBorder": "oklch(0.9276 0.0058 264.5313)",
44
+ "sidebarRing": "oklch(0.6397 0.1720 36.4421)",
45
+ "chart1": "oklch(0.6693 0.0706 248.9230)",
46
+ "chart2": "oklch(0.6678 0.1546 41.6200)",
47
+ "chart3": "oklch(0.5957 0.1807 19.9763)",
48
+ "chart4": "oklch(0.7859 0.1342 83.6986)",
49
+ "chart5": "oklch(0.4227 0.0732 267.3899)"
50
+ },
51
+ "dark": {
52
+ "background": "oklch(0.2178 0 0)",
53
+ "foreground": "oklch(0.9219 0 0)",
54
+ "card": "oklch(0.2435 0 0)",
55
+ "cardForeground": "oklch(0.9219 0 0)",
56
+ "popover": "oklch(0.2435 0 0)",
57
+ "popoverForeground": "oklch(0.9219 0 0)",
58
+ "primary": "oklch(0.6420 0.1691 38.5815)",
59
+ "primaryForeground": "oklch(1.0000 0 0)",
60
+ "secondary": "oklch(0.3743 0.0726 258.5213)",
61
+ "secondaryForeground": "oklch(0.9219 0 0)",
62
+ "muted": "oklch(0.2850 0 0)",
63
+ "mutedForeground": "oklch(0.5999 0 0)",
64
+ "accent": "oklch(0.3380 0.0589 267.5867)",
65
+ "accentForeground": "oklch(0.8823 0.0571 254.1284)",
66
+ "destructive": "oklch(0.6368 0.2078 25.3313)",
67
+ "destructiveForeground": "oklch(1.0000 0 0)",
68
+ "border": "oklch(0.3290 0 0)",
69
+ "input": "oklch(0.3092 0 0)",
70
+ "ring": "oklch(0.6397 0.1720 36.4421)",
71
+ "radius": "0.5rem",
72
+ "sidebarBackground": "oklch(0.2393 0 0)",
73
+ "sidebarForeground": "oklch(0.9219 0 0)",
74
+ "sidebarPrimary": "oklch(0.6397 0.1720 36.4421)",
75
+ "sidebarPrimaryForeground": "oklch(1.0000 0 0)",
76
+ "sidebarAccent": "oklch(0.3380 0.0589 267.5867)",
77
+ "sidebarAccentForeground": "oklch(0.8823 0.0571 254.1284)",
78
+ "sidebarBorder": "oklch(0.3290 0 0)",
79
+ "sidebarRing": "oklch(0.6397 0.1720 36.4421)",
80
+ "chart1": "oklch(0.7124 0.0606 248.6896)",
81
+ "chart2": "oklch(0.6678 0.1546 41.6200)",
82
+ "chart3": "oklch(0.5957 0.1807 19.9763)",
83
+ "chart4": "oklch(0.7859 0.1342 83.6986)",
84
+ "chart5": "oklch(0.4227 0.0732 267.3899)"
85
+ }
86
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "version": 1,
3
+ "name": "bold-tech",
4
+ "label": "Bold Tech",
5
+ "description": "Vivid violet primary on cool lilac neutrals (Roboto + Playfair Display + Fira Code).",
6
+ "recommended": true,
7
+ "radius": "0.625rem",
8
+ "fonts": {
9
+ "sans": "Roboto, sans-serif",
10
+ "serif": "Playfair Display, serif",
11
+ "mono": "Fira Code, monospace",
12
+ "files": [
13
+ "https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"
14
+ ]
15
+ },
16
+ "light": {
17
+ "background": "oklch(1.0000 0 0)",
18
+ "foreground": "oklch(0.3588 0.1354 278.6973)",
19
+ "card": "oklch(1.0000 0 0)",
20
+ "cardForeground": "oklch(0.3588 0.1354 278.6973)",
21
+ "popover": "oklch(1.0000 0 0)",
22
+ "popoverForeground": "oklch(0.3588 0.1354 278.6973)",
23
+ "primary": "oklch(0.6056 0.2189 292.7172)",
24
+ "primaryForeground": "oklch(1.0000 0 0)",
25
+ "secondary": "oklch(0.9618 0.0202 295.1913)",
26
+ "secondaryForeground": "oklch(0.4568 0.2146 277.0229)",
27
+ "muted": "oklch(0.9691 0.0161 293.7558)",
28
+ "mutedForeground": "oklch(0.5413 0.2466 293.0090)",
29
+ "accent": "oklch(0.9319 0.0316 255.5855)",
30
+ "accentForeground": "oklch(0.4244 0.1809 265.6377)",
31
+ "destructive": "oklch(0.6368 0.2078 25.3313)",
32
+ "destructiveForeground": "oklch(1.0000 0 0)",
33
+ "border": "oklch(0.9299 0.0334 272.7879)",
34
+ "input": "oklch(0.9299 0.0334 272.7879)",
35
+ "ring": "oklch(0.6056 0.2189 292.7172)",
36
+ "radius": "0.625rem",
37
+ "sidebarBackground": "oklch(0.9691 0.0161 293.7558)",
38
+ "sidebarForeground": "oklch(0.3588 0.1354 278.6973)",
39
+ "sidebarPrimary": "oklch(0.6056 0.2189 292.7172)",
40
+ "sidebarPrimaryForeground": "oklch(1.0000 0 0)",
41
+ "sidebarAccent": "oklch(0.9319 0.0316 255.5855)",
42
+ "sidebarAccentForeground": "oklch(0.4244 0.1809 265.6377)",
43
+ "sidebarBorder": "oklch(0.9299 0.0334 272.7879)",
44
+ "sidebarRing": "oklch(0.6056 0.2189 292.7172)",
45
+ "chart1": "oklch(0.6056 0.2189 292.7172)",
46
+ "chart2": "oklch(0.5413 0.2466 293.0090)",
47
+ "chart3": "oklch(0.4907 0.2412 292.5809)",
48
+ "chart4": "oklch(0.4320 0.2106 292.7591)",
49
+ "chart5": "oklch(0.3796 0.1783 293.7446)"
50
+ },
51
+ "dark": {
52
+ "background": "oklch(0.2077 0.0398 265.7549)",
53
+ "foreground": "oklch(0.9299 0.0334 272.7879)",
54
+ "card": "oklch(0.2573 0.0861 281.2883)",
55
+ "cardForeground": "oklch(0.9299 0.0334 272.7879)",
56
+ "popover": "oklch(0.2573 0.0861 281.2883)",
57
+ "popoverForeground": "oklch(0.9299 0.0334 272.7879)",
58
+ "primary": "oklch(0.6056 0.2189 292.7172)",
59
+ "primaryForeground": "oklch(1.0000 0 0)",
60
+ "secondary": "oklch(0.2573 0.0861 281.2883)",
61
+ "secondaryForeground": "oklch(0.9299 0.0334 272.7879)",
62
+ "muted": "oklch(0.2329 0.0919 279.1398)",
63
+ "mutedForeground": "oklch(0.8112 0.1013 293.5712)",
64
+ "accent": "oklch(0.4568 0.2146 277.0229)",
65
+ "accentForeground": "oklch(0.9299 0.0334 272.7879)",
66
+ "destructive": "oklch(0.6368 0.2078 25.3313)",
67
+ "destructiveForeground": "oklch(1.0000 0 0)",
68
+ "border": "oklch(0.2827 0.1351 291.0894)",
69
+ "input": "oklch(0.2827 0.1351 291.0894)",
70
+ "ring": "oklch(0.6056 0.2189 292.7172)",
71
+ "radius": "0.625rem",
72
+ "sidebarBackground": "oklch(0.2077 0.0398 265.7549)",
73
+ "sidebarForeground": "oklch(0.9299 0.0334 272.7879)",
74
+ "sidebarPrimary": "oklch(0.6056 0.2189 292.7172)",
75
+ "sidebarPrimaryForeground": "oklch(1.0000 0 0)",
76
+ "sidebarAccent": "oklch(0.4568 0.2146 277.0229)",
77
+ "sidebarAccentForeground": "oklch(0.9299 0.0334 272.7879)",
78
+ "sidebarBorder": "oklch(0.2827 0.1351 291.0894)",
79
+ "sidebarRing": "oklch(0.6056 0.2189 292.7172)",
80
+ "chart1": "oklch(0.7090 0.1592 293.5412)",
81
+ "chart2": "oklch(0.6056 0.2189 292.7172)",
82
+ "chart3": "oklch(0.5413 0.2466 293.0090)",
83
+ "chart4": "oklch(0.4907 0.2412 292.5809)",
84
+ "chart5": "oklch(0.4320 0.2106 292.7591)"
85
+ }
86
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "version": 1,
3
+ "name": "bubblegum",
4
+ "label": "Bubblegum",
5
+ "description": "Playful pink primary with candy pastels (Poppins + Lora + Fira Code).",
6
+ "recommended": true,
7
+ "radius": "0.4rem",
8
+ "fonts": {
9
+ "sans": "Poppins, sans-serif",
10
+ "serif": "Lora, serif",
11
+ "mono": "Fira Code, monospace",
12
+ "files": [
13
+ "https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100..900;1,100..900&display=swap"
14
+ ]
15
+ },
16
+ "light": {
17
+ "background": "oklch(0.9399 0.0203 345.6985)",
18
+ "foreground": "oklch(0.4712 0 0)",
19
+ "card": "oklch(0.9498 0.0500 86.8891)",
20
+ "cardForeground": "oklch(0.4712 0 0)",
21
+ "popover": "oklch(1.0000 0 0)",
22
+ "popoverForeground": "oklch(0.4712 0 0)",
23
+ "primary": "oklch(0.6209 0.1801 348.1385)",
24
+ "primaryForeground": "oklch(1.0000 0 0)",
25
+ "secondary": "oklch(0.8095 0.0694 198.1863)",
26
+ "secondaryForeground": "oklch(0.3211 0 0)",
27
+ "muted": "oklch(0.8800 0.0504 212.0952)",
28
+ "mutedForeground": "oklch(0.5795 0 0)",
29
+ "accent": "oklch(0.9195 0.0801 87.6670)",
30
+ "accentForeground": "oklch(0.3211 0 0)",
31
+ "destructive": "oklch(0.7091 0.1697 21.9551)",
32
+ "destructiveForeground": "oklch(1.0000 0 0)",
33
+ "border": "oklch(0.6209 0.1801 348.1385)",
34
+ "input": "oklch(0.9189 0 0)",
35
+ "ring": "oklch(0.7002 0.1597 350.7532)",
36
+ "radius": "0.4rem",
37
+ "sidebarBackground": "oklch(0.9140 0.0424 343.0913)",
38
+ "sidebarForeground": "oklch(0.3211 0 0)",
39
+ "sidebarPrimary": "oklch(0.6559 0.2118 354.3084)",
40
+ "sidebarPrimaryForeground": "oklch(1.0000 0 0)",
41
+ "sidebarAccent": "oklch(0.8228 0.1095 346.0184)",
42
+ "sidebarAccentForeground": "oklch(0.3211 0 0)",
43
+ "sidebarBorder": "oklch(0.9464 0.0327 307.1745)",
44
+ "sidebarRing": "oklch(0.6559 0.2118 354.3084)",
45
+ "chart1": "oklch(0.7002 0.1597 350.7532)",
46
+ "chart2": "oklch(0.8189 0.0799 212.0892)",
47
+ "chart3": "oklch(0.9195 0.0801 87.6670)",
48
+ "chart4": "oklch(0.7998 0.1110 348.1791)",
49
+ "chart5": "oklch(0.6197 0.1899 353.9091)"
50
+ },
51
+ "dark": {
52
+ "background": "oklch(0.2497 0.0305 234.1628)",
53
+ "foreground": "oklch(0.9306 0.0197 349.0785)",
54
+ "card": "oklch(0.2902 0.0299 233.5352)",
55
+ "cardForeground": "oklch(0.9306 0.0197 349.0785)",
56
+ "popover": "oklch(0.2902 0.0299 233.5352)",
57
+ "popoverForeground": "oklch(0.9306 0.0197 349.0785)",
58
+ "primary": "oklch(0.9195 0.0801 87.6670)",
59
+ "primaryForeground": "oklch(0.2497 0.0305 234.1628)",
60
+ "secondary": "oklch(0.7794 0.0803 4.1330)",
61
+ "secondaryForeground": "oklch(0.2497 0.0305 234.1628)",
62
+ "muted": "oklch(0.2713 0.0086 255.5780)",
63
+ "mutedForeground": "oklch(0.7794 0.0803 4.1330)",
64
+ "accent": "oklch(0.6699 0.0988 356.9762)",
65
+ "accentForeground": "oklch(0.9306 0.0197 349.0785)",
66
+ "destructive": "oklch(0.6702 0.1806 350.3599)",
67
+ "destructiveForeground": "oklch(0.2497 0.0305 234.1628)",
68
+ "border": "oklch(0.3907 0.0399 242.2181)",
69
+ "input": "oklch(0.3093 0.0305 232.0027)",
70
+ "ring": "oklch(0.6998 0.0896 201.8672)",
71
+ "radius": "0.4rem",
72
+ "sidebarBackground": "oklch(0.2303 0.0270 235.9743)",
73
+ "sidebarForeground": "oklch(0.9670 0.0029 264.5419)",
74
+ "sidebarPrimary": "oklch(0.6559 0.2118 354.3084)",
75
+ "sidebarPrimaryForeground": "oklch(1.0000 0 0)",
76
+ "sidebarAccent": "oklch(0.8228 0.1095 346.0184)",
77
+ "sidebarAccentForeground": "oklch(0.2781 0.0296 256.8480)",
78
+ "sidebarBorder": "oklch(0.3729 0.0306 259.7328)",
79
+ "sidebarRing": "oklch(0.6559 0.2118 354.3084)",
80
+ "chart1": "oklch(0.6998 0.0896 201.8672)",
81
+ "chart2": "oklch(0.7794 0.0803 4.1330)",
82
+ "chart3": "oklch(0.6699 0.0988 356.9762)",
83
+ "chart4": "oklch(0.4408 0.0702 217.0848)",
84
+ "chart5": "oklch(0.2713 0.0086 255.5780)"
85
+ }
86
+ }