@zerwiz/ymir 0.1.10 → 0.1.12
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/.agents/skills/galdr-ymirsystem/assets/installation.md +29 -0
- package/CHANGELOG.md +100 -0
- package/bin/app-lib.sh +11 -1
- package/bin/design-icon.sh +32 -14
- package/bin/ymir-config.sh +76 -0
- package/bin/ymir-install.sh +15 -9
- package/bin/ymir-style.sh +24 -0
- package/bin/ymir.js +16 -1
- package/midgard/README.md +16 -0
- package/midgard/design-system/.gitkeep +0 -0
- package/midgard/design-system/ember.d.ts +13 -0
- package/midgard/design-system/ember.js +183 -0
- package/midgard/design-system/icons/algiz.svg +4 -0
- package/midgard/design-system/icons/ansuz.svg +4 -0
- package/midgard/design-system/icons/berkana.svg +4 -0
- package/midgard/design-system/icons/dagaz.svg +4 -0
- package/midgard/design-system/icons/ehwaz.svg +4 -0
- package/midgard/design-system/icons/fehu.svg +4 -0
- package/midgard/design-system/icons/gjallarhorn.svg +4 -0
- package/midgard/design-system/icons/gungnir.svg +4 -0
- package/midgard/design-system/icons/heimdall.svg +4 -0
- package/midgard/design-system/icons/ingwaz.svg +4 -0
- package/midgard/design-system/icons/jera.svg +4 -0
- package/midgard/design-system/icons/kaunan.svg +4 -0
- package/midgard/design-system/icons/midgard.svg +4 -0
- package/midgard/design-system/icons/mimirsbrunn.svg +4 -0
- package/midgard/design-system/icons/othala.svg +4 -0
- package/midgard/design-system/icons/raidho.svg +4 -0
- package/midgard/design-system/icons/ratatoskr.svg +4 -0
- package/midgard/design-system/icons/sowilo.svg +4 -0
- package/midgard/design-system/icons/tiwaz.svg +4 -0
- package/midgard/design-system/icons/utgard.svg +4 -0
- package/midgard/design-system/icons/valhalla.svg +4 -0
- package/midgard/design-system/icons/yggdrasil.svg +4 -0
- package/midgard/design-system/icons.md +59 -0
- package/midgard/design-system/runes.md +78 -0
- package/midgard/design-system/tokens.css +109 -0
- package/midgard/design-system/ymir-mark.svg +62 -0
- package/package.json +3 -2
- package/scripts/electron.sh +18 -2
- package/scripts/start.sh +53 -7
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ember.js — the hearth, in one place.
|
|
3
|
+
*
|
|
4
|
+
* The fire that warms Sessrúmnir's chat came from the landing page's hero
|
|
5
|
+
* (Ginnungagap): embers rising slowly with a gentle sway, over a few drifting
|
|
6
|
+
* haze pools. Sessrúmnir carries a React port; this is the framework-neutral
|
|
7
|
+
* original, so every surface can share one fire instead of four copies.
|
|
8
|
+
*
|
|
9
|
+
* import { startEmbers } from '.../midgard/design-system/ember.js'
|
|
10
|
+
* const stop = startEmbers(document.querySelector('[data-ember]'))
|
|
11
|
+
*
|
|
12
|
+
* Or simply mark an element and let it find its own:
|
|
13
|
+
*
|
|
14
|
+
* <canvas data-ember></canvas>
|
|
15
|
+
* <script type="module" src="/ember.js"></script>
|
|
16
|
+
*
|
|
17
|
+
* It is decorative: the canvas is given `pointer-events: none` and
|
|
18
|
+
* `aria-hidden`, and a reader who has asked their machine for less motion gets a
|
|
19
|
+
* still, single-frame hearth instead of an animation.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
const EMBERS = 30;
|
|
23
|
+
const HAZE = 6;
|
|
24
|
+
const EMBER_RGB = '236,166,84';
|
|
25
|
+
const HAZE_RGB = '214,138,64';
|
|
26
|
+
|
|
27
|
+
/** Draw one still frame — also the whole effect under reduced motion. */
|
|
28
|
+
function paint(ctx, W, H, embers, haze) {
|
|
29
|
+
ctx.clearRect(0, 0, W, H);
|
|
30
|
+
for (const ha of haze) {
|
|
31
|
+
const g = ctx.createRadialGradient(ha.x, ha.y, 0, ha.x, ha.y, ha.r);
|
|
32
|
+
g.addColorStop(0, `rgba(${HAZE_RGB},0.030)`);
|
|
33
|
+
g.addColorStop(1, 'rgba(0,0,0,0)');
|
|
34
|
+
ctx.fillStyle = g;
|
|
35
|
+
ctx.beginPath();
|
|
36
|
+
ctx.arc(ha.x, ha.y, ha.r, 0, 6.283);
|
|
37
|
+
ctx.fill();
|
|
38
|
+
}
|
|
39
|
+
for (const e of embers) {
|
|
40
|
+
ctx.fillStyle = `rgba(${EMBER_RGB},${e.a.toFixed(3)})`;
|
|
41
|
+
ctx.beginPath();
|
|
42
|
+
ctx.arc(e.x, e.y, e.r, 0, 6.283);
|
|
43
|
+
ctx.fill();
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function seed(W, H) {
|
|
48
|
+
const embers = [];
|
|
49
|
+
for (let i = 0; i < EMBERS; i++) {
|
|
50
|
+
embers.push({
|
|
51
|
+
x: Math.random() * W,
|
|
52
|
+
y: H + Math.random() * H * 0.3 - 6,
|
|
53
|
+
r: 1.0 + Math.random() * 1.6,
|
|
54
|
+
v: 0.14 + Math.random() * 0.34,
|
|
55
|
+
ph: Math.random() * 6.28,
|
|
56
|
+
sp: 0.6 + Math.random() * 1.4,
|
|
57
|
+
a: 0.26,
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
const haze = [];
|
|
61
|
+
for (let i = 0; i < HAZE; i++) {
|
|
62
|
+
haze.push({ x: Math.random() * W, y: H * 0.3 + Math.random() * H * 0.7, r: 130 + Math.random() * 170, v: (Math.random() - 0.5) * 0.15 });
|
|
63
|
+
}
|
|
64
|
+
return { embers, haze };
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Start the hearth on <host>. Returns a stop function. Safe to call on a host
|
|
69
|
+
* that has no box yet (it simply draws nothing until it has one).
|
|
70
|
+
*/
|
|
71
|
+
export function startEmbers(host) {
|
|
72
|
+
if (!host) return () => {};
|
|
73
|
+
const canvas = host.tagName === 'CANVAS' ? host : document.createElement('canvas');
|
|
74
|
+
if (canvas !== host) {
|
|
75
|
+
canvas.style.position = 'absolute';
|
|
76
|
+
canvas.style.inset = '0';
|
|
77
|
+
host.appendChild(canvas);
|
|
78
|
+
}
|
|
79
|
+
canvas.setAttribute('aria-hidden', 'true');
|
|
80
|
+
canvas.style.pointerEvents = 'none';
|
|
81
|
+
|
|
82
|
+
const ctx = canvas.getContext('2d');
|
|
83
|
+
if (!ctx) return () => {};
|
|
84
|
+
|
|
85
|
+
const dpr = Math.min(window.devicePixelRatio || 1, 2);
|
|
86
|
+
let W = 0;
|
|
87
|
+
let H = 0;
|
|
88
|
+
let t = 0;
|
|
89
|
+
let raf = 0;
|
|
90
|
+
let { embers, haze } = seed(1, 1);
|
|
91
|
+
|
|
92
|
+
const reduced = window.matchMedia?.('(prefers-reduced-motion: reduce)').matches === true;
|
|
93
|
+
|
|
94
|
+
function size() {
|
|
95
|
+
const rect = canvas.getBoundingClientRect();
|
|
96
|
+
W = rect.width || canvas.clientWidth || 0;
|
|
97
|
+
H = rect.height || canvas.clientHeight || 0;
|
|
98
|
+
canvas.width = Math.max(1, W * dpr);
|
|
99
|
+
canvas.height = Math.max(1, H * dpr);
|
|
100
|
+
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function reseed() {
|
|
104
|
+
({ embers, haze } = seed(W, H));
|
|
105
|
+
if (reduced) {
|
|
106
|
+
for (const e of embers) e.a = 0.3 + 0.4 * Math.random();
|
|
107
|
+
paint(ctx, W, H, embers, haze);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function frame() {
|
|
112
|
+
t += 0.016;
|
|
113
|
+
for (const ha of haze) {
|
|
114
|
+
ha.x += ha.v;
|
|
115
|
+
if (ha.x < -ha.r) ha.x = W + ha.r;
|
|
116
|
+
if (ha.x > W + ha.r) ha.x = -ha.r;
|
|
117
|
+
}
|
|
118
|
+
for (const e of embers) {
|
|
119
|
+
e.y -= e.v;
|
|
120
|
+
e.x += Math.sin(t * e.sp + e.ph) * 0.18;
|
|
121
|
+
if (e.y < -6) {
|
|
122
|
+
e.y = H + 6;
|
|
123
|
+
e.x = Math.random() * W;
|
|
124
|
+
}
|
|
125
|
+
e.a = 0.26 + 0.4 * (0.5 + 0.5 * Math.sin(t * e.sp * 2 + e.ph));
|
|
126
|
+
}
|
|
127
|
+
paint(ctx, W, H, embers, haze);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function loop() {
|
|
131
|
+
frame();
|
|
132
|
+
raf = requestAnimationFrame(loop);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
size();
|
|
136
|
+
reseed();
|
|
137
|
+
if (!reduced) raf = requestAnimationFrame(loop);
|
|
138
|
+
|
|
139
|
+
const onResize = () => {
|
|
140
|
+
size();
|
|
141
|
+
reseed();
|
|
142
|
+
};
|
|
143
|
+
window.addEventListener('resize', onResize);
|
|
144
|
+
|
|
145
|
+
// The hearth warms a *container*, and containers change without a window
|
|
146
|
+
// resize (a split pane, a toggled sidebar). Watch the host: re-size and
|
|
147
|
+
// re-seed only when its dimensions actually changed, never per-frame.
|
|
148
|
+
let ro = null;
|
|
149
|
+
if (typeof ResizeObserver !== 'undefined' && canvas.parentElement) {
|
|
150
|
+
const host = canvas.parentElement;
|
|
151
|
+
let lastW = 0;
|
|
152
|
+
let lastH = 0;
|
|
153
|
+
ro = new ResizeObserver((entries) => {
|
|
154
|
+
const e = entries[0];
|
|
155
|
+
if (!e) return;
|
|
156
|
+
const w = e.contentRect?.width ?? e.contentBoxSize?.[0]?.inlineSize ?? 0;
|
|
157
|
+
const h = e.contentRect?.height ?? e.contentBoxSize?.[0]?.blockSize ?? 0;
|
|
158
|
+
if (Math.abs(w - lastW) > 0.5 || Math.abs(h - lastH) > 0.5) {
|
|
159
|
+
lastW = w;
|
|
160
|
+
lastH = h;
|
|
161
|
+
onResize();
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
ro.observe(host);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
return () => {
|
|
168
|
+
if (raf) cancelAnimationFrame(raf);
|
|
169
|
+
window.removeEventListener('resize', onResize);
|
|
170
|
+
if (ro) ro.disconnect();
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/** Every element marked `data-ember` lights its own hearth. */
|
|
175
|
+
export function startAllEmbers(root = document) {
|
|
176
|
+
return Array.from(root.querySelectorAll('[data-ember]')).map(startEmbers);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
if (typeof document !== 'undefined') {
|
|
180
|
+
const boot = () => startAllEmbers();
|
|
181
|
+
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', boot, { once: true });
|
|
182
|
+
else boot();
|
|
183
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Algiz — Reviews / protection">
|
|
2
|
+
<title>Algiz — Reviews / protection</title>
|
|
3
|
+
<path d="M12 20V10 M12 10L5 3 M12 10L19 3" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Ansuz — Forge">
|
|
2
|
+
<title>Ansuz — Forge</title>
|
|
3
|
+
<path d="M12 4V20 M12 9L7 4 M12 9L17 4" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Berkanan — Profile">
|
|
2
|
+
<title>Berkanan — Profile</title>
|
|
3
|
+
<path d="M9 4V20 M9 4L17 8V14L9 18" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Dagaz — Processes">
|
|
2
|
+
<title>Dagaz — Processes</title>
|
|
3
|
+
<path d="M5 5L19 19 M19 5L5 19 M5 5V19 M19 5V19" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Ehwaz — Runtime">
|
|
2
|
+
<title>Ehwaz — Runtime</title>
|
|
3
|
+
<path d="M4 20V8L12 14L20 8V20" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Fehu — Fleet">
|
|
2
|
+
<title>Fehu — Fleet</title>
|
|
3
|
+
<path d="M12 20V4 M12 8L6 4 M12 8L18 4" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Gjallarhorn — tunnel">
|
|
2
|
+
<title>Gjallarhorn — tunnel</title>
|
|
3
|
+
<path d="M6 5L18 19 M18 5L6 19" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Gungnir — skills">
|
|
2
|
+
<title>Gungnir — skills</title>
|
|
3
|
+
<path d="M7 20V4 M7 6L17 12L7 18" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Heimdall — auth">
|
|
2
|
+
<title>Heimdall — auth</title>
|
|
3
|
+
<path d="M7 4V20 M17 4V20 M7 12H17" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Ingwaz — Well">
|
|
2
|
+
<title>Ingwaz — Well</title>
|
|
3
|
+
<path d="M12 4L20 12L12 20L4 12Z" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Jera — Cron">
|
|
2
|
+
<title>Jera — Cron</title>
|
|
3
|
+
<path d="M6 20L12 12L6 4 M18 4L12 12L18 20" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Kaunan — OmniChat">
|
|
2
|
+
<title>Kaunan — OmniChat</title>
|
|
3
|
+
<path d="M18 4L6 12L18 20" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Midgard — shared">
|
|
2
|
+
<title>Midgard — shared</title>
|
|
3
|
+
<path d="M4 12H20 M12 4V20 M6 6L18 18 M18 6L6 18" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Mimirsbrunn — memory">
|
|
2
|
+
<title>Mimirsbrunn — memory</title>
|
|
3
|
+
<path d="M12 4L20 12L12 20L4 12Z" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Othala — inheritance, the hall">
|
|
2
|
+
<title>Othala — inheritance, the hall</title>
|
|
3
|
+
<path d="M12 4L19 9L12 14L5 9Z M9 12L7 20 M15 12L17 20" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Raidho — Runes">
|
|
2
|
+
<title>Raidho — Runes</title>
|
|
3
|
+
<path d="M8 20V4H14L18 8L14 12H8 M14 12L18 20" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Ratatoskr — A2A bus">
|
|
2
|
+
<title>Ratatoskr — A2A bus</title>
|
|
3
|
+
<path d="M9 4V20 M9 4L17 8V14L9 18" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Sowilo — the sun">
|
|
2
|
+
<title>Sowilo — the sun</title>
|
|
3
|
+
<path d="M16 4L8 4L16 20L8 20" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Tiwaz — Tasks">
|
|
2
|
+
<title>Tiwaz — Tasks</title>
|
|
3
|
+
<path d="M12 20V4 M12 4L6 11 M12 4L18 11" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Utgard — sandbox">
|
|
2
|
+
<title>Utgard — sandbox</title>
|
|
3
|
+
<path d="M8 20V8C8 5 16 5 16 8V20" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Valhalla — processes">
|
|
2
|
+
<title>Valhalla — processes</title>
|
|
3
|
+
<path d="M7 20V4 M7 4L17 8L7 12" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter" role="img" aria-label="Yggdrasil — worktrees">
|
|
2
|
+
<title>Yggdrasil — worktrees</title>
|
|
3
|
+
<path d="M6 20L12 12L6 4 M18 4L12 12L18 20" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Rune-Glyph Icon Map
|
|
2
|
+
|
|
3
|
+
**Runecoded, not emoji.** Every icon in Ymir is an Elder Futhark rune drawn as a
|
|
4
|
+
24px stroke glyph, colored by `currentColor`. Emoji are never used as icons.
|
|
5
|
+
|
|
6
|
+
## Set
|
|
7
|
+
|
|
8
|
+
The glyphs live in `midgard/design-system/icons/*.svg` (24×24 viewBox; render at
|
|
9
|
+
16px or 24px). Stroke uses `currentColor`, square caps, miter joins — the chisel
|
|
10
|
+
bevel. The primary seat may add a 1px inner bevel via the `--ymir-bevel` token.
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
icons[21]{glyph,name,unicode,figure,used_for}:
|
|
14
|
+
"fehu","Fehu","ᚠ","Ymir (cattle/wealth)","Fleet — the herd of agents"
|
|
15
|
+
"tiwaz","Tiwaz","ᛏ","Týr (justice)","Tasks — the A2A lifecycle board"
|
|
16
|
+
"ingwaz","Ingwaz","ᛜ","Ing (the well)","Well — Mimirsbrunn recall"
|
|
17
|
+
"raidho","Raidho","ᚱ","ride/journey","Runes — the ledger (a road carved)"
|
|
18
|
+
"othala","Othala","ᛟ","inheritance, the hall","Sessrúmnir — the seat that holds the cloth"
|
|
19
|
+
"algiz","Algiz","ᛉ","protection","Reviews / Glitnir — the protective gate; the Ymir emblem"
|
|
20
|
+
"dagaz","Dagaz","ᛞ","day/dawn","Processes — Valhalla supervision"
|
|
21
|
+
"sowilo","Sowilo","ᛊ","sun","Files — Skrymir (light on the tree)"
|
|
22
|
+
"kaunan","Kaunan","ᚴ","torch","OmniChat — Kaia's flame"
|
|
23
|
+
"ansuz","Ansuz","ᚨ","Odin's breath","Óðrerir — the mead of poetry, the Live Hall"
|
|
24
|
+
"ehwaz","Ehwaz","ᛖ","horse/journey","Runtime — the seat and its transit"
|
|
25
|
+
"jera","Jera","ᛃ","year/harvest","Cron — the Nornir's seasons"
|
|
26
|
+
"berkana","Berkanan","ᛒ","birch","Profile — the self"
|
|
27
|
+
"midgard","Midgard","—","the shared world","shared workspace / cross-tenant assets"
|
|
28
|
+
"utgard","Utgard","ᚢ","the outer realm","Utgard — the sandbox barrier"
|
|
29
|
+
"yggdrasil","Yggdrasil","ᛃ","the world-tree","Yggdrasil — worktrees"
|
|
30
|
+
"ratatoskr","Ratatoskr","ᛒ","the squirrel","Ratatoskr — the A2A bus"
|
|
31
|
+
"mimirsbrunn","Mimirsbrunn","ᛜ","the well of wisdom","Mimirsbrunn — memory"
|
|
32
|
+
"valhalla","Wunjo","ᚹ","joy","Valhalla — process health (the glyph ᚹ is drawn here)"
|
|
33
|
+
"gungnir","Gungnir","ᚦ","Odin's spear","Gungnir — skill synthesis"
|
|
34
|
+
"heimdall","Heimdall","ᚺ","the watchman","Heimdall — auth / the gate"
|
|
35
|
+
"gjallarhorn","Gjallarhorn","ᚷ","the horn","Gjallarhorn — the tunnel and its call"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Usage
|
|
39
|
+
|
|
40
|
+
- Reference a glyph as an inline `<svg>` (copy the path) or `<img src>`; stroke
|
|
41
|
+
with `currentColor`, never a raw hex.
|
|
42
|
+
- Render at **24px** in panels, **16px** inline in tables and chips.
|
|
43
|
+
- A status glyph is always paired with **glyph + colour + text** — never
|
|
44
|
+
colour-only state.
|
|
45
|
+
- The active realm/accent may tint glyphs via `--realm-tint`.
|
|
46
|
+
|
|
47
|
+
## Verification
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
ls midgard/design-system/icons/*.svg | wc -l # 21
|
|
51
|
+
# no emoji used as icons in the UI:
|
|
52
|
+
rg -n "[\x{1F300}-\x{1FAFF}\x{2600}-\x{27BF}]" apps/hlidskjalf/src || echo "no emoji icons"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Maintaining this
|
|
56
|
+
|
|
57
|
+
- **Owner:** Brokk. **Tokens:** `midgard/design-system/tokens.css`.
|
|
58
|
+
- Add a rune here and its glyph in `icons/` in the same pass; keep the count in the
|
|
59
|
+
`icons[N]` block true (Galdr TOON check: `.agents/skills/galdr-ymirsystem/scripts/toon-check.py`).
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# The Rune Library
|
|
2
|
+
|
|
3
|
+
**Runecoded, not emoji.** Every icon in Ymir is an Elder Futhark rune drawn as a
|
|
4
|
+
24×24 stroke glyph, coloured by `currentColor` (or the app's house tint). This is
|
|
5
|
+
the library: the full futhark, what each rune means, and where Ymir uses it.
|
|
6
|
+
|
|
7
|
+
- **Glyphs:** `midgard/design-system/icons/*.svg` (24×24 viewBox, stroke 1.8,
|
|
8
|
+
square caps, miter joins — the chisel bevel).
|
|
9
|
+
- **Names in code:** the file name is the rune's name, lower-case (`ehwaz.svg`).
|
|
10
|
+
- **Usage rules:** inline `<svg>` or `<img src>`; stroke with `currentColor`,
|
|
11
|
+
never a raw hex; 24px in panels, 16px inline; a status glyph is always paired
|
|
12
|
+
with **glyph + colour + text**, never colour alone.
|
|
13
|
+
- **The app runes:** five UI surfaces, five different glyphs — see the foot.
|
|
14
|
+
|
|
15
|
+
## The futhark
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
runes[24]{glyph,name,sound,meaning,ymir_use,file}:
|
|
19
|
+
"ᚠ","Fehu","f","cattle, wealth","Fleet — the herd of agents","fehu"
|
|
20
|
+
"ᚢ","Uruz","u","aurochs, strength","Utgard — the sandbox barrier","utgard"
|
|
21
|
+
"ᚦ","Thurisaz","th","thorn, giant","Gungnir — skill synthesis","gungnir"
|
|
22
|
+
"ᚨ","Ansuz","a","Odin's breath","Óðrerir — the mead of poetry, the Live Hall","ansuz"
|
|
23
|
+
"ᚱ","Raido","r","ride, journey","Runes — the ledger (a road carved)","raidho"
|
|
24
|
+
"ᚲ","Kaunan","k","torch, ulcer","Smíðja's eye — the trace of the forge, OmniChat's flame","kaunan"
|
|
25
|
+
"ᚷ","Gebo","g","gift","Gjallarhorn — the tunnel and its call","gjallarhorn"
|
|
26
|
+
"ᚹ","Wunjo","w","joy","Valhalla — the hall of the supervisor","valhalla"
|
|
27
|
+
"ᚺ","Hagall","h","hail","Heimdall — auth, the gate","heimdall"
|
|
28
|
+
"ᚾ","Naudiz","n","need, constraint","(no glyph yet)","—"
|
|
29
|
+
"ᛁ","Isaz","i","ice","(no glyph yet)","—"
|
|
30
|
+
"ᛃ","Jera","j","year, harvest","Nornir — the seasons; Yggdrasil — the world-tree's cycle","jera"
|
|
31
|
+
"ᛇ","Eihwaz","ï","yew","(no glyph yet)","—"
|
|
32
|
+
"ᛈ","Perthro","p","lot, fate","(no glyph yet)","—"
|
|
33
|
+
"ᛉ","Algiz","z","protection","Glitnir's reviews — the protective gate; **the Ymir emblem**","algiz"
|
|
34
|
+
"ᛊ","Sowilo","s","sun","Skrymir — files (light on the tree)","sowilo"
|
|
35
|
+
"ᛏ","Tiwaz","t","Týr, justice","Tasks — the A2A lifecycle board","tiwaz"
|
|
36
|
+
"ᛒ","Berkanan","b","birch","Profile — the self; Ratatoskr — the messenger","berkana"
|
|
37
|
+
"ᛖ","Ehwaz","e","horse","Runtime — the seat and its transit; Hlidskjalf","ehwaz"
|
|
38
|
+
"ᛗ","Mannaz","m","man, self","(no glyph yet)","—"
|
|
39
|
+
"ᛚ","Laguz","l","water, flow","(no glyph yet)","—"
|
|
40
|
+
"ᛜ","Ingwaz","ng","Ing, the seed","Mimirsbrunn — the well of wisdom","ingwaz"
|
|
41
|
+
"ᛞ","Dagaz","d","day, dawn","Valhalla — process health","dagaz"
|
|
42
|
+
"ᛟ","Othala","o","inheritance, estate","(no glyph yet)","—"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Twenty-one of the twenty-four are drawn; three are not yet:** Naudiz, Isaz,
|
|
46
|
+
Eihwaz, Perthro, Mannaz, Laguz and Othala have no file — add the glyph and its
|
|
47
|
+
row in `icons.md` in the same pass.
|
|
48
|
+
|
|
49
|
+
**Every file is a rune.** It was not always so: eight files used to be *drawings*
|
|
50
|
+
of the thing they were named after (a hall, a horn, a shield, a spear, a well, a
|
|
51
|
+
squirrel, a gate, a world-tree) while `icons.md` claimed a rune for each. Corrected
|
|
52
|
+
2026-09-16 — Gungnir took Thurisaz, since Gebo was already Gjallarhorn's.
|
|
53
|
+
|
|
54
|
+
## The app runes
|
|
55
|
+
|
|
56
|
+
Five UI surfaces, five different glyphs — no app borrows another's rune:
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
app_runes[5]{app,glyph,rune,house_tint}:
|
|
60
|
+
"Hlidskjalf","ᛖ","ehwaz — the seat","#c9973f bronze (ymirlabs)"
|
|
61
|
+
"Hlidskjalf Mobile","ᚱ","raidho — the road, the seat carried","#c9973f bronze"
|
|
62
|
+
"Óðrerir","ᚨ","ansuz — Odin's breath, the mead of poetry","#c9973f bronze (ymirlabs)"
|
|
63
|
+
"Sessrúmnir","ᛟ","othala — inheritance, the hall that holds what is kept","#c9973f bronze (ymirlabs)"
|
|
64
|
+
"Smíðja (visualizer)","ᚲ","kaunan — the torch, the forge's eye","#f59e0b amber (brokkforge)"
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Minted and installed by `bin/design-icon.sh` (`list` · `mint --all` · `install`):
|
|
68
|
+
the icon into the user's icon theme, the `.desktop` entry into their applications
|
|
69
|
+
dir, so every app is dockable and carries the house mark.
|
|
70
|
+
|
|
71
|
+
## Adding a rune
|
|
72
|
+
|
|
73
|
+
1. Draw it in `icons/<name>.svg` — 24×24, stroke 1.8, square caps, miter joins,
|
|
74
|
+
`stroke="currentColor"`, a `<title>` naming the rune and its use.
|
|
75
|
+
2. Add its row to `icons.md` **and** to the futhark table above, in the same
|
|
76
|
+
change. Keep both counts true (the TOON check counts rows).
|
|
77
|
+
3. If an app should wear it, add the app to `bin/design-icon.sh`'s table and run
|
|
78
|
+
`mint --all && install`.
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
YMIR — Design Tokens · Canonical (the carved cloth of the halls)
|
|
3
|
+
Source of truth: docs/design.md §4.
|
|
4
|
+
The cloth is cut from the landing page (CodeP/ymir-homepage/src/lore.html
|
|
5
|
+
:root): stone and bone, bronze and blood, and the three faces Cormorant /
|
|
6
|
+
Newsreader / IBM Plex Mono. The landing is the reference — a token change
|
|
7
|
+
here re-themes every hall (Hlidskjalf, Smíðja, and the seat).
|
|
8
|
+
House accents are heraldry, not chrome: they stay, exactly as the landing
|
|
9
|
+
keeps its house seals.
|
|
10
|
+
Consume via CSS variables — never hardcode hex in components.
|
|
11
|
+
============================================================ */
|
|
12
|
+
|
|
13
|
+
:root {
|
|
14
|
+
/* --- Canvas: the stone ------------------------------- */
|
|
15
|
+
--ymir-bg-0: #0e0c09; /* stone — the ground */
|
|
16
|
+
--ymir-bg-1: #151209; /* panel */
|
|
17
|
+
--ymir-bg-2: #1a1610; /* panel2 — elevated surface, cards */
|
|
18
|
+
--ymir-bg-3: #221d14; /* line-soft — hover, wells */
|
|
19
|
+
|
|
20
|
+
/* --- Accents: the bronze light of the forge ---------- */
|
|
21
|
+
--ymir-cyan-1: #c9973f; /* bronze — primary accent, active states, focus, links */
|
|
22
|
+
--ymir-cyan-2: #7d5f2a; /* bronze-deep — hover/darker accent */
|
|
23
|
+
--ymir-violet-1: #96a0a8; /* steel — realm identity, secondary accent */
|
|
24
|
+
--ymir-violet-2: #5f686e; /* steel-dim */
|
|
25
|
+
|
|
26
|
+
/* --- Structure: bone and brass ----------------------- */
|
|
27
|
+
--ymir-steel-1: #2b241a; /* line — borders, bevel exteriors */
|
|
28
|
+
--ymir-steel-2: #7d5f2a; /* bronze-deep — stronger rules, dividers */
|
|
29
|
+
--ymir-steel-3: #9a8f75; /* bone-dim — secondary text, muted glyphs */
|
|
30
|
+
--ymir-chisel: #c9973f; /* bronze — the lit chisel edge (emblem, focus) */
|
|
31
|
+
|
|
32
|
+
/* --- Semantics: state of the forge ------------------- */
|
|
33
|
+
--ymir-ok: #96a0a8; /* steel — the metal proved true */
|
|
34
|
+
--ymir-warn: #c9973f; /* bronze — hot, heed it */
|
|
35
|
+
--ymir-danger: #c2584a; /* blood-lit — the wound */
|
|
36
|
+
--ymir-info: #9a8f75; /* bone-dim — the note */
|
|
37
|
+
--ymir-ok-dim: rgba(150, 160, 168, 0.15);
|
|
38
|
+
--ymir-warn-dim: rgba(201, 151, 79, 0.15);
|
|
39
|
+
--ymir-danger-dim: rgba(194, 88, 74, 0.15);
|
|
40
|
+
--ymir-info-dim: rgba(154, 143, 117, 0.15);
|
|
41
|
+
|
|
42
|
+
/* --- Text on stone ----------------------------------- */
|
|
43
|
+
--ymir-text-0: #cfc3a9; /* bone — primary text */
|
|
44
|
+
--ymir-text-1: rgba(207, 195, 169, 0.82); /* bone, blunted — secondary text */
|
|
45
|
+
--ymir-text-2: #9a8f75; /* bone-dim — tertiary, disabled */
|
|
46
|
+
--ymir-text-3: #6b6250; /* bone-faint — placeholder */
|
|
47
|
+
|
|
48
|
+
/* --- House accents (structural only, never chrome) ---------- */
|
|
49
|
+
--ymir-house-ymirlabs: #c9973f; /* bronze — the platform's own house wears the forge accent (was blue) */
|
|
50
|
+
--ymir-house-brokkforge: #f59e0b;
|
|
51
|
+
--ymir-house-runestone: #f43f5e;
|
|
52
|
+
--ymir-house-muninn: #8b5cf6;
|
|
53
|
+
--ymir-house-dvalin: #94a3b8;
|
|
54
|
+
--ymir-house-utgard: #d946ef;
|
|
55
|
+
--ymir-house-askr: #34d399;
|
|
56
|
+
--ymir-house-mannheim: #64748b;
|
|
57
|
+
|
|
58
|
+
/* --- Type: the cloth's three faces --------------------------- */
|
|
59
|
+
/* Runic glyphs fall through to Noto Sans Runic inside every stack, so a rune
|
|
60
|
+
renders in the rune family wherever it is written. */
|
|
61
|
+
--ymir-font-head: 'Cormorant', 'Noto Sans Runic', Georgia, serif;
|
|
62
|
+
--ymir-font-mono: 'IBM Plex Mono', 'Noto Sans Runic', ui-monospace, 'Cascadia Mono', monospace;
|
|
63
|
+
--ymir-font-body: 'Newsreader', Georgia, 'Noto Sans Runic', serif;
|
|
64
|
+
|
|
65
|
+
--ymir-s-mono-s: 12px / 16px;
|
|
66
|
+
--ymir-s-mono-m: 14px / 20px;
|
|
67
|
+
--ymir-s-mono-l: 18px / 24px;
|
|
68
|
+
--ymir-s-display: clamp(28px, 4vw, 44px) / 1.1;
|
|
69
|
+
--ymir-s-body: 15px / 22px;
|
|
70
|
+
--ymir-s-caption: 13px / 18px;
|
|
71
|
+
|
|
72
|
+
/* --- Space & structure ----------------------------------------- */
|
|
73
|
+
--ymir-space-1: 4px;
|
|
74
|
+
--ymir-space-2: 8px;
|
|
75
|
+
--ymir-space-3: 12px;
|
|
76
|
+
--ymir-space-4: 16px;
|
|
77
|
+
--ymir-space-5: 24px;
|
|
78
|
+
--ymir-space-6: 32px;
|
|
79
|
+
--ymir-space-7: 48px;
|
|
80
|
+
|
|
81
|
+
--ymir-radius: 8px;
|
|
82
|
+
--ymir-radius-panel: 12px;
|
|
83
|
+
--ymir-border: 1px solid var(--ymir-steel-1);
|
|
84
|
+
|
|
85
|
+
/* Bevel: sell the carved edge — a brass hairline inside the stone */
|
|
86
|
+
--ymir-bevel: inset 0 0 0 1px rgba(201, 151, 79, 0.12);
|
|
87
|
+
--ymir-shadow-panel: 0 1px 2px rgba(0, 0, 0, 0.5);
|
|
88
|
+
--ymir-shadow-raise: 0 8px 24px rgba(0, 0, 0, 0.55);
|
|
89
|
+
|
|
90
|
+
/* --- Motion ------------------------------------------------------- */
|
|
91
|
+
--ymir-dur-fast: 120ms;
|
|
92
|
+
--ymir-dur-task: 180ms;
|
|
93
|
+
--ymir-dur-hop: 220ms;
|
|
94
|
+
--ymir-dur-roll: 240ms;
|
|
95
|
+
--ymir-ease: cubic-bezier(0.4, 0, 0.2, 1);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Numeric safety for all telemetry */
|
|
99
|
+
.tabular { font-variant-numeric: tabular-nums; font-family: var(--ymir-font-mono); }
|
|
100
|
+
|
|
101
|
+
/* Status chips: color + rune + label — never color alone */
|
|
102
|
+
.status-ok { color: var(--ymir-ok); background: var(--ymir-ok-dim); }
|
|
103
|
+
.status-warn { color: var(--ymir-warn); background: var(--ymir-warn-dim); }
|
|
104
|
+
.status-danger{ color: var(--ymir-danger); background: var(--ymir-danger-dim); }
|
|
105
|
+
.status-info { color: var(--ymir-info); background: var(--ymir-info-dim); }
|
|
106
|
+
|
|
107
|
+
@media (prefers-reduced-motion: reduce) {
|
|
108
|
+
* { transition-duration: 120ms !important; animation-duration: 120ms !important; }
|
|
109
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="100%" height="100%">
|
|
2
|
+
<defs>
|
|
3
|
+
<!-- Background Dark Steel Gradient -->
|
|
4
|
+
<linearGradient id="bg-grad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
5
|
+
<stop offset="0%" stop-color="#0f172a" />
|
|
6
|
+
<stop offset="100%" stop-color="#020617" />
|
|
7
|
+
</linearGradient>
|
|
8
|
+
|
|
9
|
+
<!-- Base Metal Color for the Rune -->
|
|
10
|
+
<linearGradient id="metal-base" x1="0%" y1="0%" x2="0%" y2="100%">
|
|
11
|
+
<stop offset="0%" stop-color="#38bdf8" />
|
|
12
|
+
<stop offset="50%" stop-color="#475569" />
|
|
13
|
+
<stop offset="100%" stop-color="#1e293b" />
|
|
14
|
+
</linearGradient>
|
|
15
|
+
|
|
16
|
+
<!-- Advanced 3D Forge Filter -->
|
|
17
|
+
<filter id="heavy-metal-3d" x="-20%" y="-20%" width="140%" height="140%">
|
|
18
|
+
<!-- 1. Generate Hammered Iron Texture -->
|
|
19
|
+
<feTurbulence type="fractalNoise" baseFrequency="0.04" numOctaves="4" result="noise" />
|
|
20
|
+
<feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.15 0" in="noise" result="coloredNoise" />
|
|
21
|
+
|
|
22
|
+
<!-- 2. Blend Texture with Base Color -->
|
|
23
|
+
<feComposite operator="in" in="coloredNoise" in2="SourceGraphic" result="textured" />
|
|
24
|
+
<feBlend mode="multiply" in="textured" in2="SourceGraphic" result="baseTex" />
|
|
25
|
+
|
|
26
|
+
<!-- 3. Create 3D Bevel / Depth Map -->
|
|
27
|
+
<feGaussianBlur in="SourceAlpha" stdDeviation="4" result="blur" />
|
|
28
|
+
|
|
29
|
+
<!-- 4. Apply 3D Lighting (Cyan/Blue Specular Highlight) -->
|
|
30
|
+
<feSpecularLighting in="blur" surfaceScale="6" specularConstant="1.2" specularExponent="25" lighting-color="#bae6fd" result="specOut">
|
|
31
|
+
<!-- Light Source Positioned Top-Left -->
|
|
32
|
+
<fePointLight x="-100" y="-100" z="300" />
|
|
33
|
+
</feSpecularLighting>
|
|
34
|
+
|
|
35
|
+
<!-- 5. Mask Lighting to the Shape -->
|
|
36
|
+
<feComposite operator="in" in="specOut" in2="SourceAlpha" result="specularMasked" />
|
|
37
|
+
|
|
38
|
+
<!-- 6. Combine Lighting and Textured Base -->
|
|
39
|
+
<feComposite operator="arithmetic" k1="0" k2="1" k3="1" k4="0" in="specularMasked" in2="baseTex" result="litModel" />
|
|
40
|
+
|
|
41
|
+
<!-- 7. Heavy Drop Shadow for Canvas Depth -->
|
|
42
|
+
<feDropShadow in="litModel" dx="0" dy="16" stdDeviation="12" flood-opacity="0.85" flood-color="#000000" result="finalShadow" />
|
|
43
|
+
</filter>
|
|
44
|
+
</defs>
|
|
45
|
+
|
|
46
|
+
<!-- Canvas -->
|
|
47
|
+
<rect width="512" height="512" rx="40" fill="url(#bg-grad)" stroke="#1e293b" stroke-width="4"/>
|
|
48
|
+
|
|
49
|
+
<!-- Master Group with 3D Rendering Filter Applied -->
|
|
50
|
+
<g filter="url(#heavy-metal-3d)" fill="url(#metal-base)">
|
|
51
|
+
|
|
52
|
+
<!-- Algiz Y-Stem (Solid Geometric Polygon) -->
|
|
53
|
+
<polygon points="120,100 168,100 256,188 344,100 392,100 276,216 276,340 236,340 236,216" />
|
|
54
|
+
|
|
55
|
+
<!-- Top Anvil Bar -->
|
|
56
|
+
<polygon points="100,340 412,340 400,388 112,388" />
|
|
57
|
+
|
|
58
|
+
<!-- Bottom Anvil Bar (Slightly narrower base) -->
|
|
59
|
+
<polygon points="132,408 380,408 368,440 144,440" />
|
|
60
|
+
|
|
61
|
+
</g>
|
|
62
|
+
</svg>
|