agroptima-design-system 0.20.0 → 0.21.0-beta.2
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/package.json
CHANGED
package/src/generic/_reset.scss
CHANGED
|
@@ -1,25 +1,34 @@
|
|
|
1
1
|
@use '../color_alias';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
@import 'https://fonts.googleapis.com/css2?family=Mulish:wght@200..1000&display=swap';
|
|
3
|
+
|
|
4
|
+
$font-size-footnote: 0.875rem;
|
|
5
|
+
$font-size-body: 1rem;
|
|
6
|
+
$font-size-h4: 1.25rem;
|
|
7
|
+
$font-size-h3: 1.5rem;
|
|
8
|
+
$font-size-h2: 2rem;
|
|
9
|
+
$font-size-h1: 2.5rem;
|
|
10
|
+
$font-line-height-footnote: 1.375rem;
|
|
11
|
+
$font-line-height-body: 1.5rem;
|
|
12
|
+
$font-line-height-h4: 1.75rem;
|
|
13
|
+
$font-line-height-h3: 2rem;
|
|
14
|
+
$font-line-height-h2: 2.375rem;
|
|
15
|
+
$font-line-height-h1: 3rem;
|
|
4
16
|
|
|
5
17
|
@mixin base {
|
|
6
|
-
font-style: 1rem;
|
|
7
18
|
font-variant: normal;
|
|
8
19
|
font-weight: 400;
|
|
9
|
-
font-family:
|
|
10
|
-
Noto Sans,
|
|
11
|
-
sans-serif;
|
|
20
|
+
font-family: Mulish, sans-serif;
|
|
12
21
|
color: color_alias.$neutral-color-1000;
|
|
13
|
-
font-size:
|
|
14
|
-
line-height:
|
|
22
|
+
font-size: $font-size-body;
|
|
23
|
+
line-height: $font-line-height-body;
|
|
15
24
|
}
|
|
16
25
|
|
|
17
26
|
@mixin h1 {
|
|
18
27
|
@include base;
|
|
19
28
|
font-weight: 700;
|
|
20
29
|
color: color_alias.$neutral-color-1000;
|
|
21
|
-
font-size:
|
|
22
|
-
line-height:
|
|
30
|
+
font-size: $font-size-h1;
|
|
31
|
+
line-height: $font-line-height-h1;
|
|
23
32
|
margin: 0;
|
|
24
33
|
}
|
|
25
34
|
|
|
@@ -27,8 +36,8 @@
|
|
|
27
36
|
@include base;
|
|
28
37
|
font-weight: 700;
|
|
29
38
|
color: color_alias.$neutral-color-1000;
|
|
30
|
-
font-size:
|
|
31
|
-
line-height:
|
|
39
|
+
font-size: $font-size-h2;
|
|
40
|
+
line-height: $font-line-height-h2;
|
|
32
41
|
margin: 0;
|
|
33
42
|
}
|
|
34
43
|
|
|
@@ -36,8 +45,8 @@
|
|
|
36
45
|
@include base;
|
|
37
46
|
font-weight: 700;
|
|
38
47
|
color: color_alias.$neutral-color-1000;
|
|
39
|
-
font-size:
|
|
40
|
-
line-height:
|
|
48
|
+
font-size: $font-size-h3;
|
|
49
|
+
line-height: $font-line-height-h3;
|
|
41
50
|
margin: 0;
|
|
42
51
|
}
|
|
43
52
|
|
|
@@ -45,96 +54,75 @@
|
|
|
45
54
|
@include base;
|
|
46
55
|
font-weight: 700;
|
|
47
56
|
color: color_alias.$neutral-color-1000;
|
|
48
|
-
font-size:
|
|
49
|
-
line-height:
|
|
57
|
+
font-size: $font-size-h4;
|
|
58
|
+
line-height: $font-line-height-h4;
|
|
50
59
|
margin: 0;
|
|
51
60
|
}
|
|
52
61
|
|
|
53
62
|
@mixin body-regular-primary {
|
|
54
63
|
@include base;
|
|
55
|
-
font-weight: 400;
|
|
56
64
|
color: color_alias.$neutral-color-1000;
|
|
57
|
-
font-size: 1rem;
|
|
58
|
-
line-height: 1.5rem;
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
@mixin body-regular-secondary {
|
|
62
68
|
@include base;
|
|
63
|
-
font-weight: 400;
|
|
64
69
|
color: color_alias.$neutral-color-600;
|
|
65
|
-
font-size: 1rem;
|
|
66
|
-
line-height: 1.5rem;
|
|
67
70
|
}
|
|
68
71
|
|
|
69
72
|
@mixin body-regular-disabled {
|
|
70
73
|
@include base;
|
|
71
|
-
font-weight: 400;
|
|
72
74
|
color: color_alias.$neutral-color-400;
|
|
73
|
-
font-size: 1rem;
|
|
74
|
-
line-height: 1.5rem;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
@mixin body-regular-error {
|
|
78
78
|
@include base;
|
|
79
|
-
font-weight: 400;
|
|
80
79
|
color: color_alias.$error-color-1000;
|
|
81
|
-
font-size: 1rem;
|
|
82
|
-
line-height: 1.5rem;
|
|
83
80
|
}
|
|
84
81
|
|
|
85
82
|
@mixin body-regular-warning {
|
|
86
83
|
@include base;
|
|
87
|
-
font-weight: 400;
|
|
88
84
|
color: color_alias.$warning-color-1000;
|
|
89
|
-
font-size: 1rem;
|
|
90
|
-
line-height: 1.5rem;
|
|
91
85
|
}
|
|
92
86
|
|
|
93
|
-
@mixin body-
|
|
87
|
+
@mixin body-underline {
|
|
94
88
|
@include base;
|
|
95
|
-
font-weight: 600;
|
|
96
89
|
color: color_alias.$neutral-color-1000;
|
|
97
|
-
|
|
98
|
-
line-height: 1.5rem;
|
|
90
|
+
text-decoration-line: underline;
|
|
99
91
|
}
|
|
100
92
|
|
|
101
|
-
@mixin body-
|
|
93
|
+
@mixin body-link {
|
|
102
94
|
@include base;
|
|
103
|
-
|
|
95
|
+
color: color_alias.$primary-color-600;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@mixin body-medium {
|
|
99
|
+
@include base;
|
|
100
|
+
font-weight: 500;
|
|
104
101
|
color: color_alias.$neutral-color-1000;
|
|
105
|
-
font-size: 1rem;
|
|
106
|
-
line-height: 1.5rem;
|
|
107
102
|
}
|
|
108
103
|
|
|
109
|
-
@mixin body-
|
|
104
|
+
@mixin body-bold {
|
|
110
105
|
@include base;
|
|
111
|
-
font-weight:
|
|
106
|
+
font-weight: 700;
|
|
112
107
|
color: color_alias.$neutral-color-1000;
|
|
113
|
-
font-size: 1rem;
|
|
114
|
-
line-height: 1.5rem;
|
|
115
|
-
text-decoration-line: underline;
|
|
116
108
|
}
|
|
117
109
|
|
|
118
|
-
@mixin body-
|
|
110
|
+
@mixin body-extrabold {
|
|
119
111
|
@include base;
|
|
120
|
-
font-weight:
|
|
121
|
-
color: color_alias.$
|
|
122
|
-
font-size: 1rem;
|
|
123
|
-
line-height: 1.5rem;
|
|
112
|
+
font-weight: 800;
|
|
113
|
+
color: color_alias.$neutral-color-1000;
|
|
124
114
|
}
|
|
125
115
|
|
|
126
116
|
@mixin footnote-primary {
|
|
127
117
|
@include base;
|
|
128
|
-
font-weight: 400;
|
|
129
118
|
color: color_alias.$neutral-color-600;
|
|
130
|
-
font-size:
|
|
131
|
-
line-height:
|
|
119
|
+
font-size: $font-size-footnote;
|
|
120
|
+
line-height: $font-line-height-footnote;
|
|
132
121
|
}
|
|
133
122
|
|
|
134
123
|
@mixin footnote-error {
|
|
135
124
|
@include base;
|
|
136
|
-
font-weight: 400;
|
|
137
125
|
color: color_alias.$error-color-1000;
|
|
138
|
-
font-size:
|
|
139
|
-
line-height:
|
|
126
|
+
font-size: $font-size-footnote;
|
|
127
|
+
line-height: $font-line-height-footnote;
|
|
140
128
|
}
|