@amulet-laboratories/hex 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +120 -0
- package/dist/aldricpace.css +5 -0
- package/dist/briarcove.css +5 -0
- package/dist/briarcovelib.css +5 -0
- package/dist/compass.css +5 -0
- package/dist/duskline.css +5 -0
- package/dist/forge.css +5 -0
- package/dist/garden.css +5 -0
- package/dist/greyline.css +5 -0
- package/dist/hex.css +5 -0
- package/dist/kbcv.css +5 -0
- package/dist/lanternhouse.css +5 -0
- package/dist/marenlys.css +5 -0
- package/dist/quizbit.css +5 -0
- package/dist/saltsignal.css +5 -0
- package/dist/scoped.css +1 -0
- package/dist/spacewizard.css +5 -0
- package/dist/tidemark.css +5 -0
- package/dist/undertow.css +5 -0
- package/dist/vscode.css +5 -0
- package/package.json +119 -0
- package/src/index.css +10 -0
- package/src/scoped/bridge.css +47 -0
- package/src/scoped/index.css +51 -0
- package/src/scoped/themes/aldricpace.css +115 -0
- package/src/scoped/themes/briarcove.css +123 -0
- package/src/scoped/themes/briarcovelib.css +111 -0
- package/src/scoped/themes/compass.css +111 -0
- package/src/scoped/themes/duskline.css +117 -0
- package/src/scoped/themes/forge.css +123 -0
- package/src/scoped/themes/garden.css +123 -0
- package/src/scoped/themes/greyline.css +116 -0
- package/src/scoped/themes/kbcv.css +111 -0
- package/src/scoped/themes/lanternhouse.css +111 -0
- package/src/scoped/themes/marenlys.css +112 -0
- package/src/scoped/themes/quizbit.css +101 -0
- package/src/scoped/themes/saltsignal.css +114 -0
- package/src/scoped/themes/spacewizard.css +115 -0
- package/src/scoped/themes/tidemark.css +119 -0
- package/src/scoped/themes/undertow.css +113 -0
- package/src/scoped/themes/vscode.css +230 -0
- package/src/scoped/tokens.css +21 -0
- package/src/shared/a11y.css +175 -0
- package/src/shared/components/core.css +1654 -0
- package/src/shared/components/data.css +418 -0
- package/src/shared/components/editor.css +358 -0
- package/src/shared/components/extras.css +897 -0
- package/src/shared/components/layout.css +663 -0
- package/src/shared/components/lists.css +278 -0
- package/src/shared/components/menus.css +377 -0
- package/src/shared/components/nav.css +943 -0
- package/src/shared/components/prose.css +302 -0
- package/src/shared/components/shell.css +528 -0
- package/src/shared/components/spatial.css +184 -0
- package/src/shared/components/temporal.css +191 -0
- package/src/shared/components/web.css +1689 -0
- package/src/shared/rig-defaults.css +121 -0
- package/src/shared/scroll-animations.css +176 -0
- package/src/shared/tokens.css +125 -0
- package/src/shared/utilities.css +204 -0
- package/src/themes/aldricpace/base.css +114 -0
- package/src/themes/aldricpace/components.css +22 -0
- package/src/themes/aldricpace/domains.css +19 -0
- package/src/themes/aldricpace/index.css +6 -0
- package/src/themes/aldricpace/tokens.css +169 -0
- package/src/themes/andrewpassanisi/base.css +192 -0
- package/src/themes/andrewpassanisi/index.css +11 -0
- package/src/themes/andrewpassanisi/tokens.css +136 -0
- package/src/themes/briarcove/base.css +170 -0
- package/src/themes/briarcove/components.css +27 -0
- package/src/themes/briarcove/domains.css +72 -0
- package/src/themes/briarcove/index.css +6 -0
- package/src/themes/briarcove/tokens.css +179 -0
- package/src/themes/briarcovelib/base.css +111 -0
- package/src/themes/briarcovelib/components.css +22 -0
- package/src/themes/briarcovelib/domains.css +19 -0
- package/src/themes/briarcovelib/index.css +6 -0
- package/src/themes/briarcovelib/tokens.css +167 -0
- package/src/themes/compass/base.css +112 -0
- package/src/themes/compass/components.css +22 -0
- package/src/themes/compass/domains.css +19 -0
- package/src/themes/compass/index.css +6 -0
- package/src/themes/compass/tokens.css +167 -0
- package/src/themes/duskline/base.css +167 -0
- package/src/themes/duskline/components.css +27 -0
- package/src/themes/duskline/domains.css +72 -0
- package/src/themes/duskline/index.css +6 -0
- package/src/themes/duskline/tokens.css +171 -0
- package/src/themes/forge/base.css +165 -0
- package/src/themes/forge/components.css +24 -0
- package/src/themes/forge/domains.css +72 -0
- package/src/themes/forge/index.css +6 -0
- package/src/themes/forge/tokens.css +178 -0
- package/src/themes/garden/base.css +167 -0
- package/src/themes/garden/components.css +27 -0
- package/src/themes/garden/domains.css +72 -0
- package/src/themes/garden/index.css +6 -0
- package/src/themes/garden/tokens.css +178 -0
- package/src/themes/greyline/base.css +165 -0
- package/src/themes/greyline/components.css +24 -0
- package/src/themes/greyline/domains.css +70 -0
- package/src/themes/greyline/index.css +6 -0
- package/src/themes/greyline/tokens.css +161 -0
- package/src/themes/kbcv/base.css +112 -0
- package/src/themes/kbcv/components.css +22 -0
- package/src/themes/kbcv/domains.css +19 -0
- package/src/themes/kbcv/index.css +6 -0
- package/src/themes/kbcv/tokens.css +167 -0
- package/src/themes/lanternhouse/base.css +170 -0
- package/src/themes/lanternhouse/components.css +27 -0
- package/src/themes/lanternhouse/domains.css +72 -0
- package/src/themes/lanternhouse/index.css +6 -0
- package/src/themes/lanternhouse/tokens.css +167 -0
- package/src/themes/marenlys/base.css +181 -0
- package/src/themes/marenlys/components.css +27 -0
- package/src/themes/marenlys/domains.css +72 -0
- package/src/themes/marenlys/index.css +6 -0
- package/src/themes/marenlys/tokens.css +167 -0
- package/src/themes/quizbit/base.css +120 -0
- package/src/themes/quizbit/components.css +27 -0
- package/src/themes/quizbit/domains.css +7 -0
- package/src/themes/quizbit/index.css +6 -0
- package/src/themes/quizbit/tokens.css +132 -0
- package/src/themes/saltsignal/base.css +168 -0
- package/src/themes/saltsignal/components.css +27 -0
- package/src/themes/saltsignal/domains.css +72 -0
- package/src/themes/saltsignal/index.css +6 -0
- package/src/themes/saltsignal/tokens.css +170 -0
- package/src/themes/spacewizard/base.css +165 -0
- package/src/themes/spacewizard/components.css +24 -0
- package/src/themes/spacewizard/domains.css +70 -0
- package/src/themes/spacewizard/index.css +6 -0
- package/src/themes/spacewizard/tokens.css +160 -0
- package/src/themes/tidemark/base.css +169 -0
- package/src/themes/tidemark/components.css +27 -0
- package/src/themes/tidemark/domains.css +72 -0
- package/src/themes/tidemark/index.css +6 -0
- package/src/themes/tidemark/tokens.css +175 -0
- package/src/themes/undertow/base.css +114 -0
- package/src/themes/undertow/components.css +22 -0
- package/src/themes/undertow/domains.css +19 -0
- package/src/themes/undertow/index.css +6 -0
- package/src/themes/undertow/tokens.css +171 -0
- package/src/themes/vscode/base.css +104 -0
- package/src/themes/vscode/components.css +24 -0
- package/src/themes/vscode/domains.css +132 -0
- package/src/themes/vscode/index.css +13 -0
- package/src/themes/vscode/tokens.css +346 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/* Hex — Saltsignal Design Tokens
|
|
2
|
+
* Warm indie retail. Handmade feeling, earthy palette with golden amber
|
|
3
|
+
* and forest green accents. Light mode storefront theme — suited for
|
|
4
|
+
* small business sites, coffee shops, and indie retail.
|
|
5
|
+
*
|
|
6
|
+
* Full palette (8 swatch colors):
|
|
7
|
+
* #FAF6EE cream — background
|
|
8
|
+
* #EDE4D4 parchment — secondary, muted
|
|
9
|
+
* #FFFCF4 warm white — card, popover
|
|
10
|
+
* #2A2210 dark roast — foreground text
|
|
11
|
+
* #7A6A4A leather — muted foreground
|
|
12
|
+
* #B8860B amber — primary, ring
|
|
13
|
+
* #3D6B4F green — accent, success
|
|
14
|
+
* #B84233 red — destructive
|
|
15
|
+
*
|
|
16
|
+
* @theme feeds Tailwind v4 utility generation (bg-background, text-foreground, etc.)
|
|
17
|
+
* :root provides standalone CSS custom property access for non-Tailwind consumers.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
@theme {
|
|
21
|
+
/* Surface colors */
|
|
22
|
+
--color-background: #faf6ee;
|
|
23
|
+
--color-foreground: #2a2210;
|
|
24
|
+
--color-card: #fffcf4;
|
|
25
|
+
--color-card-foreground: #2a2210;
|
|
26
|
+
--color-popover: #fffcf4;
|
|
27
|
+
--color-popover-foreground: #2a2210;
|
|
28
|
+
|
|
29
|
+
/* Brand */
|
|
30
|
+
--color-primary: #b8860b;
|
|
31
|
+
--color-primary-foreground: #fffcf4;
|
|
32
|
+
|
|
33
|
+
/* Soft accents */
|
|
34
|
+
--color-secondary: #ede4d4;
|
|
35
|
+
--color-secondary-foreground: #2a2210;
|
|
36
|
+
--color-muted: #ede4d4;
|
|
37
|
+
--color-muted-foreground: #7a6a4a;
|
|
38
|
+
--color-accent: #3d6b4f;
|
|
39
|
+
--color-accent-foreground: #fffcf4;
|
|
40
|
+
|
|
41
|
+
/* Semantic status */
|
|
42
|
+
--color-destructive: #b84233;
|
|
43
|
+
--color-destructive-foreground: #fffcf4;
|
|
44
|
+
--color-success: #3d6b4f;
|
|
45
|
+
--color-warning: #d4a843;
|
|
46
|
+
--color-info: #5a7aaa;
|
|
47
|
+
|
|
48
|
+
/* Borders and focus */
|
|
49
|
+
--color-border: #d8ccb0;
|
|
50
|
+
--color-input: #d8ccb0;
|
|
51
|
+
--color-ring: #b8860b;
|
|
52
|
+
|
|
53
|
+
/* Typography */
|
|
54
|
+
--font-sans: 'Nunito Sans', 'Inter', system-ui, sans-serif;
|
|
55
|
+
--font-mono: 'Anybody', 'DM Mono', ui-monospace, monospace;
|
|
56
|
+
--font-serif: 'Fraunces', Georgia, serif;
|
|
57
|
+
--font-heading: 'Fraunces', Georgia, serif;
|
|
58
|
+
|
|
59
|
+
/* Radius */
|
|
60
|
+
/* Typography — IDE-density type scale */
|
|
61
|
+
--font-size-2xs: 0.625rem;
|
|
62
|
+
--font-size-2xs--line-height: 1.25;
|
|
63
|
+
--font-size-xs: 0.75rem;
|
|
64
|
+
--font-size-xs--line-height: 1.5;
|
|
65
|
+
--font-size-sm: 0.8125rem;
|
|
66
|
+
--font-size-sm--line-height: 1.5;
|
|
67
|
+
--font-size-base: 0.875rem;
|
|
68
|
+
--font-size-base--line-height: 1.5;
|
|
69
|
+
--font-size-lg: 1.125rem;
|
|
70
|
+
--font-size-lg--line-height: 1.25;
|
|
71
|
+
--font-size-xl: 1.25rem;
|
|
72
|
+
--font-size-xl--line-height: 1.25;
|
|
73
|
+
|
|
74
|
+
/* Display font family */
|
|
75
|
+
--font-display: var(--font-sans);
|
|
76
|
+
|
|
77
|
+
--radius: 10px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
:root {
|
|
81
|
+
--background: #faf6ee;
|
|
82
|
+
--foreground: #2a2210;
|
|
83
|
+
--card: #fffcf4;
|
|
84
|
+
--card-foreground: #2a2210;
|
|
85
|
+
--popover: #fffcf4;
|
|
86
|
+
--popover-foreground: #2a2210;
|
|
87
|
+
--primary: #b8860b;
|
|
88
|
+
--primary-foreground: #fffcf4;
|
|
89
|
+
--secondary: #ede4d4;
|
|
90
|
+
--secondary-foreground: #2a2210;
|
|
91
|
+
--muted: #ede4d4;
|
|
92
|
+
--muted-foreground: #7a6a4a;
|
|
93
|
+
--accent: #3d6b4f;
|
|
94
|
+
--accent-foreground: #fffcf4;
|
|
95
|
+
--destructive: #b84233;
|
|
96
|
+
--destructive-foreground: #fffcf4;
|
|
97
|
+
--success: #3d6b4f;
|
|
98
|
+
--warning: #d4a843;
|
|
99
|
+
--info: #5a7aaa;
|
|
100
|
+
--border: #d8ccb0;
|
|
101
|
+
--input: #d8ccb0;
|
|
102
|
+
--ring: #b8860b;
|
|
103
|
+
/* Typography — IDE-density type scale */
|
|
104
|
+
--font-size-2xs: 0.625rem;
|
|
105
|
+
--font-size-2xs--line-height: 1.25;
|
|
106
|
+
--font-size-xs: 0.75rem;
|
|
107
|
+
--font-size-xs--line-height: 1.5;
|
|
108
|
+
--font-size-sm: 0.8125rem;
|
|
109
|
+
--font-size-sm--line-height: 1.5;
|
|
110
|
+
--font-size-base: 0.875rem;
|
|
111
|
+
--font-size-base--line-height: 1.5;
|
|
112
|
+
--font-size-lg: 1.125rem;
|
|
113
|
+
--font-size-lg--line-height: 1.25;
|
|
114
|
+
--font-size-xl: 1.25rem;
|
|
115
|
+
--font-size-xl--line-height: 1.25;
|
|
116
|
+
|
|
117
|
+
/* Display font family */
|
|
118
|
+
--font-display: var(--font-sans);
|
|
119
|
+
|
|
120
|
+
--radius: 10px;
|
|
121
|
+
|
|
122
|
+
/* Typography — IDE-density type scale (shorthand aliases) */
|
|
123
|
+
--text-2xs: 0.625rem;
|
|
124
|
+
--text-xs: 0.75rem;
|
|
125
|
+
--text-sm: 0.8125rem;
|
|
126
|
+
--text-base: 0.875rem;
|
|
127
|
+
--text-lg: 1.125rem;
|
|
128
|
+
--text-xl: 1.25rem;
|
|
129
|
+
--leading-tight: 1.25;
|
|
130
|
+
--leading-snug: 1.375;
|
|
131
|
+
--leading-normal: 1.5;
|
|
132
|
+
--leading-relaxed: 1.625;
|
|
133
|
+
--weight-normal: 400;
|
|
134
|
+
--weight-medium: 500;
|
|
135
|
+
--weight-semibold: 600;
|
|
136
|
+
--weight-bold: 700;
|
|
137
|
+
--tracking-tight: -0.01em;
|
|
138
|
+
--tracking-normal: 0;
|
|
139
|
+
--tracking-wide: 0.05em;
|
|
140
|
+
--tracking-wider: 0.08em;
|
|
141
|
+
--font-display: var(--font-sans);
|
|
142
|
+
--font-sans: 'Nunito Sans', 'Inter', system-ui, sans-serif;
|
|
143
|
+
--font-mono: 'Anybody', 'DM Mono', ui-monospace, monospace;
|
|
144
|
+
--font-serif: 'Fraunces', Georgia, serif;
|
|
145
|
+
--font-heading: 'Fraunces', Georgia, serif;
|
|
146
|
+
|
|
147
|
+
/* ── Named palette aliases ──────────────────────────────────────────────
|
|
148
|
+
* All 8 swatch colors available for direct template use.
|
|
149
|
+
*/
|
|
150
|
+
--ss-cream: #faf6ee;
|
|
151
|
+
--ss-parchment: #ede4d4;
|
|
152
|
+
--ss-warm-white: #fffcf4;
|
|
153
|
+
--ss-dark-roast: #2a2210;
|
|
154
|
+
--ss-leather: #7a6a4a;
|
|
155
|
+
--ss-amber: #b8860b;
|
|
156
|
+
--ss-green: #3d6b4f;
|
|
157
|
+
--ss-red: #b84233;
|
|
158
|
+
|
|
159
|
+
/* ── Rig component token bridge ─────────────────────────────────────────
|
|
160
|
+
* Overrides shared/tokens.css defaults where the Saltsignal palette needs
|
|
161
|
+
* values that can't be derived directly from --color-* semantics.
|
|
162
|
+
*/
|
|
163
|
+
|
|
164
|
+
/* Button — parchment for hover feedback */
|
|
165
|
+
--rig-button-hover-bg: #ede4d4;
|
|
166
|
+
|
|
167
|
+
/* Scrollbar — warm dark roast tint */
|
|
168
|
+
--rig-scrollbar-thumb: rgba(42, 34, 16, 0.12);
|
|
169
|
+
--rig-scrollbar-thumb-hover: rgba(42, 34, 16, 0.25);
|
|
170
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/* Hex — Spacewizard Base Styles
|
|
2
|
+
* html/body defaults, scrollbar, focus, selection, transitions.
|
|
3
|
+
* Sans-serif typography with deep space navy canvas.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@reference 'tailwindcss';
|
|
7
|
+
@reference './tokens.css';
|
|
8
|
+
|
|
9
|
+
/* Base styles */
|
|
10
|
+
html {
|
|
11
|
+
font-size: 16px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
html,
|
|
15
|
+
body {
|
|
16
|
+
@apply bg-background text-foreground font-sans;
|
|
17
|
+
|
|
18
|
+
color-scheme: dark;
|
|
19
|
+
-webkit-font-smoothing: antialiased;
|
|
20
|
+
-moz-osx-font-smoothing: grayscale;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
body {
|
|
24
|
+
font-size: 24px;
|
|
25
|
+
font-weight: 300;
|
|
26
|
+
line-height: 1.6;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Heading defaults */
|
|
30
|
+
h1 {
|
|
31
|
+
font-size: 77px;
|
|
32
|
+
font-weight: 700;
|
|
33
|
+
color: var(--color-primary);
|
|
34
|
+
margin: 0;
|
|
35
|
+
padding: 0;
|
|
36
|
+
line-height: 1.1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
h2 {
|
|
40
|
+
font-size: 76px;
|
|
41
|
+
font-weight: 100;
|
|
42
|
+
color: var(--color-primary);
|
|
43
|
+
margin: 0;
|
|
44
|
+
padding: 0;
|
|
45
|
+
line-height: 1.1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Scrollbar */
|
|
49
|
+
::-webkit-scrollbar {
|
|
50
|
+
width: 8px;
|
|
51
|
+
height: 8px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
::-webkit-scrollbar-track {
|
|
55
|
+
background: transparent;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
::-webkit-scrollbar-thumb {
|
|
59
|
+
background: color-mix(in srgb, var(--color-foreground) 15%, transparent);
|
|
60
|
+
border-radius: 4px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
::-webkit-scrollbar-thumb:hover {
|
|
64
|
+
background: color-mix(in srgb, var(--color-foreground) 25%, transparent);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Focus styles */
|
|
68
|
+
*:focus-visible {
|
|
69
|
+
outline: 2px solid var(--color-primary);
|
|
70
|
+
outline-offset: 2px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Selection */
|
|
74
|
+
::selection {
|
|
75
|
+
background: color-mix(in srgb, var(--color-primary) 40%, transparent);
|
|
76
|
+
color: var(--color-foreground);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Smooth scrolling */
|
|
80
|
+
html {
|
|
81
|
+
scroll-behavior: smooth;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Reduced motion */
|
|
85
|
+
@media (prefers-reduced-motion: reduce) {
|
|
86
|
+
*,
|
|
87
|
+
*::before,
|
|
88
|
+
*::after {
|
|
89
|
+
animation-duration: 0.01ms !important;
|
|
90
|
+
animation-iteration-count: 1 !important;
|
|
91
|
+
transition-duration: 0.01ms !important;
|
|
92
|
+
scroll-behavior: auto !important;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Firefox scrollbar */
|
|
97
|
+
* {
|
|
98
|
+
scrollbar-width: thin;
|
|
99
|
+
scrollbar-color: color-mix(in srgb, var(--color-foreground) 15%, transparent) transparent;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* ───────── Scroll-draw SVG utility ───────── */
|
|
103
|
+
|
|
104
|
+
@keyframes scroll-draw-in {
|
|
105
|
+
from {
|
|
106
|
+
stroke-dashoffset: 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
to {
|
|
110
|
+
stroke-dashoffset: 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.scroll-draw path,
|
|
115
|
+
.scroll-draw line,
|
|
116
|
+
.scroll-draw polyline,
|
|
117
|
+
.scroll-draw polygon,
|
|
118
|
+
.scroll-draw circle,
|
|
119
|
+
.scroll-draw ellipse {
|
|
120
|
+
stroke-dasharray: 1;
|
|
121
|
+
stroke-dashoffset: 1;
|
|
122
|
+
animation: scroll-draw-in linear both;
|
|
123
|
+
animation-timeline: view();
|
|
124
|
+
animation-range: entry 20% cover 50%;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@media (prefers-reduced-motion: reduce) {
|
|
128
|
+
.scroll-draw path,
|
|
129
|
+
.scroll-draw line,
|
|
130
|
+
.scroll-draw polyline,
|
|
131
|
+
.scroll-draw polygon,
|
|
132
|
+
.scroll-draw circle,
|
|
133
|
+
.scroll-draw ellipse {
|
|
134
|
+
animation: none;
|
|
135
|
+
stroke-dashoffset: 0;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* ───────── Scroll-reveal utility ───────── */
|
|
140
|
+
|
|
141
|
+
@keyframes scroll-fade-in {
|
|
142
|
+
from {
|
|
143
|
+
opacity: 0;
|
|
144
|
+
transform: translateY(20px);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
to {
|
|
148
|
+
opacity: 1;
|
|
149
|
+
transform: translateY(0);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.scroll-reveal {
|
|
154
|
+
animation: scroll-fade-in linear both;
|
|
155
|
+
animation-timeline: view();
|
|
156
|
+
animation-range: entry 10% cover 30%;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@media (prefers-reduced-motion: reduce) {
|
|
160
|
+
.scroll-reveal {
|
|
161
|
+
animation: none;
|
|
162
|
+
opacity: 1;
|
|
163
|
+
transform: none;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Hex — Spacewizard Component Barrel
|
|
2
|
+
* Imports shared component CSS (one file per Rig package).
|
|
3
|
+
* Components use only semantic tokens — Tailwind resolves them
|
|
4
|
+
* against this theme's tokens.css at build time.
|
|
5
|
+
* @import rules must precede @reference so postcss-import can inline them.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@import '../../shared/rig-defaults.css';
|
|
9
|
+
@import '../../shared/components/core.css';
|
|
10
|
+
@import '../../shared/components/layout.css';
|
|
11
|
+
@import '../../shared/components/nav.css';
|
|
12
|
+
@import '../../shared/components/editor.css';
|
|
13
|
+
@import '../../shared/components/lists.css';
|
|
14
|
+
@import '../../shared/components/menus.css';
|
|
15
|
+
@import '../../shared/components/extras.css';
|
|
16
|
+
@import '../../shared/components/shell.css';
|
|
17
|
+
@import '../../shared/components/data.css';
|
|
18
|
+
@import '../../shared/components/spatial.css';
|
|
19
|
+
@import '../../shared/components/temporal.css';
|
|
20
|
+
@import '../../shared/a11y.css';
|
|
21
|
+
@import '../../shared/components/prose.css';
|
|
22
|
+
|
|
23
|
+
@reference 'tailwindcss';
|
|
24
|
+
@reference './tokens.css';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* Hex — Spacewizard Domains
|
|
2
|
+
* Domain accent colors, responsive breakpoints, unstyled overrides.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@reference 'tailwindcss';
|
|
6
|
+
@reference './tokens.css';
|
|
7
|
+
|
|
8
|
+
/* ───────── Domain accent colors ───────── */
|
|
9
|
+
|
|
10
|
+
[data-domain='legal'] {
|
|
11
|
+
--domain-accent: #3b82f6;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-domain='life'] {
|
|
15
|
+
--domain-accent: #eab308;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-domain='software'] {
|
|
19
|
+
--domain-accent: #ef4444;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-domain='business'] {
|
|
23
|
+
--domain-accent: #f97316;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-domain='history'] {
|
|
27
|
+
--domain-accent: #22c55e;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-domain='world'] {
|
|
31
|
+
--domain-accent: #a855f7;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* ───────── Responsive: Marketing site ───────── */
|
|
35
|
+
|
|
36
|
+
@media (width <= 700px) {
|
|
37
|
+
[data-rig-shell-grid] {
|
|
38
|
+
grid-template-areas:
|
|
39
|
+
'editor'
|
|
40
|
+
'panel'
|
|
41
|
+
'statusbar';
|
|
42
|
+
grid-template-columns: 1fr;
|
|
43
|
+
grid-template-rows: 1fr auto auto;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
[data-rig-shell-activity] {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[data-rig-shell-sidebar] {
|
|
51
|
+
display: none;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* ───────── Unstyled theme overrides ───────── */
|
|
56
|
+
|
|
57
|
+
[data-theme='unstyled'] *,
|
|
58
|
+
[data-theme='unstyled'] *::before,
|
|
59
|
+
[data-theme='unstyled'] *::after {
|
|
60
|
+
color: revert !important;
|
|
61
|
+
background-color: revert !important;
|
|
62
|
+
background: revert !important;
|
|
63
|
+
border-color: revert !important;
|
|
64
|
+
box-shadow: none !important;
|
|
65
|
+
text-shadow: none !important;
|
|
66
|
+
backdrop-filter: none !important;
|
|
67
|
+
opacity: 1 !important;
|
|
68
|
+
|
|
69
|
+
--domain-accent: initial !important;
|
|
70
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/* Hex — Spacewizard Design Tokens
|
|
2
|
+
* Deep space blue background with acid green accents.
|
|
3
|
+
* Dark mode personal/portfolio theme — suited for developer portfolios.
|
|
4
|
+
*
|
|
5
|
+
* Palette:
|
|
6
|
+
* #060d2b space navy — background
|
|
7
|
+
* #0a1440 deep navy — card, popover
|
|
8
|
+
* #111d52 surface — secondary, borders
|
|
9
|
+
* #1e2a6b border — input borders
|
|
10
|
+
* #7b88b8 muted text — muted foreground
|
|
11
|
+
* #aef66d acid green — primary brand
|
|
12
|
+
* #c4f99a light green — accent hover
|
|
13
|
+
* #cad3f7 ice blue — foreground text
|
|
14
|
+
* #f87171 red — destructive
|
|
15
|
+
* #fbbf24 amber — warning
|
|
16
|
+
* #34d399 emerald — success
|
|
17
|
+
* #60a5fa blue — info
|
|
18
|
+
*
|
|
19
|
+
* @theme feeds Tailwind v4 utility generation.
|
|
20
|
+
* :root provides standalone CSS custom property access.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
@theme {
|
|
24
|
+
/* Surface colors */
|
|
25
|
+
--color-background: #060d2b;
|
|
26
|
+
--color-foreground: #cad3f7;
|
|
27
|
+
--color-card: #0a1440;
|
|
28
|
+
--color-card-foreground: #cad3f7;
|
|
29
|
+
--color-popover: #0a1440;
|
|
30
|
+
--color-popover-foreground: #cad3f7;
|
|
31
|
+
|
|
32
|
+
/* Brand */
|
|
33
|
+
--color-primary: #aef66d;
|
|
34
|
+
--color-primary-foreground: #060d2b;
|
|
35
|
+
|
|
36
|
+
/* Soft accents */
|
|
37
|
+
--color-secondary: #111d52;
|
|
38
|
+
--color-secondary-foreground: #cad3f7;
|
|
39
|
+
--color-muted: #111d52;
|
|
40
|
+
--color-muted-foreground: #7b88b8;
|
|
41
|
+
--color-accent: #c4f99a;
|
|
42
|
+
--color-accent-foreground: #060d2b;
|
|
43
|
+
|
|
44
|
+
/* Semantic status */
|
|
45
|
+
--color-destructive: #f87171;
|
|
46
|
+
--color-destructive-foreground: #060d2b;
|
|
47
|
+
--color-success: #34d399;
|
|
48
|
+
--color-warning: #fbbf24;
|
|
49
|
+
--color-info: #60a5fa;
|
|
50
|
+
|
|
51
|
+
/* Borders and focus */
|
|
52
|
+
--color-border: #1e2a6b;
|
|
53
|
+
--color-input: #1e2a6b;
|
|
54
|
+
--color-ring: #aef66d;
|
|
55
|
+
|
|
56
|
+
/* Typography */
|
|
57
|
+
--font-mono: 'Fira Code', 'SF Mono', 'JetBrains Mono', 'Cascadia Code', ui-monospace, monospace;
|
|
58
|
+
--font-sans: 'Open Sans', 'Inter', system-ui, sans-serif;
|
|
59
|
+
|
|
60
|
+
/* Radius */
|
|
61
|
+
/* Typography — IDE-density type scale */
|
|
62
|
+
--font-size-2xs: 0.625rem;
|
|
63
|
+
--font-size-2xs--line-height: 1.25;
|
|
64
|
+
--font-size-xs: 0.75rem;
|
|
65
|
+
--font-size-xs--line-height: 1.5;
|
|
66
|
+
--font-size-sm: 0.8125rem;
|
|
67
|
+
--font-size-sm--line-height: 1.5;
|
|
68
|
+
--font-size-base: 0.875rem;
|
|
69
|
+
--font-size-base--line-height: 1.5;
|
|
70
|
+
--font-size-lg: 1.125rem;
|
|
71
|
+
--font-size-lg--line-height: 1.25;
|
|
72
|
+
--font-size-xl: 1.25rem;
|
|
73
|
+
--font-size-xl--line-height: 1.25;
|
|
74
|
+
|
|
75
|
+
/* Display font family */
|
|
76
|
+
--font-display: var(--font-sans);
|
|
77
|
+
|
|
78
|
+
--radius: 6px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:root {
|
|
82
|
+
--background: #060d2b;
|
|
83
|
+
--foreground: #cad3f7;
|
|
84
|
+
--card: #0a1440;
|
|
85
|
+
--card-foreground: #cad3f7;
|
|
86
|
+
--popover: #0a1440;
|
|
87
|
+
--popover-foreground: #cad3f7;
|
|
88
|
+
--primary: #aef66d;
|
|
89
|
+
--primary-foreground: #060d2b;
|
|
90
|
+
--secondary: #111d52;
|
|
91
|
+
--secondary-foreground: #cad3f7;
|
|
92
|
+
--muted: #111d52;
|
|
93
|
+
--muted-foreground: #7b88b8;
|
|
94
|
+
--accent: #c4f99a;
|
|
95
|
+
--accent-foreground: #060d2b;
|
|
96
|
+
--destructive: #f87171;
|
|
97
|
+
--destructive-foreground: #060d2b;
|
|
98
|
+
--success: #34d399;
|
|
99
|
+
--warning: #fbbf24;
|
|
100
|
+
--info: #60a5fa;
|
|
101
|
+
--border: #1e2a6b;
|
|
102
|
+
--input: #1e2a6b;
|
|
103
|
+
--ring: #aef66d;
|
|
104
|
+
/* Typography — IDE-density type scale */
|
|
105
|
+
--font-size-2xs: 0.625rem;
|
|
106
|
+
--font-size-2xs--line-height: 1.25;
|
|
107
|
+
--font-size-xs: 0.75rem;
|
|
108
|
+
--font-size-xs--line-height: 1.5;
|
|
109
|
+
--font-size-sm: 0.8125rem;
|
|
110
|
+
--font-size-sm--line-height: 1.5;
|
|
111
|
+
--font-size-base: 0.875rem;
|
|
112
|
+
--font-size-base--line-height: 1.5;
|
|
113
|
+
--font-size-lg: 1.125rem;
|
|
114
|
+
--font-size-lg--line-height: 1.25;
|
|
115
|
+
--font-size-xl: 1.25rem;
|
|
116
|
+
--font-size-xl--line-height: 1.25;
|
|
117
|
+
|
|
118
|
+
/* Display font family */
|
|
119
|
+
--font-display: var(--font-sans);
|
|
120
|
+
|
|
121
|
+
--radius: 6px;
|
|
122
|
+
|
|
123
|
+
/* Typography — IDE-density type scale (shorthand aliases) */
|
|
124
|
+
--text-2xs: 0.625rem;
|
|
125
|
+
--text-xs: 0.75rem;
|
|
126
|
+
--text-sm: 0.8125rem;
|
|
127
|
+
--text-base: 0.875rem;
|
|
128
|
+
--text-lg: 1.125rem;
|
|
129
|
+
--text-xl: 1.25rem;
|
|
130
|
+
--leading-tight: 1.25;
|
|
131
|
+
--leading-snug: 1.375;
|
|
132
|
+
--leading-normal: 1.5;
|
|
133
|
+
--leading-relaxed: 1.625;
|
|
134
|
+
--weight-normal: 400;
|
|
135
|
+
--weight-medium: 500;
|
|
136
|
+
--weight-semibold: 600;
|
|
137
|
+
--weight-bold: 700;
|
|
138
|
+
--tracking-tight: -0.01em;
|
|
139
|
+
--tracking-normal: 0;
|
|
140
|
+
--tracking-wide: 0.05em;
|
|
141
|
+
--tracking-wider: 0.08em;
|
|
142
|
+
--font-display: var(--font-sans);
|
|
143
|
+
--font-mono: 'Fira Code', 'SF Mono', 'JetBrains Mono', 'Cascadia Code', ui-monospace, monospace;
|
|
144
|
+
--font-sans: 'Open Sans', 'Inter', system-ui, sans-serif;
|
|
145
|
+
|
|
146
|
+
/* ── Named palette aliases ── */
|
|
147
|
+
--sw-space: #060d2b;
|
|
148
|
+
--sw-deep: #0a1440;
|
|
149
|
+
--sw-surface: #111d52;
|
|
150
|
+
--sw-border: #1e2a6b;
|
|
151
|
+
--sw-muted: #7b88b8;
|
|
152
|
+
--sw-green: #aef66d;
|
|
153
|
+
--sw-green-light: #c4f99a;
|
|
154
|
+
--sw-ice: #cad3f7;
|
|
155
|
+
|
|
156
|
+
/* ── Rig component token bridge ── */
|
|
157
|
+
--rig-button-hover-bg: #111d52;
|
|
158
|
+
--rig-scrollbar-thumb: rgba(202, 211, 247, 0.18);
|
|
159
|
+
--rig-scrollbar-thumb-hover: rgba(202, 211, 247, 0.35);
|
|
160
|
+
}
|