@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.
Files changed (119) hide show
  1. package/dist/css/colors/global/hex.css +192 -0
  2. package/dist/css/colors/global/hsl.css +192 -0
  3. package/dist/css/colors/global/oklch.css +192 -0
  4. package/dist/css/colors/global/rgb.css +192 -0
  5. package/dist/css/colors/themes/masterbrand/hex.css +2 -0
  6. package/dist/css/colors/themes/masterbrand/hsl.css +2 -0
  7. package/dist/css/colors/themes/masterbrand/oklch.css +2 -0
  8. package/dist/css/colors/themes/masterbrand/rgb.css +2 -0
  9. package/dist/index.js +1873 -1247
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +1873 -1247
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/js/colors/global/hex.js +210 -0
  14. package/dist/js/colors/global/hsl.js +210 -0
  15. package/dist/js/colors/global/oklch.js +210 -0
  16. package/dist/js/colors/global/rgb.js +210 -0
  17. package/dist/js/colors/themes/masterbrand/hex.js +72 -0
  18. package/dist/js/colors/themes/masterbrand/hsl.js +72 -0
  19. package/dist/js/colors/themes/masterbrand/oklch.js +72 -0
  20. package/dist/js/colors/themes/masterbrand/rgb.js +72 -0
  21. package/dist/json/colors/global/hex.json +1 -0
  22. package/dist/json/colors/global/hsl.json +1 -0
  23. package/dist/json/colors/global/oklch.json +1 -0
  24. package/dist/json/colors/global/rgb.json +1 -0
  25. package/dist/json/colors/themes/masterbrand/hex.json +1 -0
  26. package/dist/json/colors/themes/masterbrand/hsl.json +1 -0
  27. package/dist/json/colors/themes/masterbrand/oklch.json +1 -0
  28. package/dist/json/colors/themes/masterbrand/rgb.json +1 -0
  29. package/dist/less/colors/global/hex.less +0 -0
  30. package/dist/less/colors/global/hsl.less +0 -0
  31. package/dist/less/colors/global/oklch.less +0 -0
  32. package/dist/less/colors/global/rgb.less +0 -0
  33. package/dist/less/colors/themes/masterbrand/hex.less +0 -0
  34. package/dist/less/colors/themes/masterbrand/hsl.less +0 -0
  35. package/dist/less/colors/themes/masterbrand/oklch.less +0 -0
  36. package/dist/less/colors/themes/masterbrand/rgb.less +0 -0
  37. package/dist/scss/colors/global/hex.scss +190 -0
  38. package/dist/scss/colors/global/hsl.scss +190 -0
  39. package/dist/scss/colors/global/oklch.scss +190 -0
  40. package/dist/scss/colors/global/rgb.scss +190 -0
  41. package/dist/scss/colors/themes/masterbrand/hex.scss +56 -0
  42. package/dist/scss/colors/themes/masterbrand/hsl.scss +56 -0
  43. package/dist/scss/colors/themes/masterbrand/oklch.scss +56 -0
  44. package/dist/scss/colors/themes/masterbrand/rgb.scss +56 -0
  45. package/dist/tailwind/colors/global/hex.css +192 -0
  46. package/dist/tailwind/colors/global/hsl.css +192 -0
  47. package/dist/tailwind/colors/global/oklch.css +192 -0
  48. package/dist/tailwind/colors/global/rgb.css +192 -0
  49. package/dist/tailwind/colors/themes/masterbrand/hex.css +58 -0
  50. package/dist/tailwind/colors/themes/masterbrand/hsl.css +58 -0
  51. package/dist/tailwind/colors/themes/masterbrand/oklch.css +58 -0
  52. package/dist/tailwind/colors/themes/masterbrand/rgb.css +58 -0
  53. package/dist/ts/colors/global/hex.ts +210 -0
  54. package/dist/ts/colors/global/hsl.ts +210 -0
  55. package/dist/ts/colors/global/oklch.ts +210 -0
  56. package/dist/ts/colors/global/rgb.ts +210 -0
  57. package/dist/ts/colors/themes/masterbrand/hex.ts +72 -0
  58. package/dist/ts/colors/themes/masterbrand/hsl.ts +72 -0
  59. package/dist/ts/colors/themes/masterbrand/oklch.ts +72 -0
  60. package/dist/ts/colors/themes/masterbrand/rgb.ts +72 -0
  61. package/package.json +10 -4
  62. package/src/css/colors/global/hex.css +192 -0
  63. package/src/css/colors/global/hsl.css +192 -0
  64. package/src/css/colors/global/oklch.css +192 -0
  65. package/src/css/colors/global/rgb.css +192 -0
  66. package/src/css/colors/themes/masterbrand/hex.css +2 -0
  67. package/src/css/colors/themes/masterbrand/hsl.css +2 -0
  68. package/src/css/colors/themes/masterbrand/oklch.css +2 -0
  69. package/src/css/colors/themes/masterbrand/rgb.css +2 -0
  70. package/src/index.ts +295 -0
  71. package/src/js/colors/global/hex.js +210 -0
  72. package/src/js/colors/global/hsl.js +210 -0
  73. package/src/js/colors/global/oklch.js +210 -0
  74. package/src/js/colors/global/rgb.js +210 -0
  75. package/src/js/colors/themes/masterbrand/hex.js +72 -0
  76. package/src/js/colors/themes/masterbrand/hsl.js +72 -0
  77. package/src/js/colors/themes/masterbrand/oklch.js +72 -0
  78. package/src/js/colors/themes/masterbrand/rgb.js +72 -0
  79. package/src/json/colors/global/hex.json +1 -0
  80. package/src/json/colors/global/hsl.json +1 -0
  81. package/src/json/colors/global/oklch.json +1 -0
  82. package/src/json/colors/global/rgb.json +1 -0
  83. package/src/json/colors/themes/masterbrand/hex.json +1 -0
  84. package/src/json/colors/themes/masterbrand/hsl.json +1 -0
  85. package/src/json/colors/themes/masterbrand/oklch.json +1 -0
  86. package/src/json/colors/themes/masterbrand/rgb.json +1 -0
  87. package/src/less/colors/global/hex.less +0 -0
  88. package/src/less/colors/global/hsl.less +0 -0
  89. package/src/less/colors/global/oklch.less +0 -0
  90. package/src/less/colors/global/rgb.less +0 -0
  91. package/src/less/colors/themes/masterbrand/hex.less +0 -0
  92. package/src/less/colors/themes/masterbrand/hsl.less +0 -0
  93. package/src/less/colors/themes/masterbrand/oklch.less +0 -0
  94. package/src/less/colors/themes/masterbrand/rgb.less +0 -0
  95. package/src/scss/colors/global/hex.scss +190 -0
  96. package/src/scss/colors/global/hsl.scss +190 -0
  97. package/src/scss/colors/global/oklch.scss +190 -0
  98. package/src/scss/colors/global/rgb.scss +190 -0
  99. package/src/scss/colors/themes/masterbrand/hex.scss +56 -0
  100. package/src/scss/colors/themes/masterbrand/hsl.scss +56 -0
  101. package/src/scss/colors/themes/masterbrand/oklch.scss +56 -0
  102. package/src/scss/colors/themes/masterbrand/rgb.scss +56 -0
  103. package/src/tailwind/colors/global/hex.css +192 -0
  104. package/src/tailwind/colors/global/hsl.css +192 -0
  105. package/src/tailwind/colors/global/oklch.css +192 -0
  106. package/src/tailwind/colors/global/rgb.css +192 -0
  107. package/src/tailwind/colors/themes/masterbrand/hex.css +58 -0
  108. package/src/tailwind/colors/themes/masterbrand/hsl.css +58 -0
  109. package/src/tailwind/colors/themes/masterbrand/oklch.css +58 -0
  110. package/src/tailwind/colors/themes/masterbrand/rgb.css +58 -0
  111. package/src/ts/colors/global/hex.ts +210 -0
  112. package/src/ts/colors/global/hsl.ts +210 -0
  113. package/src/ts/colors/global/oklch.ts +210 -0
  114. package/src/ts/colors/global/rgb.ts +210 -0
  115. package/src/ts/colors/themes/masterbrand/hex.ts +72 -0
  116. package/src/ts/colors/themes/masterbrand/hsl.ts +72 -0
  117. package/src/ts/colors/themes/masterbrand/oklch.ts +72 -0
  118. package/src/ts/colors/themes/masterbrand/rgb.ts +72 -0
  119. 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
+