@cameronsjo/artificer 0.12.0 → 0.18.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/README.md +47 -4
- package/package.json +5 -2
- package/src/artificer-icons.js +4 -1
- package/src/artificer-options.js +353 -0
- package/src/artificer-texture.css +153 -0
- package/src/artificer-theme.js +4 -1
- package/src/artificer-tree.js +227 -0
- package/src/artificer-whimsy.css +94 -2
- package/src/artificer-whimsy.js +88 -7
- package/src/artificer.css +506 -46
- package/src/assets/favicon.svg +4 -8
- package/src/assets/og-image.svg +19 -20
- package/src/print.css +1 -1
- package/src/tokens.json +4 -2
package/src/assets/favicon.svg
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
|
-
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
<path d="M 22 9 H 13 a 4 4 0 0 0 -4 4 v 6 a 4 4 0 0 0 4 4 h 9" fill="none" stroke="#dbbb6f" stroke-width="2.5" stroke-linecap="square"></path>
|
|
7
|
-
|
|
8
|
-
<circle cx="24" cy="22" r="1.5" fill="#c4808a"></circle>
|
|
9
|
-
</svg>
|
|
2
|
+
<rect width="32" height="32" rx="7" fill="#20203e"></rect>
|
|
3
|
+
<text x="4.5" y="24.5" font-family="'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace" font-weight="700" font-size="25" fill="#dbbb6f">a</text>
|
|
4
|
+
<circle cx="24.5" cy="22" r="3.2" fill="#dbbb6f"></circle>
|
|
5
|
+
</svg>
|
package/src/assets/og-image.svg
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 630" width="1200" height="630">
|
|
2
2
|
<rect width="1200" height="630" fill="#292c33"></rect>
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
<rect x="40" y="40" width="1120" height="550" fill="none" stroke="#4a4f5c" stroke-width="1"></rect>
|
|
5
5
|
<rect x="48" y="48" width="1104" height="534" fill="none" stroke="#5a3a9a" stroke-width="0.5"></rect>
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
<text x="80" y="100" fill="#b8cad4" font-family="'JetBrains Mono', ui-monospace, monospace" font-size="18" letter-spacing="3">
|
|
9
|
-
CAMERON · PERSONAL DESIGN
|
|
9
|
+
CAMERON · PERSONAL DESIGN SYSTEM
|
|
10
10
|
</text>
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
|
|
12
|
+
|
|
13
13
|
<text x="80" y="280" fill="#e8e6e1" font-family="'JetBrains Mono', ui-monospace, monospace" font-weight="700" font-size="120" letter-spacing="-2">
|
|
14
14
|
Artificer<tspan fill="#dbbb6f">.</tspan>
|
|
15
15
|
</text>
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
<text x="80" y="362" fill="#c5c8c6" font-family="'JetBrains Mono', ui-monospace, monospace" font-size="32" letter-spacing="0">
|
|
19
19
|
A design system for someone who works
|
|
20
20
|
</text>
|
|
@@ -22,33 +22,32 @@
|
|
|
22
22
|
rooted in <tspan fill="#dbbb6f">Ghostty</tspan> and the <tspan fill="#c4808a">Jazz Age</tspan>.
|
|
23
23
|
</text>
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
<g transform="translate(80, 480)">
|
|
27
|
-
|
|
28
|
-
<rect x="0" y="0" width="80" height="80" fill="#
|
|
27
|
+
|
|
28
|
+
<rect x="0" y="0" width="80" height="80" fill="#dbbb6f"></rect>
|
|
29
29
|
<text x="0" y="100" fill="#b8cad4" font-family="'JetBrains Mono', monospace" font-size="13" letter-spacing="1">GOLD</text>
|
|
30
|
-
|
|
30
|
+
|
|
31
31
|
<rect x="92" y="0" width="80" height="80" fill="#c4808a"></rect>
|
|
32
32
|
<text x="92" y="100" fill="#b8cad4" font-family="'JetBrains Mono', monospace" font-size="13" letter-spacing="1">ROSE</text>
|
|
33
|
-
|
|
33
|
+
|
|
34
34
|
<rect x="184" y="0" width="80" height="80" fill="#a04540"></rect>
|
|
35
35
|
<text x="184" y="100" fill="#b8cad4" font-family="'JetBrains Mono', monospace" font-size="13" letter-spacing="1">BRICK</text>
|
|
36
|
-
|
|
36
|
+
|
|
37
37
|
<rect x="276" y="0" width="80" height="80" fill="#4a8a5e"></rect>
|
|
38
38
|
<text x="276" y="100" fill="#b8cad4" font-family="'JetBrains Mono', monospace" font-size="13" letter-spacing="1">APOTH.</text>
|
|
39
|
-
|
|
39
|
+
|
|
40
40
|
<rect x="368" y="0" width="80" height="80" fill="#5a7a8a"></rect>
|
|
41
41
|
<text x="368" y="100" fill="#b8cad4" font-family="'JetBrains Mono', monospace" font-size="13" letter-spacing="1">STEEL</text>
|
|
42
|
-
|
|
42
|
+
|
|
43
43
|
<rect x="460" y="0" width="80" height="80" fill="#5a3a9a"></rect>
|
|
44
44
|
<text x="460" y="100" fill="#b8cad4" font-family="'JetBrains Mono', monospace" font-size="13" letter-spacing="1">ROYAL</text>
|
|
45
45
|
</g>
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
|
|
48
48
|
<g transform="translate(940, 200) scale(8)">
|
|
49
|
-
<rect width="32" height="32" rx="
|
|
50
|
-
<
|
|
51
|
-
<
|
|
52
|
-
<circle cx="24" cy="22" r="1.5" fill="#c4808a"></circle>
|
|
49
|
+
<rect width="32" height="32" rx="7" fill="#20203e"></rect>
|
|
50
|
+
<text x="4.5" y="24.5" font-family="'JetBrains Mono', ui-monospace, monospace" font-weight="700" font-size="25" fill="#dbbb6f">a</text>
|
|
51
|
+
<circle cx="24.5" cy="22" r="3.2" fill="#dbbb6f"></circle>
|
|
53
52
|
</g>
|
|
54
|
-
</svg>
|
|
53
|
+
</svg>
|
package/src/print.css
CHANGED
package/src/tokens.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://design-tokens.org/schema.json",
|
|
3
3
|
"$description": "Artificer · Cameron's personal design system. Machine-readable token export. Mirrors artificer.css. Source of truth lives in the CSS — regenerate this file if tokens change there.",
|
|
4
|
-
"$version": "0.
|
|
4
|
+
"$version": "0.18.1",
|
|
5
5
|
|
|
6
6
|
"color": {
|
|
7
7
|
"$description": "All colors paired with their dark/light values. AAA-tuned where indicated. v0.6 palette: apothecary × deco × speakeasy.",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"fg": {
|
|
17
17
|
"fg": { "dark": "#e8e6e1", "light": "#20203e", "use": "Primary text. Bone on dark, midnight indigo on ivory." },
|
|
18
18
|
"fgSecondary": { "dark": "#c5c8c6", "light": "#4a3f2a", "use": "Meta, hints, labels." },
|
|
19
|
+
"fgMuted": { "dark": "#5a7a8a", "light": "#5a7a8a", "use": "Muted meta/comment text — steel-blue, between secondary and disabled. AA-L (3.05:1 dark / 3.83:1 light)." },
|
|
19
20
|
"fgDisabled": { "dark": "#666666", "light": "#8a8070", "use": "Disabled controls, placeholders." },
|
|
20
21
|
"border": { "dark": "#4a4f5c", "light": "#cbb88a", "use": "Inputs, dividers, kbd." },
|
|
21
22
|
"borderLifted":{ "dark": "#5a606e", "light": "#b8a674", "use": "Lifted border — diagram rails/connectors; more perceptible than --border on the canvas (2.22:1 dark / 2.01:1 light, non-text)." }
|
|
@@ -132,7 +133,8 @@
|
|
|
132
133
|
"radius": {
|
|
133
134
|
"sm": { "value": "4px", "use": "Buttons, inputs, kbd." },
|
|
134
135
|
"md": { "value": "8px", "use": "Cards, panels." },
|
|
135
|
-
"lg": { "value": "12px", "use": "Overlays only." }
|
|
136
|
+
"lg": { "value": "12px", "use": "Overlays only." },
|
|
137
|
+
"pill": { "value": "999px", "use": "Fully-rounded pills: toggle track, chip." }
|
|
136
138
|
},
|
|
137
139
|
|
|
138
140
|
"motion": {
|