@humanforest/tokens 0.1.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 +67 -0
- package/dataviz/dataviz.css +149 -0
- package/dataviz/tokens.json +1591 -0
- package/dataviz/unovis.css +151 -0
- package/deck/deck.css +515 -0
- package/deck/deck.json +358 -0
- package/geo/london-boroughs.json +1 -0
- package/geo/london-dots-coarse.json +1 -0
- package/geo/london-dots-fine.json +1 -0
- package/geo/london-dots-medium.json +1 -0
- package/geo/london-dots-ultra.json +1 -0
- package/geo/london-wards.json +1 -0
- package/glyphs/glyphs.json +1 -0
- package/logos/f-rot.svg +4 -0
- package/logos/f.svg +4 -0
- package/logos/favicon-c2w.svg +9 -0
- package/logos/favicon-console.svg +9 -0
- package/logos/favicon-ds.svg +9 -0
- package/logos/favicon-fleet.svg +9 -0
- package/logos/favicon-flex.svg +9 -0
- package/logos/favicon-plus.svg +9 -0
- package/logos/favicon-radar.svg +9 -0
- package/logos/favicon-tower.svg +9 -0
- package/logos/lockup-horizontal.svg +17 -0
- package/logos/lockup-vertical.svg +17 -0
- package/logos/mark-mono.svg +4 -0
- package/logos/mark.svg +7 -0
- package/logos/wordmark.svg +9 -0
- package/motion/motion.css +104 -0
- package/motion/motion.json +85 -0
- package/motion/motion.theme.css +16 -0
- package/package.json +50 -0
- package/scales/ramps.css +182 -0
- package/scales/ramps.json +605 -0
- package/scales/theme.css +256 -0
- package/src/colourEngine.ts +604 -0
- package/src/glyphs.ts +127 -0
- package/src/logo.ts +50 -0
- package/src/subbrands.ts +44 -0
- package/src/sublogo.ts +80 -0
- package/src/sublogoSvg.ts +134 -0
- package/type/type.css +232 -0
- package/type/type.deck.css +74 -0
- package/type/type.json +548 -0
- package/type/type.theme.css +31 -0
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@humanforest/tokens",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Forest design tokens — the OKLCH colour engine (src/colourEngine.ts) plus the CSS + JSON it generates via scripts/{scales,type,motion,deck,dataviz,logo}.ts, and the logo SVGs. The generated files are framework-agnostic; do not edit them by hand, run `bun run build`.",
|
|
5
|
+
"files": [
|
|
6
|
+
"glyphs",
|
|
7
|
+
"scales",
|
|
8
|
+
"type",
|
|
9
|
+
"motion",
|
|
10
|
+
"deck",
|
|
11
|
+
"dataviz",
|
|
12
|
+
"geo",
|
|
13
|
+
"logos",
|
|
14
|
+
"src"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
"./colourEngine": "./src/colourEngine.ts",
|
|
18
|
+
"./logo": "./src/logo.ts",
|
|
19
|
+
"./sublogo": "./src/sublogo.ts",
|
|
20
|
+
"./subbrands": "./src/subbrands.ts",
|
|
21
|
+
"./glyphs": "./src/glyphs.ts",
|
|
22
|
+
"./glyphs/glyphs.json": "./glyphs/glyphs.json",
|
|
23
|
+
"./logos/*": "./logos/*",
|
|
24
|
+
"./scales/ramps.css": "./scales/ramps.css",
|
|
25
|
+
"./scales/theme.css": "./scales/theme.css",
|
|
26
|
+
"./scales/ramps.json": "./scales/ramps.json",
|
|
27
|
+
"./type/type.css": "./type/type.css",
|
|
28
|
+
"./type/type.deck.css": "./type/type.deck.css",
|
|
29
|
+
"./type/type.theme.css": "./type/type.theme.css",
|
|
30
|
+
"./type/type.json": "./type/type.json",
|
|
31
|
+
"./motion/motion.css": "./motion/motion.css",
|
|
32
|
+
"./motion/motion.theme.css": "./motion/motion.theme.css",
|
|
33
|
+
"./motion/motion.json": "./motion/motion.json",
|
|
34
|
+
"./deck/deck.css": "./deck/deck.css",
|
|
35
|
+
"./deck/deck.json": "./deck/deck.json",
|
|
36
|
+
"./dataviz/dataviz.css": "./dataviz/dataviz.css",
|
|
37
|
+
"./dataviz/unovis.css": "./dataviz/unovis.css",
|
|
38
|
+
"./dataviz/tokens.json": "./dataviz/tokens.json",
|
|
39
|
+
"./geo/london-dots-coarse.json": "./geo/london-dots-coarse.json",
|
|
40
|
+
"./geo/london-dots-fine.json": "./geo/london-dots-fine.json",
|
|
41
|
+
"./geo/london-dots-medium.json": "./geo/london-dots-medium.json",
|
|
42
|
+
"./geo/london-dots-ultra.json": "./geo/london-dots-ultra.json",
|
|
43
|
+
"./geo/london-boroughs.json": "./geo/london-boroughs.json",
|
|
44
|
+
"./geo/london-wards.json": "./geo/london-wards.json"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
48
|
+
},
|
|
49
|
+
"license": "SEE LICENSE IN LICENSE"
|
|
50
|
+
}
|
package/scales/ramps.css
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/* Forest 50–950 ramps + named brand tokens — generated by scripts/scales.ts (OKLCH, v2 engine).
|
|
2
|
+
Byte-for-byte the docs' buildPCHIP output. Display-P3 primary + sRGB hex fallback. Brand naming
|
|
3
|
+
: forest / maple / river / warm / amber / acid / neutral. Additive to scales.css. Do not edit. */
|
|
4
|
+
:root {
|
|
5
|
+
--forest-0: #F4FDF7;
|
|
6
|
+
--forest-0: color(display-p3 0.9617 0.9904 0.9692);
|
|
7
|
+
--forest-50: #E8FBEE;
|
|
8
|
+
--forest-50: color(display-p3 0.9221 0.9812 0.9381);
|
|
9
|
+
--forest-100: #CEF5DD;
|
|
10
|
+
--forest-100: color(display-p3 0.8366 0.9550 0.8714);
|
|
11
|
+
--forest-200: #99E9BC;
|
|
12
|
+
--forest-200: color(display-p3 0.6692 0.9055 0.7508);
|
|
13
|
+
--forest-300: #3BD996;
|
|
14
|
+
--forest-300: color(display-p3 0.4365 0.8410 0.6100);
|
|
15
|
+
--forest-400: #0ABB7F;
|
|
16
|
+
--forest-400: color(display-p3 0.2782 0.7321 0.5042);
|
|
17
|
+
--forest-500: #019F6D;
|
|
18
|
+
--forest-500: color(display-p3 0.1537 0.6308 0.4214);
|
|
19
|
+
--forest-600: #00845C;
|
|
20
|
+
--forest-600: color(display-p3 0.2237 0.5096 0.3721);
|
|
21
|
+
--forest-700: #046C4C;
|
|
22
|
+
--forest-700: color(display-p3 0.1815 0.4169 0.3069);
|
|
23
|
+
--forest-800: #075640;
|
|
24
|
+
--forest-800: color(display-p3 0.1446 0.3337 0.2565);
|
|
25
|
+
--forest-900: #074235;
|
|
26
|
+
--forest-900: color(display-p3 0.1092 0.2548 0.2097);
|
|
27
|
+
--forest-950: #002A24;
|
|
28
|
+
--forest-950: color(display-p3 0.0519 0.1616 0.1416);
|
|
29
|
+
--maple-0: #FFF8F8;
|
|
30
|
+
--maple-0: color(display-p3 1.0000 0.9720 0.9730);
|
|
31
|
+
--maple-50: #FFF1F2;
|
|
32
|
+
--maple-50: color(display-p3 0.9985 0.9449 0.9465);
|
|
33
|
+
--maple-100: #FFE1E2;
|
|
34
|
+
--maple-100: color(display-p3 1.0000 0.8781 0.8806);
|
|
35
|
+
--maple-200: #FFC2C4;
|
|
36
|
+
--maple-200: color(display-p3 0.9973 0.7533 0.7546);
|
|
37
|
+
--maple-300: #FF9A9B;
|
|
38
|
+
--maple-300: color(display-p3 0.9961 0.5849 0.5840);
|
|
39
|
+
--maple-400: #F26F70;
|
|
40
|
+
--maple-400: color(display-p3 0.8993 0.4544 0.4449);
|
|
41
|
+
--maple-500: #D35A59;
|
|
42
|
+
--maple-500: color(display-p3 0.7916 0.3578 0.3444);
|
|
43
|
+
--maple-600: #AA514E;
|
|
44
|
+
--maple-600: color(display-p3 0.6214 0.3379 0.3175);
|
|
45
|
+
--maple-700: #8C4340;
|
|
46
|
+
--maple-700: color(display-p3 0.5112 0.2789 0.2593);
|
|
47
|
+
--maple-800: #6E3633;
|
|
48
|
+
--maple-800: color(display-p3 0.4027 0.2236 0.2061);
|
|
49
|
+
--maple-900: #532A27;
|
|
50
|
+
--maple-900: color(display-p3 0.3056 0.1743 0.1597);
|
|
51
|
+
--maple-950: #3B1C1A;
|
|
52
|
+
--maple-950: color(display-p3 0.2159 0.1166 0.1048);
|
|
53
|
+
--river-0: #F6FBFF;
|
|
54
|
+
--river-0: color(display-p3 0.9669 0.9829 1.0000);
|
|
55
|
+
--river-50: #EDF6FF;
|
|
56
|
+
--river-50: color(display-p3 0.9341 0.9657 1.0000);
|
|
57
|
+
--river-100: #D8ECFF;
|
|
58
|
+
--river-100: color(display-p3 0.8580 0.9250 1.0000);
|
|
59
|
+
--river-200: #B2D9FF;
|
|
60
|
+
--river-200: color(display-p3 0.7169 0.8475 1.0000);
|
|
61
|
+
--river-300: #81C0FF;
|
|
62
|
+
--river-300: color(display-p3 0.5424 0.7476 1.0000);
|
|
63
|
+
--river-400: #43A2FF;
|
|
64
|
+
--river-400: color(display-p3 0.3493 0.6273 0.9890);
|
|
65
|
+
--river-500: #3588DF;
|
|
66
|
+
--river-500: color(display-p3 0.2668 0.5237 0.8840);
|
|
67
|
+
--river-600: #3C72B2;
|
|
68
|
+
--river-600: color(display-p3 0.2865 0.4405 0.6806);
|
|
69
|
+
--river-700: #355D93;
|
|
70
|
+
--river-700: color(display-p3 0.2436 0.3601 0.5609);
|
|
71
|
+
--river-800: #2D4974;
|
|
72
|
+
--river-800: color(display-p3 0.2015 0.2837 0.4416);
|
|
73
|
+
--river-900: #253858;
|
|
74
|
+
--river-900: color(display-p3 0.1613 0.2166 0.3341);
|
|
75
|
+
--river-950: #19263E;
|
|
76
|
+
--river-950: color(display-p3 0.1098 0.1474 0.2378);
|
|
77
|
+
--warm-0: #FDFAF6;
|
|
78
|
+
--warm-0: color(display-p3 0.9904 0.9785 0.9624);
|
|
79
|
+
--warm-50: #FFF9F2;
|
|
80
|
+
--warm-50: color(display-p3 0.9959 0.9773 0.9519);
|
|
81
|
+
--warm-100: #FCE6CB;
|
|
82
|
+
--warm-100: color(display-p3 0.9861 0.9003 0.7854);
|
|
83
|
+
--warm-200: #FFD6A6;
|
|
84
|
+
--warm-200: color(display-p3 0.9740 0.8452 0.6748);
|
|
85
|
+
--warm-300: #FEAF59;
|
|
86
|
+
--warm-300: color(display-p3 0.9642 0.6946 0.3782);
|
|
87
|
+
--warm-400: #F48519;
|
|
88
|
+
--warm-400: color(display-p3 0.8990 0.5431 0.2243);
|
|
89
|
+
--warm-500: #DB6300;
|
|
90
|
+
--warm-500: color(display-p3 0.8006 0.4157 0.1565);
|
|
91
|
+
--warm-600: #A75633;
|
|
92
|
+
--warm-600: color(display-p3 0.6145 0.3552 0.2294);
|
|
93
|
+
--warm-700: #8A462E;
|
|
94
|
+
--warm-700: color(display-p3 0.5077 0.2898 0.2006);
|
|
95
|
+
--warm-800: #6D3828;
|
|
96
|
+
--warm-800: color(display-p3 0.4006 0.2302 0.1713);
|
|
97
|
+
--warm-900: #532B22;
|
|
98
|
+
--warm-900: color(display-p3 0.3046 0.1778 0.1408);
|
|
99
|
+
--warm-950: #44231C;
|
|
100
|
+
--warm-950: color(display-p3 0.2491 0.1436 0.1165);
|
|
101
|
+
--amber-0: #FBFAF3;
|
|
102
|
+
--amber-0: color(display-p3 0.9856 0.9819 0.9552);
|
|
103
|
+
--amber-50: #FAF7E9;
|
|
104
|
+
--amber-50: color(display-p3 0.9780 0.9698 0.9198);
|
|
105
|
+
--amber-100: #F8EFCB;
|
|
106
|
+
--amber-100: color(display-p3 0.9701 0.9381 0.8003);
|
|
107
|
+
--amber-200: #F6DC99;
|
|
108
|
+
--amber-200: color(display-p3 0.9475 0.8648 0.6327);
|
|
109
|
+
--amber-300: #F7BD41;
|
|
110
|
+
--amber-300: color(display-p3 0.9381 0.7477 0.3311);
|
|
111
|
+
--amber-400: #E59E00;
|
|
112
|
+
--amber-400: color(display-p3 0.8716 0.6255 0.1299);
|
|
113
|
+
--amber-500: #C78100;
|
|
114
|
+
--amber-500: color(display-p3 0.7654 0.5049 0.0000);
|
|
115
|
+
--amber-600: #A56819;
|
|
116
|
+
--amber-600: color(display-p3 0.6118 0.4173 0.1721);
|
|
117
|
+
--amber-700: #875219;
|
|
118
|
+
--amber-700: color(display-p3 0.5015 0.3318 0.1466);
|
|
119
|
+
--amber-800: #6A3F18;
|
|
120
|
+
--amber-800: color(display-p3 0.3908 0.2530 0.1231);
|
|
121
|
+
--amber-900: #502F16;
|
|
122
|
+
--amber-900: color(display-p3 0.2948 0.1895 0.1031);
|
|
123
|
+
--amber-950: #391F0E;
|
|
124
|
+
--amber-950: color(display-p3 0.2095 0.1264 0.0666);
|
|
125
|
+
--acid-0: #F8FCF1;
|
|
126
|
+
--acid-0: color(display-p3 0.9758 0.9875 0.9485);
|
|
127
|
+
--acid-50: #F2F8E5;
|
|
128
|
+
--acid-50: color(display-p3 0.9535 0.9727 0.9050);
|
|
129
|
+
--acid-100: #E5EFC9;
|
|
130
|
+
--acid-100: color(display-p3 0.9041 0.9369 0.8019);
|
|
131
|
+
--acid-200: #CFDD90;
|
|
132
|
+
--acid-200: color(display-p3 0.8226 0.8663 0.5989);
|
|
133
|
+
--acid-300: #B4BD11;
|
|
134
|
+
--acid-300: color(display-p3 0.7123 0.7400 0.2471);
|
|
135
|
+
--acid-400: #A2A707;
|
|
136
|
+
--acid-400: color(display-p3 0.6420 0.6544 0.1046);
|
|
137
|
+
--acid-500: #8C8C00;
|
|
138
|
+
--acid-500: color(display-p3 0.5529 0.5517 0.0000);
|
|
139
|
+
--acid-600: #767502;
|
|
140
|
+
--acid-600: color(display-p3 0.4628 0.4579 0.1356);
|
|
141
|
+
--acid-700: #626006;
|
|
142
|
+
--acid-700: color(display-p3 0.3837 0.3754 0.1127);
|
|
143
|
+
--acid-800: #4E4B0C;
|
|
144
|
+
--acid-800: color(display-p3 0.3054 0.2964 0.0993);
|
|
145
|
+
--acid-900: #3C3A0E;
|
|
146
|
+
--acid-900: color(display-p3 0.2347 0.2264 0.0854);
|
|
147
|
+
--acid-950: #2A2808;
|
|
148
|
+
--acid-950: color(display-p3 0.1634 0.1553 0.0508);
|
|
149
|
+
--neutral-0: #FEFBFC;
|
|
150
|
+
--neutral-0: color(display-p3 0.9945 0.9834 0.9863);
|
|
151
|
+
--neutral-50: #F9F6F7;
|
|
152
|
+
--neutral-50: color(display-p3 0.9748 0.9637 0.9666);
|
|
153
|
+
--neutral-100: #F3EFF0;
|
|
154
|
+
--neutral-100: color(display-p3 0.9486 0.9375 0.9405);
|
|
155
|
+
--neutral-200: #E7E3E4;
|
|
156
|
+
--neutral-200: color(display-p3 0.9031 0.8922 0.8951);
|
|
157
|
+
--neutral-300: #D5D1D2;
|
|
158
|
+
--neutral-300: color(display-p3 0.8325 0.8217 0.8246);
|
|
159
|
+
--neutral-400: #A29FA0;
|
|
160
|
+
--neutral-400: color(display-p3 0.6336 0.6233 0.6261);
|
|
161
|
+
--neutral-500: #757273;
|
|
162
|
+
--neutral-500: color(display-p3 0.4570 0.4474 0.4500);
|
|
163
|
+
--neutral-600: #545252;
|
|
164
|
+
--neutral-600: color(display-p3 0.3293 0.3202 0.3227);
|
|
165
|
+
--neutral-700: #423F40;
|
|
166
|
+
--neutral-700: color(display-p3 0.2554 0.2467 0.2491);
|
|
167
|
+
--neutral-800: #282626;
|
|
168
|
+
--neutral-800: color(display-p3 0.1558 0.1478 0.1500);
|
|
169
|
+
--neutral-900: #191617;
|
|
170
|
+
--neutral-900: color(display-p3 0.0956 0.0882 0.0902);
|
|
171
|
+
--neutral-950: #0C090A;
|
|
172
|
+
--neutral-950: color(display-p3 0.0441 0.0372 0.0391);
|
|
173
|
+
|
|
174
|
+
--forest-brand-forest: var(--forest-600);
|
|
175
|
+
--forest-dark-forest: var(--forest-700);
|
|
176
|
+
--forest-darkest-forest: var(--forest-950);
|
|
177
|
+
--warm-ice-cream: var(--warm-50);
|
|
178
|
+
--warm-peach-cream: var(--warm-200);
|
|
179
|
+
--warm-acer-orange: var(--warm-500);
|
|
180
|
+
--warm-bark-brown: var(--warm-950);
|
|
181
|
+
--acid-acid-green: var(--acid-300);
|
|
182
|
+
}
|