@moshevents/tokens 0.4.1 → 0.4.3
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 +4 -3
- package/dist/icons.js +10 -4
- package/icons/icons.json +15 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -108,9 +108,10 @@ type per view, like one primary button per view. The dashboard slots `--vd-secon
|
|
|
108
108
|
|
|
109
109
|
One icon set for web and iOS, in `icons/icons.json`. Icons are **stock Lucide** under
|
|
110
110
|
their Lucide names (the same set `lucide-react` ships), so the app matches the web
|
|
111
|
-
dashboard, plus
|
|
112
|
-
(a stack of cash)
|
|
113
|
-
tab-bar neighbours; the stock one is 20×16 and read squat beside them)
|
|
111
|
+
dashboard, plus four Mosh custom icons: `concierge` (bell with a knob), `payouts`
|
|
112
|
+
(a stack of cash), `inbox` (Lucide's tray redrawn to fill the same 18×18 box as its
|
|
113
|
+
tab-bar neighbours; the stock one is 20×16 and read squat beside them) and `table`
|
|
114
|
+
(a side-view pedestal table; Lucide has no furniture table). Product names
|
|
114
115
|
map to icons through `aliases` (`door` → `door-open`,
|
|
115
116
|
`audience` → `users-round`, …). `filled` holds the selected-tab variants.
|
|
116
117
|
|
package/dist/icons.js
CHANGED
|
@@ -11,7 +11,7 @@ const DATA = {
|
|
|
11
11
|
"chevron-left": "<path d=\"m15 18-6-6 6-6\"/>",
|
|
12
12
|
"chevron-right": "<path d=\"m9 18 6-6-6-6\"/>",
|
|
13
13
|
"chevrons-up-down": "<path d=\"m7 15 5 5 5-5\"/><path d=\"m7 9 5-5 5 5\"/>",
|
|
14
|
-
"concierge": "<path d=\"M3
|
|
14
|
+
"concierge": "<path d=\"M3 20a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1Z\"/><path d=\"M20 16a8 8 0 1 0-16 0\"/><path d=\"M10 7.5a2 2 0 0 1 4 0\"/>",
|
|
15
15
|
"concierge-bell": "<path d=\"M3 20a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1Z\"/><path d=\"M20 16a8 8 0 1 0-16 0\"/><path d=\"M12 4v4\"/><path d=\"M10 4h4\"/>",
|
|
16
16
|
"copy": "<rect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\"/><path d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"/>",
|
|
17
17
|
"credit-card": "<rect width=\"20\" height=\"14\" x=\"2\" y=\"5\" rx=\"2\"/><line x1=\"2\" x2=\"22\" y1=\"10\" y2=\"10\"/>",
|
|
@@ -46,7 +46,10 @@ const DATA = {
|
|
|
46
46
|
"user-round": "<circle cx=\"12\" cy=\"8\" r=\"5\"/><path d=\"M20 21a8 8 0 0 0-16 0\"/>",
|
|
47
47
|
"users": "<path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\"/><circle cx=\"9\" cy=\"7\" r=\"4\"/><path d=\"M22 21v-2a4 4 0 0 0-3-3.87\"/><path d=\"M16 3.13a4 4 0 0 1 0 7.75\"/>",
|
|
48
48
|
"users-round": "<path d=\"M18 21a8 8 0 0 0-16 0\"/><circle cx=\"10\" cy=\"8\" r=\"5\"/><path d=\"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3\"/>",
|
|
49
|
-
"x": "<path d=\"M18 6 6 18\"/><path d=\"m6 6 12 12\"/>"
|
|
49
|
+
"x": "<path d=\"M18 6 6 18\"/><path d=\"m6 6 12 12\"/>",
|
|
50
|
+
"lock": "<rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\"/><path d=\"M7 11V7a5 5 0 0 1 10 0v4\"/>",
|
|
51
|
+
"zap": "<path d=\"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z\"/>",
|
|
52
|
+
"table": "<rect x=\"3\" y=\"3.5\" width=\"18\" height=\"3\" rx=\"1.5\"/><path d=\"M12 6.5v14\"/><path d=\"M7.5 20.5h9\"/>"
|
|
50
53
|
},
|
|
51
54
|
"filled": {
|
|
52
55
|
"house": "<path fill=\"currentColor\" stroke=\"none\" fill-rule=\"evenodd\" d=\"M2.00 19.00 L2.03 19.42 L2.15 19.93 L2.32 20.36 L2.52 20.69 L2.77 21.00 L3.15 21.36 L3.53 21.61 L3.88 21.78 L4.38 21.94 L4.84 22.00 L9.50 22.00 L9.50 14.00 L9.53 13.74 L9.63 13.50 L9.79 13.29 L10.00 13.13 L10.24 13.03 L10.50 13.00 L13.50 13.00 L13.76 13.03 L14.00 13.13 L14.21 13.29 L14.37 13.50 L14.47 13.74 L14.50 14.00 L14.50 22.00 L19.16 22.00 L19.81 21.89 L20.36 21.68 L20.69 21.48 L21.00 21.23 L21.23 21.00 L21.48 20.69 L21.68 20.36 L21.83 20.00 L21.98 19.36 L22.00 19.00 L22.00 9.90 L21.90 9.23 L21.66 8.64 L21.38 8.19 L21.02 7.80 L13.95 1.74 L13.64 1.51 L13.23 1.28 L12.90 1.16 L12.56 1.07 L12.15 1.02 L11.79 1.03 L11.33 1.10 L10.93 1.22 L10.61 1.36 L10.05 1.74 L3.04 7.75 L2.62 8.19 L2.29 8.74 L2.10 9.27 L2.00 9.90Z\"/>",
|
|
@@ -70,7 +73,9 @@ const DATA = {
|
|
|
70
73
|
"more": "ellipsis",
|
|
71
74
|
"switch": "chevrons-up-down",
|
|
72
75
|
"contactless": "nfc",
|
|
73
|
-
"brand": "palette"
|
|
76
|
+
"brand": "palette",
|
|
77
|
+
"autopilot": "zap",
|
|
78
|
+
"drafts": "pencil"
|
|
74
79
|
},
|
|
75
80
|
"strokeWidth": {
|
|
76
81
|
"16": 1.5,
|
|
@@ -80,7 +85,8 @@ const DATA = {
|
|
|
80
85
|
"custom": [
|
|
81
86
|
"concierge",
|
|
82
87
|
"payouts",
|
|
83
|
-
"inbox"
|
|
88
|
+
"inbox",
|
|
89
|
+
"table"
|
|
84
90
|
]
|
|
85
91
|
};
|
|
86
92
|
|
package/icons/icons.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$description": "Mosh icon set: the single source for every icon on web and iOS. Stock Lucide (lucide.dev, the set lucide-react uses on web) under their Lucide names, plus
|
|
3
|
-
"$license": "Lucide icons © Lucide Contributors, ISC License (https://lucide.dev/license). Custom Mosh icons (concierge, payouts, inbox) © Mosh Technologies, Inc.",
|
|
2
|
+
"$description": "Mosh icon set: the single source for every icon on web and iOS. Stock Lucide (lucide.dev, the set lucide-react uses on web) under their Lucide names, plus four Mosh custom icons. Markup is the inner content of a 24×24 viewBox drawn with stroke=currentColor, stroke-width 2, round caps and joins, fill none unless an element says otherwise. Edit HERE, then `npm run build`.",
|
|
3
|
+
"$license": "Lucide icons © Lucide Contributors, ISC License (https://lucide.dev/license). Custom Mosh icons (concierge, payouts, inbox, table) © Mosh Technologies, Inc.",
|
|
4
4
|
"$decisions": [
|
|
5
5
|
"Icons are stock Lucide so iOS matches the web dashboard (Garrett, 2026-11-06).",
|
|
6
6
|
"Two custom icons: concierge (bell with a knob, not a stem) and payouts (a stack of cash) (2026-11-06).",
|
|
7
7
|
"One visual weight across sizes: stroke 2px at 24, 1.75px at 20, 1.5px at 16 (2026-11-06).",
|
|
8
8
|
"Selected tab = the filled variant in nav-selected (black/white), unselected = outline in nav-unselected; never brand red (2026-11-06).",
|
|
9
|
-
"inbox is a Mosh redraw of Lucide's tray (2026-11-08): Lucide's is 20 wide by 16 tall, so in a tab bar it read squat and wide next to the 18×18 glyphs; Mosh's fills the same 18×18 box (3..21), with a slot-cut filled form."
|
|
9
|
+
"inbox is a Mosh redraw of Lucide's tray (2026-11-08): Lucide's is 20 wide by 16 tall, so in a tab bar it read squat and wide next to the 18×18 glyphs; Mosh's fills the same 18×18 box (3..21), with a slot-cut filled form.",
|
|
10
|
+
"concierge redrawn to Lucide's optical size (2026-11-08): same base and 8-radius dome as concierge-bell, with the knob kept; it read heavier than its neighbours. lock and zap added as stock Lucide (locked cards; the Autopilot mode). table is a Mosh custom glyph, since Lucide has no furniture table; top-down tables read as targets at 20px.",
|
|
11
|
+
"table redrawn as a side-view pedestal (2026-11-09): a flat top, one centre post and a foot, filling the 18×17 box (3..21 wide, 3.5..20.5 tall). Garrett flagged the top-and-two-legs form as an archway on the Bookings 3a board; the pedestal is the form the comment agent had already drawn there, carried into the set."
|
|
10
12
|
],
|
|
11
13
|
"strokeWidth": {
|
|
12
14
|
"16": 1.5,
|
|
@@ -16,7 +18,8 @@
|
|
|
16
18
|
"custom": [
|
|
17
19
|
"concierge",
|
|
18
20
|
"payouts",
|
|
19
|
-
"inbox"
|
|
21
|
+
"inbox",
|
|
22
|
+
"table"
|
|
20
23
|
],
|
|
21
24
|
"aliases": {
|
|
22
25
|
"profile": "store",
|
|
@@ -34,7 +37,9 @@
|
|
|
34
37
|
"more": "ellipsis",
|
|
35
38
|
"switch": "chevrons-up-down",
|
|
36
39
|
"contactless": "nfc",
|
|
37
|
-
"brand": "palette"
|
|
40
|
+
"brand": "palette",
|
|
41
|
+
"autopilot": "zap",
|
|
42
|
+
"drafts": "pencil"
|
|
38
43
|
},
|
|
39
44
|
"icons": {
|
|
40
45
|
"banknote": "<rect width=\"20\" height=\"12\" x=\"2\" y=\"6\" rx=\"2\"/><circle cx=\"12\" cy=\"12\" r=\"2\"/><path d=\"M6 12h.01M18 12h.01\"/>",
|
|
@@ -45,7 +50,7 @@
|
|
|
45
50
|
"chevron-left": "<path d=\"m15 18-6-6 6-6\"/>",
|
|
46
51
|
"chevron-right": "<path d=\"m9 18 6-6-6-6\"/>",
|
|
47
52
|
"chevrons-up-down": "<path d=\"m7 15 5 5 5-5\"/><path d=\"m7 9 5-5 5 5\"/>",
|
|
48
|
-
"concierge": "<path d=\"M3
|
|
53
|
+
"concierge": "<path d=\"M3 20a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1Z\"/><path d=\"M20 16a8 8 0 1 0-16 0\"/><path d=\"M10 7.5a2 2 0 0 1 4 0\"/>",
|
|
49
54
|
"concierge-bell": "<path d=\"M3 20a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1Z\"/><path d=\"M20 16a8 8 0 1 0-16 0\"/><path d=\"M12 4v4\"/><path d=\"M10 4h4\"/>",
|
|
50
55
|
"copy": "<rect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\"/><path d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"/>",
|
|
51
56
|
"credit-card": "<rect width=\"20\" height=\"14\" x=\"2\" y=\"5\" rx=\"2\"/><line x1=\"2\" x2=\"22\" y1=\"10\" y2=\"10\"/>",
|
|
@@ -80,7 +85,10 @@
|
|
|
80
85
|
"user-round": "<circle cx=\"12\" cy=\"8\" r=\"5\"/><path d=\"M20 21a8 8 0 0 0-16 0\"/>",
|
|
81
86
|
"users": "<path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\"/><circle cx=\"9\" cy=\"7\" r=\"4\"/><path d=\"M22 21v-2a4 4 0 0 0-3-3.87\"/><path d=\"M16 3.13a4 4 0 0 1 0 7.75\"/>",
|
|
82
87
|
"users-round": "<path d=\"M18 21a8 8 0 0 0-16 0\"/><circle cx=\"10\" cy=\"8\" r=\"5\"/><path d=\"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3\"/>",
|
|
83
|
-
"x": "<path d=\"M18 6 6 18\"/><path d=\"m6 6 12 12\"/>"
|
|
88
|
+
"x": "<path d=\"M18 6 6 18\"/><path d=\"m6 6 12 12\"/>",
|
|
89
|
+
"lock": "<rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\"/><path d=\"M7 11V7a5 5 0 0 1 10 0v4\"/>",
|
|
90
|
+
"zap": "<path d=\"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z\"/>",
|
|
91
|
+
"table": "<rect x=\"3\" y=\"3.5\" width=\"18\" height=\"3\" rx=\"1.5\"/><path d=\"M12 6.5v14\"/><path d=\"M7.5 20.5h9\"/>"
|
|
84
92
|
},
|
|
85
93
|
"filled": {
|
|
86
94
|
"house": "<path fill=\"currentColor\" stroke=\"none\" fill-rule=\"evenodd\" d=\"M2.00 19.00 L2.03 19.42 L2.15 19.93 L2.32 20.36 L2.52 20.69 L2.77 21.00 L3.15 21.36 L3.53 21.61 L3.88 21.78 L4.38 21.94 L4.84 22.00 L9.50 22.00 L9.50 14.00 L9.53 13.74 L9.63 13.50 L9.79 13.29 L10.00 13.13 L10.24 13.03 L10.50 13.00 L13.50 13.00 L13.76 13.03 L14.00 13.13 L14.21 13.29 L14.37 13.50 L14.47 13.74 L14.50 14.00 L14.50 22.00 L19.16 22.00 L19.81 21.89 L20.36 21.68 L20.69 21.48 L21.00 21.23 L21.23 21.00 L21.48 20.69 L21.68 20.36 L21.83 20.00 L21.98 19.36 L22.00 19.00 L22.00 9.90 L21.90 9.23 L21.66 8.64 L21.38 8.19 L21.02 7.80 L13.95 1.74 L13.64 1.51 L13.23 1.28 L12.90 1.16 L12.56 1.07 L12.15 1.02 L11.79 1.03 L11.33 1.10 L10.93 1.22 L10.61 1.36 L10.05 1.74 L3.04 7.75 L2.62 8.19 L2.29 8.74 L2.10 9.27 L2.00 9.90Z\"/>",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moshevents/tokens",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Mosh Design System — design tokens (CSS variables + Tailwind theme) and the Mosh icon set for web/admin; iOS consumes the SwiftPM target.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|