@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,72 @@
|
|
|
1
|
+
export const primary = {
|
|
2
|
+
lightest: 'rgb(12, 90, 212)',
|
|
3
|
+
lighter: 'rgb(5, 72, 173)',
|
|
4
|
+
light: 'rgb(2, 54, 136)',
|
|
5
|
+
DEFAULT: 'rgb(0, 38, 100)',
|
|
6
|
+
dark: 'rgb(0, 26, 77)',
|
|
7
|
+
darker: 'rgb(0, 16, 55)',
|
|
8
|
+
darkest: 'rgb(0, 6, 34)',
|
|
9
|
+
}
|
|
10
|
+
export const secondary = {
|
|
11
|
+
lightest: 'rgb(240, 251, 255)',
|
|
12
|
+
lighter: 'rgb(228, 246, 255)',
|
|
13
|
+
light: 'rgb(215, 242, 254)',
|
|
14
|
+
DEFAULT: 'rgb(203, 237, 253)',
|
|
15
|
+
dark: 'rgb(188, 234, 254)',
|
|
16
|
+
darker: 'rgb(173, 231, 255)',
|
|
17
|
+
darkest: 'rgb(157, 227, 255)',
|
|
18
|
+
}
|
|
19
|
+
export const tertiary = {
|
|
20
|
+
lightest: 'rgb(90, 201, 255)',
|
|
21
|
+
lighter: 'rgb(38, 174, 255)',
|
|
22
|
+
light: 'rgb(0, 143, 255)',
|
|
23
|
+
DEFAULT: 'rgb(20, 108, 253)',
|
|
24
|
+
dark: 'rgb(12, 90, 212)',
|
|
25
|
+
darker: 'rgb(5, 72, 173)',
|
|
26
|
+
darkest: 'rgb(2, 54, 136)',
|
|
27
|
+
}
|
|
28
|
+
export const accent = {
|
|
29
|
+
lightest: 'rgb(248, 151, 162)',
|
|
30
|
+
lighter: 'rgb(239, 117, 129)',
|
|
31
|
+
light: 'rgb(228, 79, 95)',
|
|
32
|
+
DEFAULT: 'rgb(215, 21, 58)',
|
|
33
|
+
dark: 'rgb(185, 14, 50)',
|
|
34
|
+
darker: 'rgb(155, 7, 42)',
|
|
35
|
+
darkest: 'rgb(126, 3, 34)',
|
|
36
|
+
}
|
|
37
|
+
export const success = {
|
|
38
|
+
lightest: 'rgb(196, 229, 192)',
|
|
39
|
+
lighter: 'rgb(143, 199, 139)',
|
|
40
|
+
light: 'rgb(88, 168, 84)',
|
|
41
|
+
DEFAULT: 'rgb(0, 138, 7)',
|
|
42
|
+
dark: 'rgb(0, 106, 0)',
|
|
43
|
+
darker: 'rgb(0, 76, 0)',
|
|
44
|
+
darkest: 'rgb(0, 47, 0)',
|
|
45
|
+
}
|
|
46
|
+
export const warning = {
|
|
47
|
+
lightest: 'rgb(253, 210, 192)',
|
|
48
|
+
lighter: 'rgb(238, 168, 138)',
|
|
49
|
+
light: 'rgb(221, 125, 83)',
|
|
50
|
+
DEFAULT: 'rgb(201, 80, 0)',
|
|
51
|
+
dark: 'rgb(157, 58, 0)',
|
|
52
|
+
darker: 'rgb(114, 38, 0)',
|
|
53
|
+
darkest: 'rgb(75, 18, 0)',
|
|
54
|
+
}
|
|
55
|
+
export const error = {
|
|
56
|
+
lightest: 'rgb(253, 198, 198)',
|
|
57
|
+
lighter: 'rgb(234, 146, 149)',
|
|
58
|
+
light: 'rgb(211, 93, 101)',
|
|
59
|
+
DEFAULT: 'rgb(184, 18, 55)',
|
|
60
|
+
dark: 'rgb(143, 3, 39)',
|
|
61
|
+
darker: 'rgb(105, 0, 24)',
|
|
62
|
+
darkest: 'rgb(68, 0, 10)',
|
|
63
|
+
}
|
|
64
|
+
export const info = {
|
|
65
|
+
lightest: 'rgb(172, 187, 213)',
|
|
66
|
+
lighter: 'rgb(129, 152, 194)',
|
|
67
|
+
light: 'rgb(87, 117, 174)',
|
|
68
|
+
DEFAULT: 'rgb(46, 82, 153)',
|
|
69
|
+
dark: 'rgb(32, 61, 119)',
|
|
70
|
+
darker: 'rgb(19, 41, 86)',
|
|
71
|
+
darkest: 'rgb(7, 23, 56)',
|
|
72
|
+
}
|
package/src/types.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare module '*.css' {
|
|
2
|
+
const content: string;
|
|
3
|
+
export default content;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
declare module '*.scss' {
|
|
7
|
+
const content: string;
|
|
8
|
+
export default content;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare module '*.less' {
|
|
12
|
+
const content: string;
|
|
13
|
+
export default content;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare module '*.js' {
|
|
17
|
+
const content: { [key: string]: any };
|
|
18
|
+
export default content;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare module '*.ts' {
|
|
22
|
+
const content: { [key: string]: any };
|
|
23
|
+
export default content;
|
|
24
|
+
}
|
|
25
|
+
|