@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.
- package/dist/js/tailwind-colors-css-vars.js +14 -3
- package/package.json +7 -7
- package/dist/android/colors.xml +0 -1229
- package/dist/css/colors-hex-brand-synbee.css +0 -82
- package/dist/css/colors-hex-brand.css +0 -115
- package/dist/css/colors-hex-default.css +0 -574
- package/dist/css/colors-hex-label.css +0 -346
- package/dist/css/colors-hex-status.css +0 -148
- package/dist/css/colors-hex-synbee-v1.css +0 -1024
- package/dist/css/colors-hex-tones.css +0 -181
- package/dist/css/colors-hex.css +0 -1846
- package/dist/css/colors-rgb-brand-synbee.css +0 -82
- package/dist/css/colors-rgb-brand.css +0 -115
- package/dist/css/colors-rgb-default.css +0 -574
- package/dist/css/colors-rgb-label.css +0 -346
- package/dist/css/colors-rgb-status.css +0 -148
- package/dist/css/colors-rgb-synbee-v1.css +0 -1024
- package/dist/css/colors-rgb-tones.css +0 -181
- package/dist/css/colors-rgb.css +0 -1846
- package/dist/flutter/colors-brand-synbee.dart +0 -64
- package/dist/flutter/colors-brand.dart +0 -86
- package/dist/flutter/colors-default.dart +0 -392
- package/dist/flutter/colors-label.dart +0 -240
- package/dist/flutter/colors-status.dart +0 -108
- package/dist/flutter/colors-synbee-v1.dart +0 -692
- package/dist/flutter/colors-tones.dart +0 -130
- package/dist/flutter/colors.dart +0 -1240
- package/dist/flutter/fonts.dart +0 -138
- package/dist/ios/StyleDictionaryColor.h +0 -1238
- package/dist/ios/StyleDictionaryColor.m +0 -1250
- package/dist/ios-swift/StyleDictionary.swift +0 -1233
- package/dist/ios-swift/StyleDictionaryColor.swift +0 -1233
- package/dist/js/colors-css-vars.js +0 -704
- package/dist/js/ease.js +0 -29
- package/dist/js/gap.js +0 -12
- package/dist/js/media.js +0 -29
- package/dist/js/tailwind-font-family.js +0 -40
- package/dist/js/tailwind-font-size.js +0 -73
- package/dist/json/coolors.json +0 -1391
- package/dist/json/css/ease.json +0 -26
- package/dist/json/css/font-family.json +0 -30
- package/dist/json/css/gap.json +0 -9
- package/dist/json/css/media.json +0 -14
- package/dist/scss/ease.scss +0 -26
- package/dist/scss/font-family.scss +0 -6
- package/dist/scss/gap.scss +0 -9
- package/dist/scss/media.scss +0 -26
- package/dist/scss/variables.scss +0 -2709
- package/dist/style-dictionary/properties/color/generated/base.json +0 -3854
- package/dist/style-dictionary/properties/color/generated/brand-synbee.json +0 -150
- package/dist/style-dictionary/properties/color/generated/brand.json +0 -222
- package/dist/style-dictionary/properties/color/generated/default.json +0 -1164
- package/dist/style-dictionary/properties/color/generated/label.json +0 -726
- package/dist/style-dictionary/properties/color/generated/status.json +0 -294
- package/dist/style-dictionary/properties/color/generated/synbee-v1.json +0 -2124
- package/dist/style-dictionary/properties/color/generated/tones.json +0 -366
- package/dist/style-dictionary/properties/color/themes.json +0 -32
- 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,
|
|
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 `
|
|
9
|
+
return `rgb(var(--${cssVar}) / ${opacityValue})`
|
|
10
10
|
}
|
|
11
11
|
if (opacityVariable !== undefined) {
|
|
12
|
-
return `
|
|
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": "
|
|
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": "
|
|
34
|
-
"hex-rgb": "
|
|
33
|
+
"handlebars": "4.7.8",
|
|
34
|
+
"hex-rgb": "4.3.0",
|
|
35
35
|
"js-beautify": "1.14.3",
|
|
36
|
-
"json-to-scss": "
|
|
37
|
-
"run-for-every-file": "
|
|
38
|
-
"style-dictionary": "
|
|
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
|
+
}
|