@nswds/tokens 2.2.1 → 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/index.d.mts +3009 -0
- package/dist/index.d.ts +3009 -0
- package/dist/index.js +10718 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +10706 -0
- package/dist/index.mjs.map +1 -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/package.json +55 -6
- 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/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
- package/.gitattributes +0 -2
- package/.github/workflows/ai-pr-title.yml +0 -115
- package/.github/workflows/openai-pr-description.yml +0 -13
- package/.github/workflows/opencommit.yml +0 -36
- package/.github/workflows/release.yml +0 -30
- package/.github/workflows/validate-branch-name.yml +0 -21
- package/.prettierignore +0 -18
- package/.prettierrc +0 -8
- package/CHANGELOG.md +0 -38
- package/assets/placeholder.svg +0 -1
- package/brand/black/logo.png +0 -0
- package/brand/black/logo.svg +0 -30
- package/brand/icon-dark.ico +0 -0
- package/brand/icon-dark.png +0 -0
- package/brand/icon-dark.svg +0 -17
- package/brand/icon-light.ico +0 -0
- package/brand/icon-light.png +0 -0
- package/brand/icon-light.svg +0 -30
- package/brand/icon.svg +0 -30
- package/brand/logo.png +0 -0
- package/brand/logo.svg +0 -34
- package/brand/placeholder.svg +0 -1
- package/brand/reversed/logo.png +0 -0
- package/brand/reversed/logo.svg +0 -34
- package/brand/white/logo.png +0 -0
- package/brand/white/logo.svg +0 -21
- package/create-branch.sh +0 -29
- package/eslint.config.js +0 -20
- package/git-conventional-commits.yaml +0 -43
- package/icons/account_circle.svg +0 -1
- package/icons/attach_file.svg +0 -1
- package/icons/cancel.svg +0 -1
- package/icons/check.svg +0 -1
- package/icons/check_circle.svg +0 -1
- package/icons/chevron_down.svg +0 -1
- package/icons/chevron_left.svg +0 -1
- package/icons/chevron_right.svg +0 -1
- package/icons/chevron_up.svg +0 -1
- package/icons/close.svg +0 -1
- package/icons/collapse_all.svg +0 -1
- package/icons/computer.svg +0 -1
- package/icons/copy.svg +0 -1
- package/icons/dark_mode.svg +0 -1
- package/icons/delete.svg +0 -1
- package/icons/desktop.svg +0 -1
- package/icons/display_settings.svg +0 -1
- package/icons/dock_to_left.svg +0 -1
- package/icons/dock_to_right.svg +0 -1
- package/icons/double_arrow_left.svg +0 -1
- package/icons/double_arrow_right.svg +0 -1
- package/icons/download.svg +0 -1
- package/icons/east.svg +0 -1
- package/icons/error.svg +0 -1
- package/icons/exclamation.svg +0 -1
- package/icons/eye.svg +0 -1
- package/icons/favorite.svg +0 -1
- package/icons/help.svg +0 -1
- package/icons/info.svg +0 -1
- package/icons/language.svg +0 -1
- package/icons/light_mode.svg +0 -1
- package/icons/link.svg +0 -1
- package/icons/login.svg +0 -1
- package/icons/logout.svg +0 -1
- package/icons/menu.svg +0 -1
- package/icons/more_horiz.svg +0 -1
- package/icons/more_vert.svg +0 -1
- package/icons/north.svg +0 -1
- package/icons/open_in_new.svg +0 -1
- package/icons/print.svg +0 -1
- package/icons/progress_activity.svg +0 -1
- package/icons/remove.svg +0 -1
- package/icons/search.svg +0 -1
- package/icons/settings_brightness.svg +0 -1
- package/icons/share.svg +0 -1
- package/icons/side_navigation.svg +0 -1
- package/icons/south.svg +0 -1
- package/icons/unfold_less.svg +0 -1
- package/icons/unfold_more.svg +0 -1
- package/icons/upload.svg +0 -1
- package/icons/west.svg +0 -1
- package/pull-request.sh +0 -61
- package/release.config.mjs +0 -24
- package/tokens/global/color/hex.json +0 -782
- package/tokens/global/color/hsl.json +0 -1542
- package/tokens/global/color/oklch.json +0 -1542
- package/tokens/global/color/rgb.json +0 -1542
- package/tokens/themes/masterbrand/color/hex.json +0 -242
- package/tokens/themes/masterbrand/color/hsl.json +0 -466
- package/tokens/themes/masterbrand/color/oklch.json +0 -466
- package/tokens/themes/masterbrand/color/rgb.json +0 -466
- /package/{index.ts → src/less/colors/global/hex.less} +0 -0
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
|
+
};
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
export const nswGrey = {
|
|
2
|
+
50: '#fafafa',
|
|
3
|
+
100: '#f5f5f5',
|
|
4
|
+
150: '#f0f0f0',
|
|
5
|
+
200: '#ebebeb',
|
|
6
|
+
250: '#e5e4e5',
|
|
7
|
+
300: '#dedee1',
|
|
8
|
+
350: '#d6d8dc',
|
|
9
|
+
400: '#cdd3d6',
|
|
10
|
+
450: '#aab0b4',
|
|
11
|
+
500: '#888f92',
|
|
12
|
+
550: '#686f72',
|
|
13
|
+
600: '#495054',
|
|
14
|
+
650: '#3f4549',
|
|
15
|
+
700: '#353b3f',
|
|
16
|
+
750: '#2b3135',
|
|
17
|
+
800: '#22272b',
|
|
18
|
+
850: '#181c1f',
|
|
19
|
+
900: '#0e1113',
|
|
20
|
+
950: '#050709',
|
|
21
|
+
}
|
|
22
|
+
export const nswGreen = {
|
|
23
|
+
50: '#f5fff6',
|
|
24
|
+
100: '#ecfdee',
|
|
25
|
+
150: '#e4fce7',
|
|
26
|
+
200: '#dbfadf',
|
|
27
|
+
250: '#cff7d4',
|
|
28
|
+
300: '#c2f4c9',
|
|
29
|
+
350: '#b5f0be',
|
|
30
|
+
400: '#a8edb3',
|
|
31
|
+
450: '#8adc98',
|
|
32
|
+
500: '#6acc7d',
|
|
33
|
+
550: '#45bb62',
|
|
34
|
+
600: '#00aa45',
|
|
35
|
+
650: '#078e32',
|
|
36
|
+
700: '#077320',
|
|
37
|
+
750: '#03590f',
|
|
38
|
+
800: '#004000',
|
|
39
|
+
850: '#003000',
|
|
40
|
+
900: '#002000',
|
|
41
|
+
950: '#001100',
|
|
42
|
+
}
|
|
43
|
+
export const nswTeal = {
|
|
44
|
+
50: '#f2fbfa',
|
|
45
|
+
100: '#e7f7f5',
|
|
46
|
+
150: '#dcf2ef',
|
|
47
|
+
200: '#d1eeea',
|
|
48
|
+
250: '#c1eae7',
|
|
49
|
+
300: '#b0e5e5',
|
|
50
|
+
350: '#9ee0e5',
|
|
51
|
+
400: '#8cdbe5',
|
|
52
|
+
450: '#75c4cf',
|
|
53
|
+
500: '#5eacb9',
|
|
54
|
+
550: '#4696a3',
|
|
55
|
+
600: '#2e808e',
|
|
56
|
+
650: '#256f7b',
|
|
57
|
+
700: '#1c5f69',
|
|
58
|
+
750: '#144e58',
|
|
59
|
+
800: '#0b3f47',
|
|
60
|
+
850: '#042f35',
|
|
61
|
+
900: '#011f24',
|
|
62
|
+
950: '#001114',
|
|
63
|
+
}
|
|
64
|
+
export const nswBlue = {
|
|
65
|
+
50: '#f0fbff',
|
|
66
|
+
100: '#e4f6ff',
|
|
67
|
+
150: '#d7f2fe',
|
|
68
|
+
200: '#cbedfd',
|
|
69
|
+
250: '#bceafe',
|
|
70
|
+
300: '#ade7ff',
|
|
71
|
+
350: '#9de3ff',
|
|
72
|
+
400: '#8ce0ff',
|
|
73
|
+
450: '#5ac9ff',
|
|
74
|
+
500: '#26aeff',
|
|
75
|
+
550: '#008fff',
|
|
76
|
+
600: '#146cfd',
|
|
77
|
+
650: '#0c5ad4',
|
|
78
|
+
700: '#0548ad',
|
|
79
|
+
750: '#023688',
|
|
80
|
+
800: '#002664',
|
|
81
|
+
850: '#001a4d',
|
|
82
|
+
900: '#001037',
|
|
83
|
+
950: '#000622',
|
|
84
|
+
}
|
|
85
|
+
export const nswPurple = {
|
|
86
|
+
50: '#f9f7ff',
|
|
87
|
+
100: '#f2f0ff',
|
|
88
|
+
150: '#ece8fe',
|
|
89
|
+
200: '#e6e1fd',
|
|
90
|
+
250: '#e0d9fe',
|
|
91
|
+
300: '#dad0fe',
|
|
92
|
+
350: '#d4c8ff',
|
|
93
|
+
400: '#cebfff',
|
|
94
|
+
450: '#baa6fc',
|
|
95
|
+
500: '#a68df9',
|
|
96
|
+
550: '#9372f5',
|
|
97
|
+
600: '#8055f1',
|
|
98
|
+
650: '#7243cf',
|
|
99
|
+
700: '#6432ae',
|
|
100
|
+
750: '#54218e',
|
|
101
|
+
800: '#441170',
|
|
102
|
+
850: '#330856',
|
|
103
|
+
900: '#23023e',
|
|
104
|
+
950: '#130027',
|
|
105
|
+
}
|
|
106
|
+
export const nswFuchsia = {
|
|
107
|
+
50: '#fff6fd',
|
|
108
|
+
100: '#ffeef9',
|
|
109
|
+
150: '#fee6f5',
|
|
110
|
+
200: '#fddef2',
|
|
111
|
+
250: '#fbd4ef',
|
|
112
|
+
300: '#f9c9eb',
|
|
113
|
+
350: '#f7bfe9',
|
|
114
|
+
400: '#f4b5e6',
|
|
115
|
+
450: '#ef96da',
|
|
116
|
+
500: '#e975cc',
|
|
117
|
+
550: '#e150be',
|
|
118
|
+
600: '#d912ae',
|
|
119
|
+
650: '#bb0c94',
|
|
120
|
+
700: '#9d067b',
|
|
121
|
+
750: '#810264',
|
|
122
|
+
800: '#65004d',
|
|
123
|
+
850: '#4d003a',
|
|
124
|
+
900: '#370028',
|
|
125
|
+
950: '#220017',
|
|
126
|
+
}
|
|
127
|
+
export const nswRed = {
|
|
128
|
+
50: '#fff8f9',
|
|
129
|
+
100: '#fff2f4',
|
|
130
|
+
150: '#ffecef',
|
|
131
|
+
200: '#ffe6ea',
|
|
132
|
+
250: '#ffdbe0',
|
|
133
|
+
300: '#ffcfd6',
|
|
134
|
+
350: '#ffc4cc',
|
|
135
|
+
400: '#ffb8c1',
|
|
136
|
+
450: '#f897a2',
|
|
137
|
+
500: '#ef7581',
|
|
138
|
+
550: '#e44f5f',
|
|
139
|
+
600: '#d7153a',
|
|
140
|
+
650: '#b90e32',
|
|
141
|
+
700: '#9b072a',
|
|
142
|
+
750: '#7e0322',
|
|
143
|
+
800: '#630019',
|
|
144
|
+
850: '#4c0010',
|
|
145
|
+
900: '#360008',
|
|
146
|
+
950: '#210003',
|
|
147
|
+
}
|
|
148
|
+
export const nswOrange = {
|
|
149
|
+
50: '#fffaf6',
|
|
150
|
+
100: '#fff6ee',
|
|
151
|
+
150: '#fef1e7',
|
|
152
|
+
200: '#fdeddf',
|
|
153
|
+
250: '#fee5ce',
|
|
154
|
+
300: '#ffddbd',
|
|
155
|
+
350: '#ffd6ab',
|
|
156
|
+
400: '#ffce99',
|
|
157
|
+
450: '#fdb678',
|
|
158
|
+
500: '#fb9d58',
|
|
159
|
+
550: '#f78139',
|
|
160
|
+
600: '#f3631b',
|
|
161
|
+
650: '#db5115',
|
|
162
|
+
700: '#c33f0e',
|
|
163
|
+
750: '#ab2e06',
|
|
164
|
+
800: '#941b00',
|
|
165
|
+
850: '#730f00',
|
|
166
|
+
900: '#530400',
|
|
167
|
+
950: '#350000',
|
|
168
|
+
}
|
|
169
|
+
export const nswYellow = {
|
|
170
|
+
50: '#fffcf0',
|
|
171
|
+
100: '#fffae5',
|
|
172
|
+
150: '#fff7da',
|
|
173
|
+
200: '#fff4cf',
|
|
174
|
+
250: '#fff1c2',
|
|
175
|
+
300: '#feeeb5',
|
|
176
|
+
350: '#feeaa8',
|
|
177
|
+
400: '#fde79a',
|
|
178
|
+
450: '#fbda80',
|
|
179
|
+
500: '#facd63',
|
|
180
|
+
550: '#fabe42',
|
|
181
|
+
600: '#faaf05',
|
|
182
|
+
650: '#d49402',
|
|
183
|
+
700: '#af7a01',
|
|
184
|
+
750: '#8b6000',
|
|
185
|
+
800: '#694800',
|
|
186
|
+
850: '#503500',
|
|
187
|
+
900: '#392400',
|
|
188
|
+
950: '#221300',
|
|
189
|
+
}
|
|
190
|
+
export const nswBrown = {
|
|
191
|
+
50: '#fbf8f4',
|
|
192
|
+
100: '#f6f1ea',
|
|
193
|
+
150: '#f2eae1',
|
|
194
|
+
200: '#ede3d7',
|
|
195
|
+
250: '#ecdece',
|
|
196
|
+
300: '#eadac6',
|
|
197
|
+
350: '#e9d5bd',
|
|
198
|
+
400: '#e8d0b5',
|
|
199
|
+
450: '#dbbf9f',
|
|
200
|
+
500: '#cfae89',
|
|
201
|
+
550: '#c29d73',
|
|
202
|
+
600: '#b68d5d',
|
|
203
|
+
650: '#9c764b',
|
|
204
|
+
700: '#82603a',
|
|
205
|
+
750: '#6a4b29',
|
|
206
|
+
800: '#523719',
|
|
207
|
+
850: '#3e280f',
|
|
208
|
+
900: '#2b1a07',
|
|
209
|
+
950: '#190d02',
|
|
210
|
+
}
|