@nswds/tokens 2.3.0 → 2.4.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/dist/css/colors/global/hex.css +192 -0
- package/dist/css/colors/global/hsl.css +192 -0
- package/dist/css/colors/global/oklch.css +192 -0
- package/dist/css/colors/global/rgb.css +192 -0
- package/dist/css/colors/themes/masterbrand/hex.css +2 -0
- package/dist/css/colors/themes/masterbrand/hsl.css +2 -0
- package/dist/css/colors/themes/masterbrand/oklch.css +2 -0
- package/dist/css/colors/themes/masterbrand/rgb.css +2 -0
- package/dist/index.js +1873 -1247
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1873 -1247
- package/dist/index.mjs.map +1 -1
- package/dist/js/colors/global/hex.js +210 -0
- package/dist/js/colors/global/hsl.js +210 -0
- package/dist/js/colors/global/oklch.js +210 -0
- package/dist/js/colors/global/rgb.js +210 -0
- package/dist/js/colors/themes/masterbrand/hex.js +72 -0
- package/dist/js/colors/themes/masterbrand/hsl.js +72 -0
- package/dist/js/colors/themes/masterbrand/oklch.js +72 -0
- package/dist/js/colors/themes/masterbrand/rgb.js +72 -0
- package/dist/json/colors/global/hex.json +1 -0
- package/dist/json/colors/global/hsl.json +1 -0
- package/dist/json/colors/global/oklch.json +1 -0
- package/dist/json/colors/global/rgb.json +1 -0
- package/dist/json/colors/themes/masterbrand/hex.json +1 -0
- package/dist/json/colors/themes/masterbrand/hsl.json +1 -0
- package/dist/json/colors/themes/masterbrand/oklch.json +1 -0
- package/dist/json/colors/themes/masterbrand/rgb.json +1 -0
- package/dist/less/colors/global/hex.less +0 -0
- package/dist/less/colors/global/hsl.less +0 -0
- package/dist/less/colors/global/oklch.less +0 -0
- package/dist/less/colors/global/rgb.less +0 -0
- package/dist/less/colors/themes/masterbrand/hex.less +0 -0
- package/dist/less/colors/themes/masterbrand/hsl.less +0 -0
- package/dist/less/colors/themes/masterbrand/oklch.less +0 -0
- package/dist/less/colors/themes/masterbrand/rgb.less +0 -0
- package/dist/scss/colors/global/hex.scss +190 -0
- package/dist/scss/colors/global/hsl.scss +190 -0
- package/dist/scss/colors/global/oklch.scss +190 -0
- package/dist/scss/colors/global/rgb.scss +190 -0
- package/dist/scss/colors/themes/masterbrand/hex.scss +56 -0
- package/dist/scss/colors/themes/masterbrand/hsl.scss +56 -0
- package/dist/scss/colors/themes/masterbrand/oklch.scss +56 -0
- package/dist/scss/colors/themes/masterbrand/rgb.scss +56 -0
- package/dist/tailwind/colors/global/hex.css +192 -0
- package/dist/tailwind/colors/global/hsl.css +192 -0
- package/dist/tailwind/colors/global/oklch.css +192 -0
- package/dist/tailwind/colors/global/rgb.css +192 -0
- package/dist/tailwind/colors/themes/masterbrand/hex.css +58 -0
- package/dist/tailwind/colors/themes/masterbrand/hsl.css +58 -0
- package/dist/tailwind/colors/themes/masterbrand/oklch.css +58 -0
- package/dist/tailwind/colors/themes/masterbrand/rgb.css +58 -0
- package/dist/ts/colors/global/hex.ts +210 -0
- package/dist/ts/colors/global/hsl.ts +210 -0
- package/dist/ts/colors/global/oklch.ts +210 -0
- package/dist/ts/colors/global/rgb.ts +210 -0
- package/dist/ts/colors/themes/masterbrand/hex.ts +72 -0
- package/dist/ts/colors/themes/masterbrand/hsl.ts +72 -0
- package/dist/ts/colors/themes/masterbrand/oklch.ts +72 -0
- package/dist/ts/colors/themes/masterbrand/rgb.ts +72 -0
- package/package.json +10 -4
- package/src/css/colors/global/hex.css +192 -0
- package/src/css/colors/global/hsl.css +192 -0
- package/src/css/colors/global/oklch.css +192 -0
- package/src/css/colors/global/rgb.css +192 -0
- package/src/css/colors/themes/masterbrand/hex.css +2 -0
- package/src/css/colors/themes/masterbrand/hsl.css +2 -0
- package/src/css/colors/themes/masterbrand/oklch.css +2 -0
- package/src/css/colors/themes/masterbrand/rgb.css +2 -0
- package/src/index.ts +295 -0
- package/src/js/colors/global/hex.js +210 -0
- package/src/js/colors/global/hsl.js +210 -0
- package/src/js/colors/global/oklch.js +210 -0
- package/src/js/colors/global/rgb.js +210 -0
- package/src/js/colors/themes/masterbrand/hex.js +72 -0
- package/src/js/colors/themes/masterbrand/hsl.js +72 -0
- package/src/js/colors/themes/masterbrand/oklch.js +72 -0
- package/src/js/colors/themes/masterbrand/rgb.js +72 -0
- package/src/json/colors/global/hex.json +1 -0
- package/src/json/colors/global/hsl.json +1 -0
- package/src/json/colors/global/oklch.json +1 -0
- package/src/json/colors/global/rgb.json +1 -0
- package/src/json/colors/themes/masterbrand/hex.json +1 -0
- package/src/json/colors/themes/masterbrand/hsl.json +1 -0
- package/src/json/colors/themes/masterbrand/oklch.json +1 -0
- package/src/json/colors/themes/masterbrand/rgb.json +1 -0
- package/src/less/colors/global/hex.less +0 -0
- package/src/less/colors/global/hsl.less +0 -0
- package/src/less/colors/global/oklch.less +0 -0
- package/src/less/colors/global/rgb.less +0 -0
- package/src/less/colors/themes/masterbrand/hex.less +0 -0
- package/src/less/colors/themes/masterbrand/hsl.less +0 -0
- package/src/less/colors/themes/masterbrand/oklch.less +0 -0
- package/src/less/colors/themes/masterbrand/rgb.less +0 -0
- package/src/scss/colors/global/hex.scss +190 -0
- package/src/scss/colors/global/hsl.scss +190 -0
- package/src/scss/colors/global/oklch.scss +190 -0
- package/src/scss/colors/global/rgb.scss +190 -0
- package/src/scss/colors/themes/masterbrand/hex.scss +56 -0
- package/src/scss/colors/themes/masterbrand/hsl.scss +56 -0
- package/src/scss/colors/themes/masterbrand/oklch.scss +56 -0
- package/src/scss/colors/themes/masterbrand/rgb.scss +56 -0
- package/src/tailwind/colors/global/hex.css +192 -0
- package/src/tailwind/colors/global/hsl.css +192 -0
- package/src/tailwind/colors/global/oklch.css +192 -0
- package/src/tailwind/colors/global/rgb.css +192 -0
- package/src/tailwind/colors/themes/masterbrand/hex.css +58 -0
- package/src/tailwind/colors/themes/masterbrand/hsl.css +58 -0
- package/src/tailwind/colors/themes/masterbrand/oklch.css +58 -0
- package/src/tailwind/colors/themes/masterbrand/rgb.css +58 -0
- package/src/ts/colors/global/hex.ts +210 -0
- package/src/ts/colors/global/hsl.ts +210 -0
- package/src/ts/colors/global/oklch.ts +210 -0
- package/src/ts/colors/global/rgb.ts +210 -0
- package/src/ts/colors/themes/masterbrand/hex.ts +72 -0
- package/src/ts/colors/themes/masterbrand/hsl.ts +72 -0
- package/src/ts/colors/themes/masterbrand/oklch.ts +72 -0
- package/src/ts/colors/themes/masterbrand/rgb.ts +72 -0
- package/src/types.d.ts +25 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--nsw-grey-50: rgb(250, 250, 250);
|
|
3
|
+
--nsw-grey-100: rgb(245, 245, 245);
|
|
4
|
+
--nsw-grey-150: rgb(240, 240, 240);
|
|
5
|
+
--nsw-grey-200: rgb(235, 235, 235);
|
|
6
|
+
--nsw-grey-250: rgb(229, 228, 229);
|
|
7
|
+
--nsw-grey-300: rgb(222, 222, 225);
|
|
8
|
+
--nsw-grey-350: rgb(214, 216, 220);
|
|
9
|
+
--nsw-grey-400: rgb(205, 211, 214);
|
|
10
|
+
--nsw-grey-450: rgb(170, 176, 180);
|
|
11
|
+
--nsw-grey-500: rgb(136, 143, 146);
|
|
12
|
+
--nsw-grey-550: rgb(104, 111, 114);
|
|
13
|
+
--nsw-grey-600: rgb(73, 80, 84);
|
|
14
|
+
--nsw-grey-650: rgb(63, 69, 73);
|
|
15
|
+
--nsw-grey-700: rgb(53, 59, 63);
|
|
16
|
+
--nsw-grey-750: rgb(43, 49, 53);
|
|
17
|
+
--nsw-grey-800: rgb(34, 39, 43);
|
|
18
|
+
--nsw-grey-850: rgb(24, 28, 31);
|
|
19
|
+
--nsw-grey-900: rgb(14, 17, 19);
|
|
20
|
+
--nsw-grey-950: rgb(5, 7, 9);
|
|
21
|
+
--nsw-green-50: rgb(245, 255, 246);
|
|
22
|
+
--nsw-green-100: rgb(236, 253, 238);
|
|
23
|
+
--nsw-green-150: rgb(228, 252, 231);
|
|
24
|
+
--nsw-green-200: rgb(219, 250, 223);
|
|
25
|
+
--nsw-green-250: rgb(207, 247, 212);
|
|
26
|
+
--nsw-green-300: rgb(194, 244, 201);
|
|
27
|
+
--nsw-green-350: rgb(181, 240, 190);
|
|
28
|
+
--nsw-green-400: rgb(168, 237, 179);
|
|
29
|
+
--nsw-green-450: rgb(138, 220, 152);
|
|
30
|
+
--nsw-green-500: rgb(106, 204, 125);
|
|
31
|
+
--nsw-green-550: rgb(69, 187, 98);
|
|
32
|
+
--nsw-green-600: rgb(0, 170, 69);
|
|
33
|
+
--nsw-green-650: rgb(7, 142, 50);
|
|
34
|
+
--nsw-green-700: rgb(7, 115, 32);
|
|
35
|
+
--nsw-green-750: rgb(3, 89, 15);
|
|
36
|
+
--nsw-green-800: rgb(0, 64, 0);
|
|
37
|
+
--nsw-green-850: rgb(0, 48, 0);
|
|
38
|
+
--nsw-green-900: rgb(0, 32, 0);
|
|
39
|
+
--nsw-green-950: rgb(0, 17, 0);
|
|
40
|
+
--nsw-teal-50: rgb(242, 251, 250);
|
|
41
|
+
--nsw-teal-100: rgb(231, 247, 245);
|
|
42
|
+
--nsw-teal-150: rgb(220, 242, 239);
|
|
43
|
+
--nsw-teal-200: rgb(209, 238, 234);
|
|
44
|
+
--nsw-teal-250: rgb(193, 234, 231);
|
|
45
|
+
--nsw-teal-300: rgb(176, 229, 229);
|
|
46
|
+
--nsw-teal-350: rgb(158, 224, 229);
|
|
47
|
+
--nsw-teal-400: rgb(140, 219, 229);
|
|
48
|
+
--nsw-teal-450: rgb(117, 196, 207);
|
|
49
|
+
--nsw-teal-500: rgb(94, 172, 185);
|
|
50
|
+
--nsw-teal-550: rgb(70, 150, 163);
|
|
51
|
+
--nsw-teal-600: rgb(46, 128, 142);
|
|
52
|
+
--nsw-teal-650: rgb(37, 111, 123);
|
|
53
|
+
--nsw-teal-700: rgb(28, 95, 105);
|
|
54
|
+
--nsw-teal-750: rgb(20, 78, 88);
|
|
55
|
+
--nsw-teal-800: rgb(11, 63, 71);
|
|
56
|
+
--nsw-teal-850: rgb(4, 47, 53);
|
|
57
|
+
--nsw-teal-900: rgb(1, 31, 36);
|
|
58
|
+
--nsw-teal-950: rgb(0, 17, 20);
|
|
59
|
+
--nsw-blue-50: rgb(240, 251, 255);
|
|
60
|
+
--nsw-blue-100: rgb(228, 246, 255);
|
|
61
|
+
--nsw-blue-150: rgb(215, 242, 254);
|
|
62
|
+
--nsw-blue-200: rgb(203, 237, 253);
|
|
63
|
+
--nsw-blue-250: rgb(188, 234, 254);
|
|
64
|
+
--nsw-blue-300: rgb(173, 231, 255);
|
|
65
|
+
--nsw-blue-350: rgb(157, 227, 255);
|
|
66
|
+
--nsw-blue-400: rgb(140, 224, 255);
|
|
67
|
+
--nsw-blue-450: rgb(90, 201, 255);
|
|
68
|
+
--nsw-blue-500: rgb(38, 174, 255);
|
|
69
|
+
--nsw-blue-550: rgb(0, 143, 255);
|
|
70
|
+
--nsw-blue-600: rgb(20, 108, 253);
|
|
71
|
+
--nsw-blue-650: rgb(12, 90, 212);
|
|
72
|
+
--nsw-blue-700: rgb(5, 72, 173);
|
|
73
|
+
--nsw-blue-750: rgb(2, 54, 136);
|
|
74
|
+
--nsw-blue-800: rgb(0, 38, 100);
|
|
75
|
+
--nsw-blue-850: rgb(0, 26, 77);
|
|
76
|
+
--nsw-blue-900: rgb(0, 16, 55);
|
|
77
|
+
--nsw-blue-950: rgb(0, 6, 34);
|
|
78
|
+
--nsw-purple-50: rgb(249, 247, 255);
|
|
79
|
+
--nsw-purple-100: rgb(242, 240, 255);
|
|
80
|
+
--nsw-purple-150: rgb(236, 232, 254);
|
|
81
|
+
--nsw-purple-200: rgb(230, 225, 253);
|
|
82
|
+
--nsw-purple-250: rgb(224, 217, 254);
|
|
83
|
+
--nsw-purple-300: rgb(218, 208, 254);
|
|
84
|
+
--nsw-purple-350: rgb(212, 200, 255);
|
|
85
|
+
--nsw-purple-400: rgb(206, 191, 255);
|
|
86
|
+
--nsw-purple-450: rgb(186, 166, 252);
|
|
87
|
+
--nsw-purple-500: rgb(166, 141, 249);
|
|
88
|
+
--nsw-purple-550: rgb(147, 114, 245);
|
|
89
|
+
--nsw-purple-600: rgb(128, 85, 241);
|
|
90
|
+
--nsw-purple-650: rgb(114, 67, 207);
|
|
91
|
+
--nsw-purple-700: rgb(100, 50, 174);
|
|
92
|
+
--nsw-purple-750: rgb(84, 33, 142);
|
|
93
|
+
--nsw-purple-800: rgb(68, 17, 112);
|
|
94
|
+
--nsw-purple-850: rgb(51, 8, 86);
|
|
95
|
+
--nsw-purple-900: rgb(35, 2, 62);
|
|
96
|
+
--nsw-purple-950: rgb(19, 0, 39);
|
|
97
|
+
--nsw-fuchsia-50: rgb(255, 246, 253);
|
|
98
|
+
--nsw-fuchsia-100: rgb(255, 238, 249);
|
|
99
|
+
--nsw-fuchsia-150: rgb(254, 230, 245);
|
|
100
|
+
--nsw-fuchsia-200: rgb(253, 222, 242);
|
|
101
|
+
--nsw-fuchsia-250: rgb(251, 212, 239);
|
|
102
|
+
--nsw-fuchsia-300: rgb(249, 201, 235);
|
|
103
|
+
--nsw-fuchsia-350: rgb(247, 191, 233);
|
|
104
|
+
--nsw-fuchsia-400: rgb(244, 181, 230);
|
|
105
|
+
--nsw-fuchsia-450: rgb(239, 150, 218);
|
|
106
|
+
--nsw-fuchsia-500: rgb(233, 117, 204);
|
|
107
|
+
--nsw-fuchsia-550: rgb(225, 80, 190);
|
|
108
|
+
--nsw-fuchsia-600: rgb(217, 18, 174);
|
|
109
|
+
--nsw-fuchsia-650: rgb(187, 12, 148);
|
|
110
|
+
--nsw-fuchsia-700: rgb(157, 6, 123);
|
|
111
|
+
--nsw-fuchsia-750: rgb(129, 2, 100);
|
|
112
|
+
--nsw-fuchsia-800: rgb(101, 0, 77);
|
|
113
|
+
--nsw-fuchsia-850: rgb(77, 0, 58);
|
|
114
|
+
--nsw-fuchsia-900: rgb(55, 0, 40);
|
|
115
|
+
--nsw-fuchsia-950: rgb(34, 0, 23);
|
|
116
|
+
--nsw-red-50: rgb(255, 248, 249);
|
|
117
|
+
--nsw-red-100: rgb(255, 242, 244);
|
|
118
|
+
--nsw-red-150: rgb(255, 236, 239);
|
|
119
|
+
--nsw-red-200: rgb(255, 230, 234);
|
|
120
|
+
--nsw-red-250: rgb(255, 219, 224);
|
|
121
|
+
--nsw-red-300: rgb(255, 207, 214);
|
|
122
|
+
--nsw-red-350: rgb(255, 196, 204);
|
|
123
|
+
--nsw-red-400: rgb(255, 184, 193);
|
|
124
|
+
--nsw-red-450: rgb(248, 151, 162);
|
|
125
|
+
--nsw-red-500: rgb(239, 117, 129);
|
|
126
|
+
--nsw-red-550: rgb(228, 79, 95);
|
|
127
|
+
--nsw-red-600: rgb(215, 21, 58);
|
|
128
|
+
--nsw-red-650: rgb(185, 14, 50);
|
|
129
|
+
--nsw-red-700: rgb(155, 7, 42);
|
|
130
|
+
--nsw-red-750: rgb(126, 3, 34);
|
|
131
|
+
--nsw-red-800: rgb(99, 0, 25);
|
|
132
|
+
--nsw-red-850: rgb(76, 0, 16);
|
|
133
|
+
--nsw-red-900: rgb(54, 0, 8);
|
|
134
|
+
--nsw-red-950: rgb(33, 0, 3);
|
|
135
|
+
--nsw-orange-50: rgb(255, 250, 246);
|
|
136
|
+
--nsw-orange-100: rgb(255, 246, 238);
|
|
137
|
+
--nsw-orange-150: rgb(254, 241, 231);
|
|
138
|
+
--nsw-orange-200: rgb(253, 237, 223);
|
|
139
|
+
--nsw-orange-250: rgb(254, 229, 206);
|
|
140
|
+
--nsw-orange-300: rgb(255, 221, 189);
|
|
141
|
+
--nsw-orange-350: rgb(255, 214, 171);
|
|
142
|
+
--nsw-orange-400: rgb(255, 206, 153);
|
|
143
|
+
--nsw-orange-450: rgb(253, 182, 120);
|
|
144
|
+
--nsw-orange-500: rgb(251, 157, 88);
|
|
145
|
+
--nsw-orange-550: rgb(247, 129, 57);
|
|
146
|
+
--nsw-orange-600: rgb(243, 99, 27);
|
|
147
|
+
--nsw-orange-650: rgb(219, 81, 21);
|
|
148
|
+
--nsw-orange-700: rgb(195, 63, 14);
|
|
149
|
+
--nsw-orange-750: rgb(171, 46, 6);
|
|
150
|
+
--nsw-orange-800: rgb(148, 27, 0);
|
|
151
|
+
--nsw-orange-850: rgb(115, 15, 0);
|
|
152
|
+
--nsw-orange-900: rgb(83, 4, 0);
|
|
153
|
+
--nsw-orange-950: rgb(53, 0, 0);
|
|
154
|
+
--nsw-yellow-50: rgb(255, 252, 240);
|
|
155
|
+
--nsw-yellow-100: rgb(255, 250, 229);
|
|
156
|
+
--nsw-yellow-150: rgb(255, 247, 218);
|
|
157
|
+
--nsw-yellow-200: rgb(255, 244, 207);
|
|
158
|
+
--nsw-yellow-250: rgb(255, 241, 194);
|
|
159
|
+
--nsw-yellow-300: rgb(254, 238, 181);
|
|
160
|
+
--nsw-yellow-350: rgb(254, 234, 168);
|
|
161
|
+
--nsw-yellow-400: rgb(253, 231, 154);
|
|
162
|
+
--nsw-yellow-450: rgb(251, 218, 128);
|
|
163
|
+
--nsw-yellow-500: rgb(250, 205, 99);
|
|
164
|
+
--nsw-yellow-550: rgb(250, 190, 66);
|
|
165
|
+
--nsw-yellow-600: rgb(250, 175, 5);
|
|
166
|
+
--nsw-yellow-650: rgb(212, 148, 2);
|
|
167
|
+
--nsw-yellow-700: rgb(175, 122, 1);
|
|
168
|
+
--nsw-yellow-750: rgb(139, 96, 0);
|
|
169
|
+
--nsw-yellow-800: rgb(105, 72, 0);
|
|
170
|
+
--nsw-yellow-850: rgb(80, 53, 0);
|
|
171
|
+
--nsw-yellow-900: rgb(57, 36, 0);
|
|
172
|
+
--nsw-yellow-950: rgb(34, 19, 0);
|
|
173
|
+
--nsw-brown-50: rgb(251, 248, 244);
|
|
174
|
+
--nsw-brown-100: rgb(246, 241, 234);
|
|
175
|
+
--nsw-brown-150: rgb(242, 234, 225);
|
|
176
|
+
--nsw-brown-200: rgb(237, 227, 215);
|
|
177
|
+
--nsw-brown-250: rgb(236, 222, 206);
|
|
178
|
+
--nsw-brown-300: rgb(234, 218, 198);
|
|
179
|
+
--nsw-brown-350: rgb(233, 213, 189);
|
|
180
|
+
--nsw-brown-400: rgb(232, 208, 181);
|
|
181
|
+
--nsw-brown-450: rgb(219, 191, 159);
|
|
182
|
+
--nsw-brown-500: rgb(207, 174, 137);
|
|
183
|
+
--nsw-brown-550: rgb(194, 157, 115);
|
|
184
|
+
--nsw-brown-600: rgb(182, 141, 93);
|
|
185
|
+
--nsw-brown-650: rgb(156, 118, 75);
|
|
186
|
+
--nsw-brown-700: rgb(130, 96, 58);
|
|
187
|
+
--nsw-brown-750: rgb(106, 75, 41);
|
|
188
|
+
--nsw-brown-800: rgb(82, 55, 25);
|
|
189
|
+
--nsw-brown-850: rgb(62, 40, 15);
|
|
190
|
+
--nsw-brown-900: rgb(43, 26, 7);
|
|
191
|
+
--nsw-brown-950: rgb(25, 13, 2);
|
|
192
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
// JSON Tokens Imports
|
|
2
|
+
const globalColorHex = require('../tokens/global/color/hex.json');
|
|
3
|
+
const globalColorHsl = require('../tokens/global/color/hsl.json');
|
|
4
|
+
const globalColorOklch = require('../tokens/global/color/oklch.json');
|
|
5
|
+
const globalColorRgb = require('../tokens/global/color/rgb.json');
|
|
6
|
+
|
|
7
|
+
const masterbrandColorHex = require('../tokens/themes/masterbrand/color/hex.json');
|
|
8
|
+
const masterbrandColorHsl = require('../tokens/themes/masterbrand/color/hsl.json');
|
|
9
|
+
const masterbrandColorOklch = require('../tokens/themes/masterbrand/color/oklch.json');
|
|
10
|
+
const masterbrandColorRgb = require('../tokens/themes/masterbrand/color/rgb.json');
|
|
11
|
+
|
|
12
|
+
// CSS Imports
|
|
13
|
+
import * as globalCssHex from './css/colors/global/hex.css';
|
|
14
|
+
import * as globalCssHsl from './css/colors/global/hsl.css';
|
|
15
|
+
import * as globalCssOklch from './css/colors/global/oklch.css';
|
|
16
|
+
import * as globalCssRgb from './css/colors/global/rgb.css';
|
|
17
|
+
import * as masterbrandCssHex from './css/colors/themes/masterbrand/hex.css';
|
|
18
|
+
import * as masterbrandCssHsl from './css/colors/themes/masterbrand/hsl.css';
|
|
19
|
+
import * as masterbrandCssOklch from './css/colors/themes/masterbrand/oklch.css';
|
|
20
|
+
import * as masterbrandCssRgb from './css/colors/themes/masterbrand/rgb.css';
|
|
21
|
+
|
|
22
|
+
// JavaScript Imports
|
|
23
|
+
import * as globalJsHex from './js/colors/global/hex.js';
|
|
24
|
+
import * as globalJsHsl from './js/colors/global/hsl.js';
|
|
25
|
+
import * as globalJsOklch from './js/colors/global/oklch.js';
|
|
26
|
+
import * as globalJsRgb from './js/colors/global/rgb.js';
|
|
27
|
+
import * as masterbrandJsHex from './js/colors/themes/masterbrand/hex.js';
|
|
28
|
+
import * as masterbrandJsHsl from './js/colors/themes/masterbrand/hsl.js';
|
|
29
|
+
import * as masterbrandJsOklch from './js/colors/themes/masterbrand/oklch.js';
|
|
30
|
+
import * as masterbrandJsRgb from './js/colors/themes/masterbrand/rgb.js';
|
|
31
|
+
|
|
32
|
+
// JSON Imports
|
|
33
|
+
const globalJsonHex = require('./json/colors/global/hex.json');
|
|
34
|
+
const globalJsonHsl = require('./json/colors/global/hsl.json');
|
|
35
|
+
const globalJsonOklch = require('./json/colors/global/oklch.json');
|
|
36
|
+
const globalJsonRgb = require('./json/colors/global/rgb.json');
|
|
37
|
+
const masterbrandJsonHex = require('./json/colors/themes/masterbrand/hex.json');
|
|
38
|
+
const masterbrandJsonHsl = require('./json/colors/themes/masterbrand/hsl.json');
|
|
39
|
+
const masterbrandJsonOklch = require('./json/colors/themes/masterbrand/oklch.json');
|
|
40
|
+
const masterbrandJsonRgb = require('./json/colors/themes/masterbrand/rgb.json');
|
|
41
|
+
|
|
42
|
+
// LESS Imports
|
|
43
|
+
import * as globalLessHex from './less/colors/global/hex.less';
|
|
44
|
+
import * as globalLessHsl from './less/colors/global/hsl.less';
|
|
45
|
+
import * as globalLessOklch from './less/colors/global/oklch.less';
|
|
46
|
+
import * as globalLessRgb from './less/colors/global/rgb.less';
|
|
47
|
+
import * as masterbrandLessHex from './less/colors/themes/masterbrand/hex.less';
|
|
48
|
+
import * as masterbrandLessHsl from './less/colors/themes/masterbrand/hsl.less';
|
|
49
|
+
import * as masterbrandLessOklch from './less/colors/themes/masterbrand/oklch.less';
|
|
50
|
+
import * as masterbrandLessRgb from './less/colors/themes/masterbrand/rgb.less';
|
|
51
|
+
|
|
52
|
+
// SCSS Imports
|
|
53
|
+
import * as globalScssHex from './scss/colors/global/hex.scss';
|
|
54
|
+
import * as globalScssHsl from './scss/colors/global/hsl.scss';
|
|
55
|
+
import * as globalScssOklch from './scss/colors/global/oklch.scss';
|
|
56
|
+
import * as globalScssRgb from './scss/colors/global/rgb.scss';
|
|
57
|
+
import * as masterbrandScssHex from './scss/colors/themes/masterbrand/hex.scss';
|
|
58
|
+
import * as masterbrandScssHsl from './scss/colors/themes/masterbrand/hsl.scss';
|
|
59
|
+
import * as masterbrandScssOklch from './scss/colors/themes/masterbrand/oklch.scss';
|
|
60
|
+
import * as masterbrandScssRgb from './scss/colors/themes/masterbrand/rgb.scss';
|
|
61
|
+
|
|
62
|
+
// Tailwind Imports
|
|
63
|
+
import * as globalTailwindHex from './tailwind/colors/global/hex.css';
|
|
64
|
+
import * as globalTailwindHsl from './tailwind/colors/global/hsl.css';
|
|
65
|
+
import * as globalTailwindOklch from './tailwind/colors/global/oklch.css';
|
|
66
|
+
import * as globalTailwindRgb from './tailwind/colors/global/rgb.css';
|
|
67
|
+
import * as masterbrandTailwindHex from './tailwind/colors/themes/masterbrand/hex.css';
|
|
68
|
+
import * as masterbrandTailwindHsl from './tailwind/colors/themes/masterbrand/hsl.css';
|
|
69
|
+
import * as masterbrandTailwindOklch from './tailwind/colors/themes/masterbrand/oklch.css';
|
|
70
|
+
import * as masterbrandTailwindRgb from './tailwind/colors/themes/masterbrand/rgb.css';
|
|
71
|
+
|
|
72
|
+
// TypeScript Imports
|
|
73
|
+
import * as globalTsHex from './ts/colors/global/hex';
|
|
74
|
+
import * as globalTsHsl from './ts/colors/global/hsl';
|
|
75
|
+
import * as globalTsOklch from './ts/colors/global/oklch';
|
|
76
|
+
import * as globalTsRgb from './ts/colors/global/rgb';
|
|
77
|
+
import * as masterbrandTsHex from './ts/colors/themes/masterbrand/hex';
|
|
78
|
+
import * as masterbrandTsHsl from './ts/colors/themes/masterbrand/hsl';
|
|
79
|
+
import * as masterbrandTsOklch from './ts/colors/themes/masterbrand/oklch';
|
|
80
|
+
import * as masterbrandTsRgb from './ts/colors/themes/masterbrand/rgb';
|
|
81
|
+
|
|
82
|
+
export const tokens = {
|
|
83
|
+
colors: {
|
|
84
|
+
global: {
|
|
85
|
+
hex: globalColorHex,
|
|
86
|
+
hsl: globalColorHsl,
|
|
87
|
+
oklch: globalColorOklch,
|
|
88
|
+
rgb: globalColorRgb
|
|
89
|
+
},
|
|
90
|
+
themes: {
|
|
91
|
+
masterbrand: {
|
|
92
|
+
hex: masterbrandColorHex,
|
|
93
|
+
hsl: masterbrandColorHsl,
|
|
94
|
+
oklch: masterbrandColorOklch,
|
|
95
|
+
rgb: masterbrandColorRgb
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
css: {
|
|
100
|
+
global: {
|
|
101
|
+
hex: globalCssHex,
|
|
102
|
+
hsl: globalCssHsl,
|
|
103
|
+
oklch: globalCssOklch,
|
|
104
|
+
rgb: globalCssRgb
|
|
105
|
+
},
|
|
106
|
+
themes: {
|
|
107
|
+
masterbrand: {
|
|
108
|
+
hex: masterbrandCssHex,
|
|
109
|
+
hsl: masterbrandCssHsl,
|
|
110
|
+
oklch: masterbrandCssOklch,
|
|
111
|
+
rgb: masterbrandCssRgb
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
js: {
|
|
116
|
+
global: {
|
|
117
|
+
hex: globalJsHex,
|
|
118
|
+
hsl: globalJsHsl,
|
|
119
|
+
oklch: globalJsOklch,
|
|
120
|
+
rgb: globalJsRgb
|
|
121
|
+
},
|
|
122
|
+
themes: {
|
|
123
|
+
masterbrand: {
|
|
124
|
+
hex: masterbrandJsHex,
|
|
125
|
+
hsl: masterbrandJsHsl,
|
|
126
|
+
oklch: masterbrandJsOklch,
|
|
127
|
+
rgb: masterbrandJsRgb
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
json: {
|
|
132
|
+
global: {
|
|
133
|
+
hex: globalJsonHex,
|
|
134
|
+
hsl: globalJsonHsl,
|
|
135
|
+
oklch: globalJsonOklch,
|
|
136
|
+
rgb: globalJsonRgb
|
|
137
|
+
},
|
|
138
|
+
themes: {
|
|
139
|
+
masterbrand: {
|
|
140
|
+
hex: masterbrandJsonHex,
|
|
141
|
+
hsl: masterbrandJsonHsl,
|
|
142
|
+
oklch: masterbrandJsonOklch,
|
|
143
|
+
rgb: masterbrandJsonRgb
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
less: {
|
|
148
|
+
global: {
|
|
149
|
+
hex: globalLessHex,
|
|
150
|
+
hsl: globalLessHsl,
|
|
151
|
+
oklch: globalLessOklch,
|
|
152
|
+
rgb: globalLessRgb
|
|
153
|
+
},
|
|
154
|
+
themes: {
|
|
155
|
+
masterbrand: {
|
|
156
|
+
hex: masterbrandLessHex,
|
|
157
|
+
hsl: masterbrandLessHsl,
|
|
158
|
+
oklch: masterbrandLessOklch,
|
|
159
|
+
rgb: masterbrandLessRgb
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
scss: {
|
|
164
|
+
global: {
|
|
165
|
+
hex: globalScssHex,
|
|
166
|
+
hsl: globalScssHsl,
|
|
167
|
+
oklch: globalScssOklch,
|
|
168
|
+
rgb: globalScssRgb
|
|
169
|
+
},
|
|
170
|
+
themes: {
|
|
171
|
+
masterbrand: {
|
|
172
|
+
hex: masterbrandScssHex,
|
|
173
|
+
hsl: masterbrandScssHsl,
|
|
174
|
+
oklch: masterbrandScssOklch,
|
|
175
|
+
rgb: masterbrandScssRgb
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
tailwind: {
|
|
180
|
+
global: {
|
|
181
|
+
hex: globalTailwindHex,
|
|
182
|
+
hsl: globalTailwindHsl,
|
|
183
|
+
oklch: globalTailwindOklch,
|
|
184
|
+
rgb: globalTailwindRgb
|
|
185
|
+
},
|
|
186
|
+
themes: {
|
|
187
|
+
masterbrand: {
|
|
188
|
+
hex: masterbrandTailwindHex,
|
|
189
|
+
hsl: masterbrandTailwindHsl,
|
|
190
|
+
oklch: masterbrandTailwindOklch,
|
|
191
|
+
rgb: masterbrandTailwindRgb
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
ts: {
|
|
196
|
+
global: {
|
|
197
|
+
hex: globalTsHex,
|
|
198
|
+
hsl: globalTsHsl,
|
|
199
|
+
oklch: globalTsOklch,
|
|
200
|
+
rgb: globalTsRgb
|
|
201
|
+
},
|
|
202
|
+
themes: {
|
|
203
|
+
masterbrand: {
|
|
204
|
+
hex: masterbrandTsHex,
|
|
205
|
+
hsl: masterbrandTsHsl,
|
|
206
|
+
oklch: masterbrandTsOklch,
|
|
207
|
+
rgb: masterbrandTsRgb
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
export const colorTokens = tokens.colors;
|
|
214
|
+
export const cssTokens = tokens.css;
|
|
215
|
+
export const jsTokens = tokens.js;
|
|
216
|
+
export const jsonTokens = tokens.json;
|
|
217
|
+
export const lessTokens = tokens.less;
|
|
218
|
+
export const scssTokens = tokens.scss;
|
|
219
|
+
export const tailwindTokens = tokens.tailwind;
|
|
220
|
+
export const tsTokens = tokens.ts;
|
|
221
|
+
|
|
222
|
+
// Export icon paths
|
|
223
|
+
export const icons = {
|
|
224
|
+
accountCircle: './icons/account_circle.svg',
|
|
225
|
+
attachFile: './icons/attach_file.svg',
|
|
226
|
+
cancel: './icons/cancel.svg',
|
|
227
|
+
check: './icons/check.svg',
|
|
228
|
+
checkCircle: './icons/check_circle.svg',
|
|
229
|
+
chevronDown: './icons/chevron_down.svg',
|
|
230
|
+
chevronLeft: './icons/chevron_left.svg',
|
|
231
|
+
chevronRight: './icons/chevron_right.svg',
|
|
232
|
+
chevronUp: './icons/chevron_up.svg',
|
|
233
|
+
close: './icons/close.svg',
|
|
234
|
+
collapseAll: './icons/collapse_all.svg',
|
|
235
|
+
computer: './icons/computer.svg',
|
|
236
|
+
copy: './icons/copy.svg',
|
|
237
|
+
darkMode: './icons/dark_mode.svg',
|
|
238
|
+
delete: './icons/delete.svg',
|
|
239
|
+
desktop: './icons/desktop.svg',
|
|
240
|
+
displaySettings: './icons/display_settings.svg',
|
|
241
|
+
dockToLeft: './icons/dock_to_left.svg',
|
|
242
|
+
dockToRight: './icons/dock_to_right.svg',
|
|
243
|
+
doubleArrowLeft: './icons/double_arrow_left.svg',
|
|
244
|
+
doubleArrowRight: './icons/double_arrow_right.svg',
|
|
245
|
+
download: './icons/download.svg',
|
|
246
|
+
east: './icons/east.svg',
|
|
247
|
+
error: './icons/error.svg',
|
|
248
|
+
exclamation: './icons/exclamation.svg',
|
|
249
|
+
eye: './icons/eye.svg',
|
|
250
|
+
favorite: './icons/favorite.svg',
|
|
251
|
+
help: './icons/help.svg',
|
|
252
|
+
info: './icons/info.svg',
|
|
253
|
+
language: './icons/language.svg',
|
|
254
|
+
lightMode: './icons/light_mode.svg',
|
|
255
|
+
link: './icons/link.svg',
|
|
256
|
+
login: './icons/login.svg',
|
|
257
|
+
logout: './icons/logout.svg',
|
|
258
|
+
menu: './icons/menu.svg',
|
|
259
|
+
moreHoriz: './icons/more_horiz.svg',
|
|
260
|
+
moreVert: './icons/more_vert.svg',
|
|
261
|
+
north: './icons/north.svg',
|
|
262
|
+
openInNew: './icons/open_in_new.svg',
|
|
263
|
+
print: './icons/print.svg',
|
|
264
|
+
progressActivity: './icons/progress_activity.svg',
|
|
265
|
+
remove: './icons/remove.svg',
|
|
266
|
+
search: './icons/search.svg',
|
|
267
|
+
settingsBrightness: './icons/settings_brightness.svg',
|
|
268
|
+
share: './icons/share.svg',
|
|
269
|
+
sideNavigation: './icons/side_navigation.svg',
|
|
270
|
+
south: './icons/south.svg',
|
|
271
|
+
unfoldLess: './icons/unfold_less.svg',
|
|
272
|
+
unfoldMore: './icons/unfold_more.svg',
|
|
273
|
+
upload: './icons/upload.svg',
|
|
274
|
+
west: './icons/west.svg'
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
// Export brand assets
|
|
278
|
+
export const brand = {
|
|
279
|
+
iconDark: {
|
|
280
|
+
ico: './brand/icon-dark.ico',
|
|
281
|
+
png: './brand/icon-dark.png',
|
|
282
|
+
svg: './brand/icon-dark.svg'
|
|
283
|
+
},
|
|
284
|
+
iconLight: {
|
|
285
|
+
ico: './brand/icon-light.ico',
|
|
286
|
+
png: './brand/icon-light.png',
|
|
287
|
+
svg: './brand/icon-light.svg'
|
|
288
|
+
},
|
|
289
|
+
icon: './brand/icon.svg',
|
|
290
|
+
logo: {
|
|
291
|
+
png: './brand/logo.png',
|
|
292
|
+
svg: './brand/logo.svg'
|
|
293
|
+
},
|
|
294
|
+
placeholder: './brand/placeholder.svg'
|
|
295
|
+
};
|