@maggioli-design-system/design-tokens 10.6.2 → 11.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 (58) hide show
  1. package/dist/js/tailwind-colors-css-vars.js +14 -3
  2. package/package.json +7 -7
  3. package/dist/android/colors.xml +0 -1229
  4. package/dist/css/colors-hex-brand-synbee.css +0 -82
  5. package/dist/css/colors-hex-brand.css +0 -115
  6. package/dist/css/colors-hex-default.css +0 -574
  7. package/dist/css/colors-hex-label.css +0 -346
  8. package/dist/css/colors-hex-status.css +0 -148
  9. package/dist/css/colors-hex-synbee-v1.css +0 -1024
  10. package/dist/css/colors-hex-tones.css +0 -181
  11. package/dist/css/colors-hex.css +0 -1846
  12. package/dist/css/colors-rgb-brand-synbee.css +0 -82
  13. package/dist/css/colors-rgb-brand.css +0 -115
  14. package/dist/css/colors-rgb-default.css +0 -574
  15. package/dist/css/colors-rgb-label.css +0 -346
  16. package/dist/css/colors-rgb-status.css +0 -148
  17. package/dist/css/colors-rgb-synbee-v1.css +0 -1024
  18. package/dist/css/colors-rgb-tones.css +0 -181
  19. package/dist/css/colors-rgb.css +0 -1846
  20. package/dist/flutter/colors-brand-synbee.dart +0 -64
  21. package/dist/flutter/colors-brand.dart +0 -86
  22. package/dist/flutter/colors-default.dart +0 -392
  23. package/dist/flutter/colors-label.dart +0 -240
  24. package/dist/flutter/colors-status.dart +0 -108
  25. package/dist/flutter/colors-synbee-v1.dart +0 -692
  26. package/dist/flutter/colors-tones.dart +0 -130
  27. package/dist/flutter/colors.dart +0 -1240
  28. package/dist/flutter/fonts.dart +0 -138
  29. package/dist/ios/StyleDictionaryColor.h +0 -1238
  30. package/dist/ios/StyleDictionaryColor.m +0 -1250
  31. package/dist/ios-swift/StyleDictionary.swift +0 -1233
  32. package/dist/ios-swift/StyleDictionaryColor.swift +0 -1233
  33. package/dist/js/colors-css-vars.js +0 -704
  34. package/dist/js/ease.js +0 -29
  35. package/dist/js/gap.js +0 -12
  36. package/dist/js/media.js +0 -29
  37. package/dist/js/tailwind-font-family.js +0 -40
  38. package/dist/js/tailwind-font-size.js +0 -73
  39. package/dist/json/coolors.json +0 -1391
  40. package/dist/json/css/ease.json +0 -26
  41. package/dist/json/css/font-family.json +0 -30
  42. package/dist/json/css/gap.json +0 -9
  43. package/dist/json/css/media.json +0 -14
  44. package/dist/scss/ease.scss +0 -26
  45. package/dist/scss/font-family.scss +0 -6
  46. package/dist/scss/gap.scss +0 -9
  47. package/dist/scss/media.scss +0 -26
  48. package/dist/scss/variables.scss +0 -2709
  49. package/dist/style-dictionary/properties/color/generated/base.json +0 -3854
  50. package/dist/style-dictionary/properties/color/generated/brand-synbee.json +0 -150
  51. package/dist/style-dictionary/properties/color/generated/brand.json +0 -222
  52. package/dist/style-dictionary/properties/color/generated/default.json +0 -1164
  53. package/dist/style-dictionary/properties/color/generated/label.json +0 -726
  54. package/dist/style-dictionary/properties/color/generated/status.json +0 -294
  55. package/dist/style-dictionary/properties/color/generated/synbee-v1.json +0 -2124
  56. package/dist/style-dictionary/properties/color/generated/tones.json +0 -366
  57. package/dist/style-dictionary/properties/color/themes.json +0 -32
  58. package/dist/style-dictionary/properties/font/default.json +0 -185
@@ -1,15 +1,15 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Mon, 05 Jun 2023 13:10:10 GMT
4
+ Generated at Mon, 23 Oct 2023 12:31:05 GMT
5
5
  */
6
6
 
7
7
  const getColor = (cssVar, { opacityVariable, opacityValue }) => {
8
8
  if (opacityValue !== undefined) {
9
- return `rgba(var(--${cssVar}), ${opacityValue})`
9
+ return `rgb(var(--${cssVar}) / ${opacityValue})`
10
10
  }
11
11
  if (opacityVariable !== undefined) {
12
- return `rgba(var(--${cssVar}), var(${opacityVariable}, 1))`
12
+ return `rgb(var(--${cssVar}) / var(${opacityVariable}, 1))`
13
13
  }
14
14
  return `rgb(var(--${cssVar}))`
15
15
  }
@@ -103,6 +103,17 @@ const palette = {
103
103
  'brand-mindy-09': params => getColor('brand-mindy-09', params),
104
104
  'brand-mindy-10': params => getColor('brand-mindy-10', params),
105
105
  'brand-mindy': params => getColor('brand-mindy', params),
106
+ 'brand-rnd-01': params => getColor('brand-rnd-01', params),
107
+ 'brand-rnd-02': params => getColor('brand-rnd-02', params),
108
+ 'brand-rnd-03': params => getColor('brand-rnd-03', params),
109
+ 'brand-rnd-04': params => getColor('brand-rnd-04', params),
110
+ 'brand-rnd-05': params => getColor('brand-rnd-05', params),
111
+ 'brand-rnd-06': params => getColor('brand-rnd-06', params),
112
+ 'brand-rnd-07': params => getColor('brand-rnd-07', params),
113
+ 'brand-rnd-08': params => getColor('brand-rnd-08', params),
114
+ 'brand-rnd-09': params => getColor('brand-rnd-09', params),
115
+ 'brand-rnd-10': params => getColor('brand-rnd-10', params),
116
+ 'brand-rnd': params => getColor('brand-rnd', params),
106
117
  'brand-synbee-eolo-01': params => getColor('brand-synbee-eolo-01', params),
107
118
  'brand-synbee-eolo-02': params => getColor('brand-synbee-eolo-02', params),
108
119
  'brand-synbee-eolo-03': params => getColor('brand-synbee-eolo-03', params),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/design-tokens",
3
- "version": "10.6.2",
3
+ "version": "11.0.0",
4
4
  "description": "This is the Design Token library of Maggioli Design System, here you'll find all the visual data used around the libraries.",
5
5
  "author": "Vittorio Vittori",
6
6
  "contributors": [
@@ -30,12 +30,12 @@
30
30
  ],
31
31
  "devDependencies": {
32
32
  "@adobe/leonardo-contrast-colors": "1.0.0-alpha.13",
33
- "handlebars": "^4.7.7",
34
- "hex-rgb": "^4.3.0",
33
+ "handlebars": "4.7.8",
34
+ "hex-rgb": "4.3.0",
35
35
  "js-beautify": "1.14.3",
36
- "json-to-scss": "^1.6.2",
37
- "run-for-every-file": "^1.1.0",
38
- "style-dictionary": "^3.7.0"
36
+ "json-to-scss": "1.6.2",
37
+ "run-for-every-file": "1.1.0",
38
+ "style-dictionary": "3.8.0"
39
39
  },
40
40
  "repository": {
41
41
  "type": "git",
@@ -49,4 +49,4 @@
49
49
  "platform-agnostic",
50
50
  "style-dictionary"
51
51
  ]
52
- }
52
+ }