@amulet-laboratories/hex 0.3.0 → 0.5.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/dist/beacon.css +1 -0
- package/dist/brass.css +5 -0
- package/dist/cardinal.css +5 -0
- package/dist/citron.css +5 -0
- package/dist/clover.css +5 -0
- package/dist/cobalt.css +5 -0
- package/dist/copper.css +5 -0
- package/dist/cypress.css +5 -0
- package/dist/damson.css +5 -0
- package/dist/fern.css +5 -0
- package/dist/forge.css +2 -2
- package/dist/garden.css +2 -2
- package/dist/greyline.css +2 -2
- package/dist/harbor.css +5 -0
- package/dist/hearth.css +5 -0
- package/dist/hex.css +2 -2
- package/dist/iris.css +5 -0
- package/dist/juniper.css +5 -0
- package/dist/lagoon.css +5 -0
- package/dist/ochre.css +5 -0
- package/dist/orchid.css +5 -0
- package/dist/quartz.css +5 -0
- package/dist/roast.css +5 -0
- package/dist/sienna.css +5 -0
- package/dist/slate.css +5 -0
- package/dist/spacewizard.css +2 -2
- package/dist/vesper.css +5 -0
- package/dist/voltaic.css +1 -0
- package/package.json +73 -53
- package/src/index.css +3 -3
- package/src/scoped/index.css +13 -13
- package/src/scoped/themes/{kbcv.css → cardinal.css} +17 -1
- package/src/scoped/themes/citron.css +105 -0
- package/src/scoped/themes/{compass.css → clover.css} +26 -13
- package/src/scoped/themes/{vscode.css → cobalt.css} +10 -5
- package/src/scoped/themes/{undertow.css → copper.css} +16 -1
- package/src/scoped/themes/{tidemark.css → cypress.css} +24 -11
- package/src/scoped/themes/{aldricpace.css → harbor.css} +15 -3
- package/src/scoped/themes/hearth.css +134 -0
- package/src/scoped/themes/{briarcove.css → iris.css} +13 -2
- package/src/scoped/themes/juniper.css +121 -0
- package/src/scoped/themes/{duskline.css → lagoon.css} +25 -9
- package/src/scoped/themes/{saltsignal.css → ochre.css} +23 -10
- package/src/scoped/themes/{marenlys.css → orchid.css} +26 -9
- package/src/scoped/themes/{briarcovelib.css → sienna.css} +20 -7
- package/src/scoped/themes/{lanternhouse.css → vesper.css} +27 -6
- package/src/scoped/tokens.css +15 -13
- package/src/shared/components/content.css +772 -0
- package/src/shared/components/core.css +88 -720
- package/src/shared/components/data.css +24 -126
- package/src/shared/components/editor.css +33 -164
- package/src/shared/components/extras.css +30 -346
- package/src/shared/components/layout.css +21 -369
- package/src/shared/components/lists.css +11 -114
- package/src/shared/components/menus.css +10 -146
- package/src/shared/components/nav.css +112 -501
- package/src/shared/components/prose.css +12 -180
- package/src/shared/components/shell.css +22 -259
- package/src/shared/components/spatial.css +15 -47
- package/src/shared/components/temporal.css +28 -68
- package/src/shared/components/web.css +42 -1037
- package/src/shared/tokens.css +37 -0
- package/src/shared/utilities.css +52 -3
- package/src/themes/beacon/base.css +59 -0
- package/src/themes/beacon/index.css +11 -0
- package/src/themes/beacon/tokens.css +219 -0
- package/src/themes/brass/base.css +179 -0
- package/src/themes/brass/components.css +23 -0
- package/src/themes/brass/domains.css +731 -0
- package/src/themes/brass/tokens.css +208 -0
- package/src/themes/{kbcv → cardinal}/tokens.css +5 -0
- package/src/themes/citron/base.css +232 -0
- package/src/themes/citron/tokens.css +136 -0
- package/src/themes/{vscode → cobalt}/tokens.css +5 -5
- package/src/themes/damson/base.css +179 -0
- package/src/themes/damson/components.css +23 -0
- package/src/themes/damson/domains.css +731 -0
- package/src/themes/damson/tokens.css +208 -0
- package/src/themes/{quizbit → fern}/base.css +21 -27
- package/src/themes/fern/components.css +23 -0
- package/src/themes/fern/domains.css +731 -0
- package/src/themes/fern/tokens.css +208 -0
- package/src/themes/{aldricpace → harbor}/tokens.css +5 -0
- package/src/themes/hearth/base.css +111 -0
- package/src/themes/hearth/components.css +22 -0
- package/src/themes/hearth/domains.css +19 -0
- package/src/themes/hearth/tokens.css +179 -0
- package/src/themes/juniper/base.css +111 -0
- package/src/themes/juniper/components.css +22 -0
- package/src/themes/juniper/domains.css +19 -0
- package/src/themes/juniper/tokens.css +171 -0
- package/src/themes/lagoon/index.css +6 -0
- package/src/themes/{duskline → lagoon}/tokens.css +5 -0
- package/src/themes/ochre/index.css +6 -0
- package/src/themes/{saltsignal → ochre}/tokens.css +8 -8
- package/src/themes/orchid/index.css +6 -0
- package/src/themes/{marenlys → orchid}/tokens.css +8 -3
- package/src/themes/quartz/base.css +114 -0
- package/src/themes/quartz/components.css +23 -0
- package/src/themes/quartz/domains.css +731 -0
- package/src/themes/quartz/index.css +6 -0
- package/src/themes/quartz/tokens.css +208 -0
- package/src/themes/roast/base.css +114 -0
- package/src/themes/roast/components.css +23 -0
- package/src/themes/roast/domains.css +731 -0
- package/src/themes/roast/index.css +6 -0
- package/src/themes/roast/tokens.css +208 -0
- package/src/themes/sienna/index.css +6 -0
- package/src/themes/slate/base.css +207 -0
- package/src/themes/slate/components.css +23 -0
- package/src/themes/slate/domains.css +731 -0
- package/src/themes/slate/index.css +6 -0
- package/src/themes/slate/tokens.css +208 -0
- package/src/themes/vesper/index.css +6 -0
- package/src/themes/{lanternhouse → vesper}/tokens.css +5 -0
- package/dist/aldricpace.css +0 -5
- package/dist/briarcove.css +0 -5
- package/dist/briarcovelib.css +0 -5
- package/dist/compass.css +0 -5
- package/dist/duskline.css +0 -5
- package/dist/kbcv.css +0 -5
- package/dist/lanternhouse.css +0 -5
- package/dist/marenlys.css +0 -5
- package/dist/quizbit.css +0 -5
- package/dist/saltsignal.css +0 -5
- package/dist/tidemark.css +0 -5
- package/dist/undertow.css +0 -5
- package/dist/vscode.css +0 -5
- package/src/scoped/themes/quizbit.css +0 -101
- package/src/themes/quizbit/tokens.css +0 -132
- /package/src/themes/{aldricpace → brass}/index.css +0 -0
- /package/src/themes/{kbcv → cardinal}/base.css +0 -0
- /package/src/themes/{kbcv → cardinal}/components.css +0 -0
- /package/src/themes/{kbcv → cardinal}/domains.css +0 -0
- /package/src/themes/{briarcove → cardinal}/index.css +0 -0
- /package/src/themes/{quizbit → citron}/components.css +0 -0
- /package/src/themes/{quizbit → citron}/domains.css +0 -0
- /package/src/themes/{briarcovelib → citron}/index.css +0 -0
- /package/src/themes/{compass → clover}/base.css +0 -0
- /package/src/themes/{compass → clover}/components.css +0 -0
- /package/src/themes/{compass → clover}/domains.css +0 -0
- /package/src/themes/{compass → clover}/index.css +0 -0
- /package/src/themes/{compass → clover}/tokens.css +0 -0
- /package/src/themes/{vscode → cobalt}/base.css +0 -0
- /package/src/themes/{vscode → cobalt}/components.css +0 -0
- /package/src/themes/{vscode → cobalt}/domains.css +0 -0
- /package/src/themes/{vscode → cobalt}/index.css +0 -0
- /package/src/themes/{undertow → copper}/base.css +0 -0
- /package/src/themes/{undertow → copper}/components.css +0 -0
- /package/src/themes/{undertow → copper}/domains.css +0 -0
- /package/src/themes/{duskline → copper}/index.css +0 -0
- /package/src/themes/{undertow → copper}/tokens.css +0 -0
- /package/src/themes/{tidemark → cypress}/base.css +0 -0
- /package/src/themes/{tidemark → cypress}/components.css +0 -0
- /package/src/themes/{tidemark → cypress}/domains.css +0 -0
- /package/src/themes/{kbcv → cypress}/index.css +0 -0
- /package/src/themes/{tidemark → cypress}/tokens.css +0 -0
- /package/src/themes/{lanternhouse → damson}/index.css +0 -0
- /package/src/themes/{marenlys → fern}/index.css +0 -0
- /package/src/themes/{aldricpace → harbor}/base.css +0 -0
- /package/src/themes/{aldricpace → harbor}/components.css +0 -0
- /package/src/themes/{aldricpace → harbor}/domains.css +0 -0
- /package/src/themes/{quizbit → harbor}/index.css +0 -0
- /package/src/themes/{saltsignal → hearth}/index.css +0 -0
- /package/src/themes/{briarcove → iris}/base.css +0 -0
- /package/src/themes/{briarcove → iris}/components.css +0 -0
- /package/src/themes/{briarcove → iris}/domains.css +0 -0
- /package/src/themes/{tidemark → iris}/index.css +0 -0
- /package/src/themes/{briarcove → iris}/tokens.css +0 -0
- /package/src/themes/{undertow → juniper}/index.css +0 -0
- /package/src/themes/{duskline → lagoon}/base.css +0 -0
- /package/src/themes/{duskline → lagoon}/components.css +0 -0
- /package/src/themes/{duskline → lagoon}/domains.css +0 -0
- /package/src/themes/{saltsignal → ochre}/base.css +0 -0
- /package/src/themes/{saltsignal → ochre}/components.css +0 -0
- /package/src/themes/{saltsignal → ochre}/domains.css +0 -0
- /package/src/themes/{marenlys → orchid}/base.css +0 -0
- /package/src/themes/{marenlys → orchid}/components.css +0 -0
- /package/src/themes/{marenlys → orchid}/domains.css +0 -0
- /package/src/themes/{briarcovelib → sienna}/base.css +0 -0
- /package/src/themes/{briarcovelib → sienna}/components.css +0 -0
- /package/src/themes/{briarcovelib → sienna}/domains.css +0 -0
- /package/src/themes/{briarcovelib → sienna}/tokens.css +0 -0
- /package/src/themes/{lanternhouse → vesper}/base.css +0 -0
- /package/src/themes/{lanternhouse → vesper}/components.css +0 -0
- /package/src/themes/{lanternhouse → vesper}/domains.css +0 -0
- /package/src/themes/{andrewpassanisi → voltaic}/base.css +0 -0
- /package/src/themes/{andrewpassanisi → voltaic}/index.css +0 -0
- /package/src/themes/{andrewpassanisi → voltaic}/tokens.css +0 -0
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/* Hex — Meeplehaus Base Styles
|
|
2
|
+
* Board game lounge — Custom heading + body fonts. Strategic warmth.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@reference 'tailwindcss';
|
|
6
|
+
@reference './tokens.css';
|
|
7
|
+
|
|
8
|
+
/* Base styles */
|
|
9
|
+
html {
|
|
10
|
+
/* Keep 16px on <html> so Tailwind rem utilities stay correctly sized */
|
|
11
|
+
font-size: 16px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
html,
|
|
15
|
+
body {
|
|
16
|
+
@apply bg-background text-foreground;
|
|
17
|
+
|
|
18
|
+
color-scheme: light;
|
|
19
|
+
-webkit-font-smoothing: antialiased;
|
|
20
|
+
-moz-osx-font-smoothing: grayscale;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
body {
|
|
24
|
+
/* Board game community: 16px body, weight 400, relaxed leading, sans body */
|
|
25
|
+
font-size: 16px;
|
|
26
|
+
font-weight: 400;
|
|
27
|
+
line-height: 1.7;
|
|
28
|
+
font-family: var(--font-sans);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* Heading defaults — serif display headings */
|
|
32
|
+
h1 {
|
|
33
|
+
font-size: 40px;
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
font-family: var(--font-heading);
|
|
36
|
+
color: var(--color-primary);
|
|
37
|
+
margin: 0;
|
|
38
|
+
padding: 0;
|
|
39
|
+
line-height: 1.1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
h2 {
|
|
43
|
+
font-size: 32px;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
font-family: var(--font-heading);
|
|
46
|
+
color: var(--color-primary);
|
|
47
|
+
margin: 0;
|
|
48
|
+
padding: 0;
|
|
49
|
+
line-height: 1.2;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
h3 {
|
|
53
|
+
font-size: 24px;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
font-family: var(--font-heading);
|
|
56
|
+
color: var(--color-foreground);
|
|
57
|
+
margin: 0;
|
|
58
|
+
padding: 0;
|
|
59
|
+
line-height: 1.3;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Scrollbar */
|
|
63
|
+
::-webkit-scrollbar {
|
|
64
|
+
width: 8px;
|
|
65
|
+
height: 8px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
::-webkit-scrollbar-track {
|
|
69
|
+
background: transparent;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
::-webkit-scrollbar-thumb {
|
|
73
|
+
background: color-mix(in srgb, var(--color-foreground) 12%, transparent);
|
|
74
|
+
border-radius: 4px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
::-webkit-scrollbar-thumb:hover {
|
|
78
|
+
background: color-mix(in srgb, var(--color-foreground) 25%, transparent);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* Focus styles */
|
|
82
|
+
*:focus-visible {
|
|
83
|
+
outline: 2px solid var(--color-primary);
|
|
84
|
+
outline-offset: 2px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* Selection */
|
|
88
|
+
::selection {
|
|
89
|
+
background: color-mix(in srgb, var(--color-primary) 30%, transparent);
|
|
90
|
+
color: var(--color-foreground);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Smooth scrolling */
|
|
94
|
+
html {
|
|
95
|
+
scroll-behavior: smooth;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Reduced motion — disable animations and transitions */
|
|
99
|
+
@media (prefers-reduced-motion: reduce) {
|
|
100
|
+
*,
|
|
101
|
+
*::before,
|
|
102
|
+
*::after {
|
|
103
|
+
animation-duration: 0.01ms !important;
|
|
104
|
+
animation-iteration-count: 1 !important;
|
|
105
|
+
transition-duration: 0.01ms !important;
|
|
106
|
+
scroll-behavior: auto !important;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Firefox scrollbar */
|
|
111
|
+
* {
|
|
112
|
+
scrollbar-width: thin;
|
|
113
|
+
scrollbar-color: color-mix(in srgb, var(--color-foreground) 12%, transparent) transparent;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* ───────── Scroll-draw SVG utility ───────── */
|
|
117
|
+
|
|
118
|
+
@keyframes scroll-draw-in {
|
|
119
|
+
from {
|
|
120
|
+
stroke-dashoffset: 1;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
to {
|
|
124
|
+
stroke-dashoffset: 0;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
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
|
+
stroke-dasharray: 1;
|
|
135
|
+
stroke-dashoffset: 1;
|
|
136
|
+
animation: scroll-draw-in linear both;
|
|
137
|
+
animation-timeline: view();
|
|
138
|
+
animation-range: entry 20% cover 50%;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@media (prefers-reduced-motion: reduce) {
|
|
142
|
+
.scroll-draw path,
|
|
143
|
+
.scroll-draw line,
|
|
144
|
+
.scroll-draw polyline,
|
|
145
|
+
.scroll-draw polygon,
|
|
146
|
+
.scroll-draw circle,
|
|
147
|
+
.scroll-draw ellipse {
|
|
148
|
+
animation: none;
|
|
149
|
+
stroke-dashoffset: 0;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* ───────── Scroll-reveal utility ───────── */
|
|
154
|
+
|
|
155
|
+
@keyframes scroll-fade-in {
|
|
156
|
+
from {
|
|
157
|
+
opacity: 0;
|
|
158
|
+
transform: translateY(20px);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
to {
|
|
162
|
+
opacity: 1;
|
|
163
|
+
transform: translateY(0);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.scroll-reveal {
|
|
168
|
+
animation: scroll-fade-in linear both;
|
|
169
|
+
animation-timeline: view();
|
|
170
|
+
animation-range: entry 10% cover 30%;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@media (prefers-reduced-motion: reduce) {
|
|
174
|
+
.scroll-reveal {
|
|
175
|
+
animation: none;
|
|
176
|
+
opacity: 1;
|
|
177
|
+
transform: none;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* Hex — Meeplehaus Component Barrel */
|
|
2
|
+
|
|
3
|
+
@import '../../shared/rig-defaults.css';
|
|
4
|
+
@import '../../shared/components/core.css';
|
|
5
|
+
@import '../../shared/components/layout.css';
|
|
6
|
+
@import '../../shared/components/nav.css';
|
|
7
|
+
@import '../../shared/components/editor.css';
|
|
8
|
+
@import '../../shared/components/lists.css';
|
|
9
|
+
@import '../../shared/components/menus.css';
|
|
10
|
+
@import '../../shared/components/extras.css';
|
|
11
|
+
@import '../../shared/components/shell.css';
|
|
12
|
+
@import '../../shared/components/data.css';
|
|
13
|
+
@import '../../shared/components/spatial.css';
|
|
14
|
+
@import '../../shared/components/temporal.css';
|
|
15
|
+
@import '../../shared/components/web.css';
|
|
16
|
+
@import '../../shared/components/content.css';
|
|
17
|
+
@import '../../shared/a11y.css';
|
|
18
|
+
@import '../../shared/components/prose.css';
|
|
19
|
+
@import '../../shared/utilities.css';
|
|
20
|
+
@import '../../shared/scroll-animations.css';
|
|
21
|
+
|
|
22
|
+
@reference 'tailwindcss';
|
|
23
|
+
@reference './tokens.css';
|