@nswds/tokens 0.0.2 → 2.0.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 (72) 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 +3 -0
  6. package/dist/css/colors/themes/masterbrand/hsl.css +3 -0
  7. package/dist/css/colors/themes/masterbrand/oklch.css +3 -0
  8. package/dist/css/colors/themes/masterbrand/rgb.css +3 -0
  9. package/dist/js/colors/global/hex.js +210 -0
  10. package/dist/js/colors/global/hsl.js +210 -0
  11. package/dist/js/colors/global/oklch.js +210 -0
  12. package/dist/js/colors/global/rgb.js +210 -0
  13. package/dist/js/colors/themes/masterbrand/hex.js +72 -0
  14. package/dist/js/colors/themes/masterbrand/hsl.js +72 -0
  15. package/dist/js/colors/themes/masterbrand/oklch.js +72 -0
  16. package/dist/js/colors/themes/masterbrand/rgb.js +72 -0
  17. package/dist/json/colors/global/hex.json +0 -0
  18. package/dist/json/colors/global/hsl.json +0 -0
  19. package/dist/json/colors/global/oklch.json +0 -0
  20. package/dist/json/colors/global/rgb.json +0 -0
  21. package/dist/json/colors/themes/masterbrand/hex.json +0 -0
  22. package/dist/json/colors/themes/masterbrand/hsl.json +0 -0
  23. package/dist/json/colors/themes/masterbrand/oklch.json +0 -0
  24. package/dist/json/colors/themes/masterbrand/rgb.json +0 -0
  25. package/dist/less/colors/global/hex.less +0 -0
  26. package/dist/less/colors/global/hsl.less +0 -0
  27. package/dist/less/colors/global/oklch.less +0 -0
  28. package/dist/less/colors/global/rgb.less +0 -0
  29. package/dist/less/colors/themes/masterbrand/hex.less +0 -0
  30. package/dist/less/colors/themes/masterbrand/hsl.less +0 -0
  31. package/dist/less/colors/themes/masterbrand/oklch.less +0 -0
  32. package/dist/less/colors/themes/masterbrand/rgb.less +0 -0
  33. package/dist/scss/colors/global/hex.scss +190 -0
  34. package/dist/scss/colors/global/hsl.scss +190 -0
  35. package/dist/scss/colors/global/oklch.scss +190 -0
  36. package/dist/scss/colors/global/rgb.scss +190 -0
  37. package/dist/scss/colors/themes/masterbrand/hex.scss +56 -0
  38. package/dist/scss/colors/themes/masterbrand/hsl.scss +56 -0
  39. package/dist/scss/colors/themes/masterbrand/oklch.scss +56 -0
  40. package/dist/scss/colors/themes/masterbrand/rgb.scss +56 -0
  41. package/dist/tailwind/colors/global/hex.css +192 -0
  42. package/dist/tailwind/colors/global/hsl.css +192 -0
  43. package/dist/tailwind/colors/global/oklch.css +192 -0
  44. package/dist/tailwind/colors/global/rgb.css +192 -0
  45. package/dist/tailwind/colors/themes/masterbrand/hex.css +58 -0
  46. package/dist/tailwind/colors/themes/masterbrand/hsl.css +58 -0
  47. package/dist/tailwind/colors/themes/masterbrand/oklch.css +58 -0
  48. package/dist/tailwind/colors/themes/masterbrand/rgb.css +58 -0
  49. package/dist/ts/colors/global/hex.ts +210 -0
  50. package/dist/ts/colors/global/hsl.ts +210 -0
  51. package/dist/ts/colors/global/oklch.ts +210 -0
  52. package/dist/ts/colors/global/rgb.ts +210 -0
  53. package/dist/ts/colors/themes/masterbrand/hex.ts +72 -0
  54. package/dist/ts/colors/themes/masterbrand/hsl.ts +72 -0
  55. package/dist/ts/colors/themes/masterbrand/oklch.ts +72 -0
  56. package/dist/ts/colors/themes/masterbrand/rgb.ts +72 -0
  57. package/package.json +1 -1
  58. package/tokens/global/color/hsl.json +2302 -0
  59. package/tokens/global/color/rgb.json +2302 -0
  60. package/tokens/themes/masterbrand/color/hex.json +242 -0
  61. package/tokens/themes/masterbrand/color/hsl.json +690 -0
  62. package/tokens/themes/masterbrand/color/oklch.json +690 -0
  63. package/tokens/themes/masterbrand/color/rgb.json +690 -0
  64. package/dist/css/colors/oklch/theme.css +0 -274
  65. package/dist/ts/colors/hex/theme.ts +0 -284
  66. package/dist/ts/colors/hsl/theme.ts +0 -284
  67. package/dist/ts/colors/oklch/theme.ts +0 -284
  68. package/dist/ts/colors/rgb/theme.ts +0 -284
  69. package/tokens/theme/masterbrand/color/hex/hex.json +0 -226
  70. package/tokens/theme/masterbrand/color/oklch/oklch.json +0 -674
  71. /package/tokens/{globals/color/masterbrand/hex/color.json → global/color/hex.json} +0 -0
  72. /package/tokens/{globals/color/masterbrand/oklch/color.json → global/color/oklch.json} +0 -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nswds/tokens",
3
- "version": "0.0.2",
3
+ "version": "2.0.0",
4
4
  "description": "NSW Design System Application Kit Design Tokens",
5
5
  "homepage": "https://github.com/digitalnsw/nswds-tokens#readme",
6
6
  "repository": {