@maggioli-design-system/design-tokens 11.0.1 → 12.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/android/colors.xml +1 -1
- package/dist/css/colors-hex-brand-synbee.css +2 -1
- package/dist/css/colors-hex-brand.css +2 -1
- package/dist/css/colors-hex-default.css +2 -1
- package/dist/css/colors-hex-label.css +2 -1
- package/dist/css/colors-hex-status.css +2 -1
- package/dist/css/colors-hex-synbee-v1.css +2 -1
- package/dist/css/colors-hex-tones.css +2 -1
- package/dist/css/colors-hex.css +2 -1
- package/dist/css/colors-rgb-brand-synbee.css +2 -1
- package/dist/css/colors-rgb-brand.css +2 -1
- package/dist/css/colors-rgb-default.css +2 -1
- package/dist/css/colors-rgb-label.css +2 -1
- package/dist/css/colors-rgb-status.css +2 -1
- package/dist/css/colors-rgb-synbee-v1.css +2 -1
- package/dist/css/colors-rgb-tones.css +2 -1
- package/dist/css/colors-rgb.css +2 -1
- package/dist/flutter/colors-brand-synbee.dart +2 -2
- package/dist/flutter/colors-brand.dart +2 -2
- package/dist/flutter/colors-default.dart +2 -2
- package/dist/flutter/colors-label.dart +2 -2
- package/dist/flutter/colors-status.dart +2 -2
- package/dist/flutter/colors-synbee-v1.dart +2 -2
- package/dist/flutter/colors-tones.dart +2 -2
- package/dist/flutter/colors.dart +2 -2
- package/dist/flutter/fonts.dart +43 -43
- package/dist/ios/StyleDictionaryColor.h +1 -1
- package/dist/ios/StyleDictionaryColor.m +1 -1
- package/dist/ios-swift/StyleDictionary.swift +1 -1
- package/dist/ios-swift/StyleDictionaryColor.swift +1 -1
- package/dist/js/colors-css-vars.js +2 -1
- package/dist/js/tailwind-colors-css-vars.js +2 -1
- package/dist/js/tailwind-font-family.js +6 -1
- package/dist/js/tailwind-font-size.js +2 -1
- package/dist/js/tailwind-leading.js +31 -0
- package/dist/js/tailwind-props.js +376 -0
- package/dist/js/tailwind-screens.js +37 -0
- package/dist/json/coolors.json +1 -1
- package/dist/json/css/layout/grid.json +24 -0
- package/dist/json/css/sizing/default.json +258 -0
- package/dist/json/css/sizing/margin.json +120 -0
- package/dist/json/css/sizing/padding.json +120 -0
- package/dist/json/css/transitions/default.json +12 -0
- package/dist/json/css/transitions/timing-functions.json +78 -0
- package/dist/json/figma-magma-colors.json +1 -0
- package/dist/json/figma-magma-tokens.json +1 -0
- package/dist/scss/variables.scss +1 -1
- package/dist/style-dictionary/tokens/cosmetic/border-radius.json +30 -0
- package/dist/style-dictionary/tokens/cosmetic/border.json +36 -0
- package/dist/style-dictionary/tokens/cosmetic/box-shadow.json +42 -0
- package/dist/style-dictionary/tokens/css/layout/grid.json +24 -0
- package/dist/style-dictionary/tokens/css/sizing/default.json +258 -0
- package/dist/style-dictionary/tokens/css/sizing/margin.json +120 -0
- package/dist/style-dictionary/tokens/css/sizing/padding.json +120 -0
- package/dist/style-dictionary/tokens/css/transitions/default.json +12 -0
- package/dist/style-dictionary/tokens/css/transitions/timing-functions.json +78 -0
- package/dist/style-dictionary/tokens/screen/default.json +54 -0
- package/dist/style-dictionary/tokens/sizing/aspect-ratio.json +24 -0
- package/dist/style-dictionary/tokens/sizing/default.json +117 -0
- package/dist/style-dictionary/tokens/sizing/gap.json +144 -0
- package/dist/style-dictionary/{properties/font → tokens/typography}/default.json +37 -37
- package/dist/style-dictionary/tokens/typography/leading.json +33 -0
- package/dist/style-dictionary/tokens/typography/size.json +33 -0
- package/dist/style-dictionary/tokens/typography/sizing.json +18 -0
- package/package.json +10 -4
- package/dist/js/ease.js +0 -29
- package/dist/js/gap.js +0 -12
- package/dist/js/media.js +0 -29
- 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/style-dictionary/properties/color/base.json +0 -3782
- package/dist/style-dictionary/properties/color/brand-synbee.json +0 -150
- package/dist/style-dictionary/properties/color/brand.json +0 -150
- package/dist/style-dictionary/properties/color/label.json +0 -726
- package/dist/style-dictionary/properties/color/status.json +0 -294
- package/dist/style-dictionary/properties/color/synbee-v1.json +0 -2124
- package/dist/style-dictionary/properties/color/tones.json +0 -366
- /package/dist/style-dictionary/{properties → tokens}/color/generated/base.json +0 -0
- /package/dist/style-dictionary/{properties → tokens}/color/generated/brand-synbee.json +0 -0
- /package/dist/style-dictionary/{properties → tokens}/color/generated/brand.json +0 -0
- /package/dist/style-dictionary/{properties → tokens}/color/generated/default.json +0 -0
- /package/dist/style-dictionary/{properties → tokens}/color/generated/label.json +0 -0
- /package/dist/style-dictionary/{properties → tokens}/color/generated/status.json +0 -0
- /package/dist/style-dictionary/{properties → tokens}/color/generated/synbee-v1.json +0 -0
- /package/dist/style-dictionary/{properties → tokens}/color/generated/tones.json +0 -0
- /package/dist/style-dictionary/{properties → tokens}/color/themes.json +0 -0
package/dist/android/colors.xml
CHANGED
package/dist/css/colors-hex.css
CHANGED
package/dist/css/colors-rgb.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
3
3
|
Generated by Style Dictionary
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated at
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:37 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// ignore_for_file: unused_import
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
3
3
|
Generated by Style Dictionary
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated at
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:37 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// ignore_for_file: unused_import
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
3
3
|
Generated by Style Dictionary
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated at
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:37 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// ignore_for_file: unused_import
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
3
3
|
Generated by Style Dictionary
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated at
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:37 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// ignore_for_file: unused_import
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
3
3
|
Generated by Style Dictionary
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated at
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:37 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// ignore_for_file: unused_import
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
3
3
|
Generated by Style Dictionary
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated at
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:37 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// ignore_for_file: unused_import
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
3
3
|
Generated by Style Dictionary
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated at
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:37 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// ignore_for_file: unused_import
|
package/dist/flutter/colors.dart
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
3
3
|
Generated by Style Dictionary
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated at
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:37 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// ignore_for_file: unused_import
|
package/dist/flutter/fonts.dart
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
3
3
|
Generated by Style Dictionary
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated at
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:37 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// ignore_for_file: unused_import
|
|
@@ -16,106 +16,106 @@ class TextStyles {
|
|
|
16
16
|
|
|
17
17
|
static const TextStyle titleH1 = TextStyle(
|
|
18
18
|
fontFamily: "Roboto",
|
|
19
|
-
fontFamilyFallback: <String>[
|
|
20
|
-
fontSize:
|
|
19
|
+
fontFamilyFallback: <String>[Roboto,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
20
|
+
fontSize: 48px,
|
|
21
21
|
fontWeight: FontWeight.w900,
|
|
22
22
|
letterSpacing: -0.4,
|
|
23
|
-
height:
|
|
23
|
+
height: 48px,
|
|
24
24
|
);
|
|
25
25
|
static const TextStyle titleH2 = TextStyle(
|
|
26
26
|
fontFamily: "Roboto",
|
|
27
|
-
fontFamilyFallback: <String>[
|
|
28
|
-
fontSize:
|
|
27
|
+
fontFamilyFallback: <String>[Roboto,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
28
|
+
fontSize: 36px,
|
|
29
29
|
fontWeight: FontWeight.w900,
|
|
30
30
|
letterSpacing: -0.4,
|
|
31
|
-
height:
|
|
31
|
+
height: 40px,
|
|
32
32
|
);
|
|
33
33
|
static const TextStyle titleH3 = TextStyle(
|
|
34
34
|
fontFamily: "Roboto",
|
|
35
|
-
fontFamilyFallback: <String>[
|
|
36
|
-
fontSize:
|
|
35
|
+
fontFamilyFallback: <String>[Roboto,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
36
|
+
fontSize: 30px,
|
|
37
37
|
fontWeight: FontWeight.w900,
|
|
38
38
|
letterSpacing: -0.4,
|
|
39
|
-
height:
|
|
39
|
+
height: 36px,
|
|
40
40
|
);
|
|
41
41
|
static const TextStyle titleH4 = TextStyle(
|
|
42
42
|
fontFamily: "Roboto",
|
|
43
|
-
fontFamilyFallback: <String>[
|
|
44
|
-
fontSize:
|
|
43
|
+
fontFamilyFallback: <String>[Roboto,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
44
|
+
fontSize: 24px,
|
|
45
45
|
fontWeight: FontWeight.w700,
|
|
46
46
|
letterSpacing: -0.4,
|
|
47
|
-
height:
|
|
47
|
+
height: 32px,
|
|
48
48
|
);
|
|
49
49
|
static const TextStyle titleH5 = TextStyle(
|
|
50
50
|
fontFamily: "Roboto",
|
|
51
|
-
fontFamilyFallback: <String>[
|
|
52
|
-
fontSize:
|
|
51
|
+
fontFamilyFallback: <String>[Roboto,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
52
|
+
fontSize: 20px,
|
|
53
53
|
fontWeight: FontWeight.w700,
|
|
54
54
|
letterSpacing: -0.4,
|
|
55
|
-
height:
|
|
55
|
+
height: 28px,
|
|
56
56
|
);
|
|
57
57
|
static const TextStyle titleH6 = TextStyle(
|
|
58
58
|
fontFamily: "Roboto",
|
|
59
|
-
fontFamilyFallback: <String>[
|
|
60
|
-
fontSize:
|
|
59
|
+
fontFamilyFallback: <String>[Roboto,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
60
|
+
fontSize: 16px,
|
|
61
61
|
fontWeight: FontWeight.w700,
|
|
62
62
|
letterSpacing: -0.4,
|
|
63
|
-
height:
|
|
63
|
+
height: 24px,
|
|
64
64
|
);
|
|
65
65
|
static const TextStyle titleAction = TextStyle(
|
|
66
66
|
fontFamily: "Roboto",
|
|
67
|
-
fontFamilyFallback: <String>[
|
|
68
|
-
fontSize:
|
|
67
|
+
fontFamilyFallback: <String>[Roboto,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
68
|
+
fontSize: 14px,
|
|
69
69
|
fontWeight: FontWeight.w500,
|
|
70
|
-
height:
|
|
70
|
+
height: 24px,
|
|
71
71
|
);
|
|
72
72
|
static const TextStyle infoDetail = TextStyle(
|
|
73
73
|
fontFamily: "Karla",
|
|
74
|
-
fontFamilyFallback: <String>[
|
|
75
|
-
fontSize:
|
|
74
|
+
fontFamilyFallback: <String>[Karla,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
75
|
+
fontSize: 16px,
|
|
76
76
|
fontWeight: FontWeight.w400,
|
|
77
|
-
height:
|
|
77
|
+
height: 24px,
|
|
78
78
|
);
|
|
79
79
|
static const TextStyle infoCaption = TextStyle(
|
|
80
80
|
fontFamily: "Karla",
|
|
81
|
-
fontFamilyFallback: <String>[
|
|
82
|
-
fontSize:
|
|
81
|
+
fontFamilyFallback: <String>[Karla,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
82
|
+
fontSize: 14px,
|
|
83
83
|
fontWeight: FontWeight.w400,
|
|
84
|
-
height:
|
|
84
|
+
height: 20px,
|
|
85
85
|
);
|
|
86
86
|
static const TextStyle infoLabel = TextStyle(
|
|
87
87
|
fontFamily: "Karla",
|
|
88
|
-
fontFamilyFallback: <String>[
|
|
89
|
-
fontSize:
|
|
88
|
+
fontFamilyFallback: <String>[Karla,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
89
|
+
fontSize: 12px,
|
|
90
90
|
fontWeight: FontWeight.w700,
|
|
91
|
-
height:
|
|
91
|
+
height: 16px,
|
|
92
92
|
);
|
|
93
93
|
static const TextStyle infoOption = TextStyle(
|
|
94
94
|
fontFamily: "Karla",
|
|
95
|
-
fontFamilyFallback: <String>[
|
|
96
|
-
fontSize:
|
|
95
|
+
fontFamilyFallback: <String>[Karla,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
96
|
+
fontSize: 10px,
|
|
97
97
|
fontWeight: FontWeight.w700,
|
|
98
98
|
letterSpacing: -0.4,
|
|
99
|
-
height:
|
|
99
|
+
height: 10px,
|
|
100
100
|
);
|
|
101
101
|
static const TextStyle infoDetailBold = TextStyle(
|
|
102
102
|
fontFamily: "Karla",
|
|
103
|
-
fontFamilyFallback: <String>[
|
|
103
|
+
fontFamilyFallback: <String>[Karla,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
104
104
|
);
|
|
105
105
|
static const TextStyle infoCaptionBold = TextStyle(
|
|
106
106
|
fontFamily: "Karla",
|
|
107
|
-
fontFamilyFallback: <String>[
|
|
107
|
+
fontFamilyFallback: <String>[Karla,-apple-system,BlinkMacSystemFont,'San Francisco','Segoe UI','Helvetica Neue',sans-serif],
|
|
108
108
|
);
|
|
109
109
|
static const TextStyle readParagraph = TextStyle(
|
|
110
|
-
fontFamily: "Merriweather",
|
|
111
|
-
fontFamilyFallback: <String>[
|
|
112
|
-
fontSize:
|
|
110
|
+
fontFamily: "'Merriweather'",
|
|
111
|
+
fontFamilyFallback: <String>['Merriweather',Times,'Times New Roman',serif],
|
|
112
|
+
fontSize: 20px,
|
|
113
113
|
fontWeight: FontWeight.w300,
|
|
114
|
-
height:
|
|
114
|
+
height: 32px,
|
|
115
115
|
);
|
|
116
116
|
static const TextStyle readParagraphBold = TextStyle(
|
|
117
|
-
fontFamily: "Merriweather",
|
|
118
|
-
fontFamilyFallback: <String>[
|
|
117
|
+
fontFamily: "'Merriweather'",
|
|
118
|
+
fontFamilyFallback: <String>['Merriweather',Times,'Times New Roman',serif],
|
|
119
119
|
);
|
|
120
120
|
|
|
121
121
|
static const TextTheme textTheme = TextTheme(
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
2
3
|
Generated by Style Dictionary
|
|
3
4
|
Do not edit directly
|
|
4
|
-
Generated at
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:36 GMT
|
|
5
6
|
*/
|
|
6
7
|
|
|
7
8
|
const getColor = (cssVar, { opacityVariable, opacityValue }) => {
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
2
3
|
Generated by Style Dictionary
|
|
3
4
|
Do not edit directly
|
|
4
|
-
Generated at
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:37 GMT
|
|
5
6
|
*/
|
|
6
7
|
|
|
7
8
|
const fontFamily = {
|
|
9
|
+
"leading": [
|
|
10
|
+
],
|
|
11
|
+
"fontSize": [
|
|
12
|
+
],
|
|
8
13
|
"title": [
|
|
9
14
|
"Roboto",
|
|
10
15
|
"-apple-system",
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
@magma-design-system/design-tokens v12.0.0
|
|
3
|
+
Generated by Style Dictionary
|
|
4
|
+
Do not edit directly
|
|
5
|
+
Generated at Wed, 20 Dec 2023 08:16:37 GMT
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const leading = {
|
|
9
|
+
'2xs-px': '10px',
|
|
10
|
+
'2xs': '0.625rem',
|
|
11
|
+
'xs-px': '16px',
|
|
12
|
+
'xs': '1rem',
|
|
13
|
+
'sm-px': '20px',
|
|
14
|
+
'sm': '1.25rem',
|
|
15
|
+
'px': '24px',
|
|
16
|
+
'DEFAULT': '1.5rem',
|
|
17
|
+
'md-px': '28px',
|
|
18
|
+
'md': '1.75rem',
|
|
19
|
+
'lg-px': '32px',
|
|
20
|
+
'lg': '2rem',
|
|
21
|
+
'xl-px': '36px',
|
|
22
|
+
'xl': '2.25rem',
|
|
23
|
+
'2xl-px': '40px',
|
|
24
|
+
'2xl': '2.5rem',
|
|
25
|
+
'3xl-px': '48px',
|
|
26
|
+
'3xl': '3rem',
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
module.exports = {
|
|
30
|
+
leading,
|
|
31
|
+
}
|