@maggioli-design-system/design-tokens 10.7.0 → 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 +3 -3
- package/package.json +7 -7
- package/dist/android/colors.xml +0 -1251
- package/dist/css/colors-hex-brand-synbee.css +0 -82
- package/dist/css/colors-hex-brand.css +0 -148
- 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 -1879
- package/dist/css/colors-rgb-brand-synbee.css +0 -82
- package/dist/css/colors-rgb-brand.css +0 -148
- 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 -1879
- package/dist/flutter/colors-brand-synbee.dart +0 -64
- package/dist/flutter/colors-brand.dart +0 -108
- 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 -1262
- package/dist/flutter/fonts.dart +0 -138
- package/dist/ios/StyleDictionaryColor.h +0 -1260
- package/dist/ios/StyleDictionaryColor.m +0 -1272
- package/dist/ios-swift/StyleDictionary.swift +0 -1255
- package/dist/ios-swift/StyleDictionaryColor.swift +0 -1255
- package/dist/js/colors-css-vars.js +0 -717
- 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 -1417
- 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 -2759
- package/dist/style-dictionary/properties/color/generated/base.json +0 -3926
- package/dist/style-dictionary/properties/color/generated/brand-synbee.json +0 -150
- package/dist/style-dictionary/properties/color/generated/brand.json +0 -294
- 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
|
|
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
|
}
|
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
|
+
}
|