@maggioli-design-system/styles 3.11.0 → 5.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 (53) hide show
  1. package/dist/css/base.css +42 -78
  2. package/dist/css/colors-rgb.css +577 -0
  3. package/dist/css/colors.css +570 -514
  4. package/dist/css/typography.css +101 -196
  5. package/dist/tailwind/base.css +15 -5
  6. package/dist/tailwind/typography.css +79 -14
  7. package/package.json +16 -26
  8. package/postcss.config.js +1 -1
  9. package/dist/css/base.css.map +0 -1
  10. package/dist/css/base.min.css +0 -1
  11. package/dist/css/color-palette.css +0 -26045
  12. package/dist/css/color-palette.css.map +0 -1
  13. package/dist/css/color-palette.min.css +0 -1
  14. package/dist/css/colors.css.map +0 -1
  15. package/dist/css/colors.min.css +0 -1
  16. package/dist/css/components.css +0 -16
  17. package/dist/css/components.css.map +0 -1
  18. package/dist/css/components.min.css +0 -1
  19. package/dist/css/styles.css +0 -27115
  20. package/dist/css/styles.css.map +0 -1
  21. package/dist/css/styles.min.css +0 -1
  22. package/dist/css/typography.css.map +0 -1
  23. package/dist/css/typography.min.css +0 -1
  24. package/dist/scss/config.scss +0 -10
  25. package/dist/scss/export/base.scss +0 -2
  26. package/dist/scss/export/color-palette.scss +0 -2
  27. package/dist/scss/export/colors.scss +0 -2
  28. package/dist/scss/export/components.scss +0 -2
  29. package/dist/scss/export/styles.scss +0 -8
  30. package/dist/scss/export/typography.scss +0 -2
  31. package/dist/scss/extends/scroll.scss +0 -21
  32. package/dist/scss/functions/assets.scss +0 -3
  33. package/dist/scss/functions/color.scss +0 -24
  34. package/dist/scss/functions/lists.scss +0 -27
  35. package/dist/scss/functions/maps.scss +0 -54
  36. package/dist/scss/functions/math.scss +0 -18
  37. package/dist/scss/functions/media.scss +0 -10
  38. package/dist/scss/functions/scaffolding.scss +0 -8
  39. package/dist/scss/functions/strings.scss +0 -102
  40. package/dist/scss/global/base.scss +0 -101
  41. package/dist/scss/global/components/view-limit.scss +0 -9
  42. package/dist/scss/global/scaffolding/colors.scss +0 -66
  43. package/dist/scss/global/scaffolding/cosmetics.scss +0 -62
  44. package/dist/scss/global/scaffolding/tokens.scss +0 -97
  45. package/dist/scss/global/scaffolding/typography.scss +0 -17
  46. package/dist/scss/global/utility/overflow.scss +0 -9
  47. package/dist/scss/import-framework.scss +0 -13
  48. package/dist/scss/import-global.scss +0 -8
  49. package/dist/scss/mixins/export.scss +0 -49
  50. package/dist/scss/mixins/media.scss +0 -8
  51. package/dist/scss/mixins/parent.scss +0 -6
  52. package/dist/scss/mixins/scaffolding.scss +0 -83
  53. package/dist/scss/theme.scss +0 -36
@@ -1,228 +1,133 @@
1
- /*
2
- Do not edit directly
3
- Generated on Fri, 05 Nov 2021 14:16:29 GMT
4
- */
5
- .text-primary {
6
- font-family: Roboto, -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Helvetica Neue, sans-serif;
7
- }
8
- .text-primary::placeholder {
9
- font-family: Roboto, -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Helvetica Neue, sans-serif;
10
- }
11
-
12
- .text-primary--h1 {
13
- font-size: 42px;
1
+ .text-primary-h1 {
2
+ font-family: Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
3
+ font-size: 3rem;
4
+ line-height: 1;
14
5
  font-weight: 800;
15
- letter-spacing: -0.025rem;
16
- line-height: 50px;
17
- }
18
- .text-primary--h1::placeholder {
19
- font-size: 42px;
20
- font-weight: 800;
21
- letter-spacing: -0.025rem;
22
- line-height: 50px;
6
+ letter-spacing: -0.025em;
7
+ -webkit-font-smoothing: antialiased;
8
+ -moz-osx-font-smoothing: grayscale
23
9
  }
24
10
 
25
- .text-primary--h2 {
26
- font-size: 33px;
11
+ .text-primary-h2 {
12
+ font-family: Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
13
+ font-size: 2.25rem;
14
+ line-height: 2.5rem;
27
15
  font-weight: 800;
28
- letter-spacing: -0.025rem;
29
- line-height: 50px;
16
+ letter-spacing: -0.025em;
17
+ -webkit-font-smoothing: antialiased;
18
+ -moz-osx-font-smoothing: grayscale
30
19
  }
31
- .text-primary--h2::placeholder {
32
- font-size: 33px;
20
+
21
+ .text-primary-h3 {
22
+ font-family: Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
23
+ font-size: 1.875rem;
24
+ line-height: 2.25rem;
33
25
  font-weight: 800;
34
- letter-spacing: -0.025rem;
35
- line-height: 50px;
26
+ letter-spacing: -0.025em;
27
+ -webkit-font-smoothing: antialiased;
28
+ -moz-osx-font-smoothing: grayscale
36
29
  }
37
30
 
38
- .text-primary--h3 {
39
- font-size: 26px;
31
+ .text-primary-h4 {
32
+ font-family: Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
33
+ font-size: 1.5rem;
34
+ line-height: 2rem;
40
35
  font-weight: 700;
41
- letter-spacing: -0.025rem;
42
- line-height: 40px;
43
- }
44
- .text-primary--h3::placeholder {
45
- font-size: 26px;
46
- font-weight: 700;
47
- letter-spacing: -0.025rem;
48
- line-height: 40px;
49
- }
50
-
51
- .text-primary--h4 {
52
- font-size: 20px;
53
- font-weight: 600;
54
- line-height: 30px;
55
- }
56
- .text-primary--h4::placeholder {
57
- font-size: 20px;
58
- font-weight: 600;
59
- line-height: 30px;
36
+ letter-spacing: -0.025em;
37
+ -webkit-font-smoothing: antialiased;
38
+ -moz-osx-font-smoothing: grayscale
60
39
  }
61
40
 
62
- .text-primary--h5 {
63
- font-size: 16px;
64
- font-weight: 600;
65
- line-height: 25px;
66
- }
67
- .text-primary--h5::placeholder {
68
- font-size: 16px;
69
- font-weight: 600;
70
- line-height: 25px;
71
- }
72
-
73
- .text-primary--h6 {
74
- font-size: 20px;
75
- font-variant-caps: all-small-caps;
76
- font-weight: 500;
77
- line-height: 20px;
78
- }
79
- .text-primary--h6::placeholder {
80
- font-size: 20px;
81
- font-variant-caps: all-small-caps;
82
- font-weight: 500;
83
- line-height: 20px;
84
- }
85
-
86
- .text-primary--overline {
87
- font-size: 14px;
88
- font-variant-caps: all-small-caps;
89
- font-weight: 500;
90
- line-height: 15px;
91
- }
92
- @media (min-width: 768px) {
93
- .text-primary--overline {
94
- line-height: 20px;
95
- }
96
- }
97
- .text-primary--overline::placeholder {
98
- font-size: 14px;
99
- font-variant-caps: all-small-caps;
100
- font-weight: 500;
101
- line-height: 15px;
102
- }
103
- @media (min-width: 768px) {
104
- .text-primary--overline::placeholder {
105
- line-height: 20px;
106
- }
107
- }
108
-
109
- .text-primary--action {
110
- font-size: 14px;
111
- font-weight: 500;
112
- line-height: 24px;
113
- }
114
- .text-primary--action::placeholder {
115
- font-size: 14px;
116
- font-weight: 500;
117
- line-height: 24px;
41
+ .text-primary-h5 {
42
+ font-family: Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
43
+ font-size: 1.25rem;
44
+ line-height: 1.75rem;
45
+ font-weight: 700;
46
+ letter-spacing: -0.025em;
47
+ -webkit-font-smoothing: antialiased;
48
+ -moz-osx-font-smoothing: grayscale
118
49
  }
119
50
 
120
- .text-secondary {
121
- font-family: Karla, -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Helvetica Neue, sans-serif;
122
- }
123
- .text-secondary::placeholder {
124
- font-family: Karla, -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Helvetica Neue, sans-serif;
51
+ .text-primary-h6 {
52
+ font-family: Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
53
+ font-size: 1rem;
54
+ line-height: 1.5rem;
55
+ font-weight: 700;
56
+ letter-spacing: -0.025em;
57
+ -webkit-font-smoothing: antialiased;
58
+ -moz-osx-font-smoothing: grayscale
125
59
  }
126
60
 
127
- .text-secondary--paragraph {
128
- font-size: 20px;
129
- font-weight: 400;
130
- line-height: 35px;
131
- }
132
- .text-secondary--paragraph::placeholder {
133
- font-size: 20px;
134
- font-weight: 400;
135
- line-height: 35px;
61
+ .text-primary-action {
62
+ font-family: Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
63
+ font-size: 0.875rem;
64
+ line-height: 1.25rem;
65
+ font-weight: 700;
66
+ line-height: 1.625;
67
+ -webkit-font-smoothing: antialiased;
68
+ -moz-osx-font-smoothing: grayscale
136
69
  }
137
70
 
138
- .text-secondary--detail {
139
- font-size: 16px;
140
- font-weight: 400;
141
- line-height: 25px;
142
- }
143
- .text-secondary--detail::placeholder {
144
- font-size: 16px;
145
- font-weight: 400;
146
- line-height: 25px;
71
+ .text-secondary-paragraph {
72
+ font-family: Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
73
+ font-size: 1.25rem;
74
+ line-height: 1.75rem;
75
+ line-height: 2rem;
76
+ -webkit-font-smoothing: antialiased;
77
+ -moz-osx-font-smoothing: grayscale
147
78
  }
148
79
 
149
- .text-secondary--caption {
150
- font-size: 13px;
151
- font-weight: 400;
152
- line-height: 20px;
153
- }
154
- .text-secondary--caption::placeholder {
155
- font-size: 13px;
156
- font-weight: 400;
157
- line-height: 20px;
80
+ .text-secondary-detail {
81
+ font-family: Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
82
+ font-size: 1rem;
83
+ line-height: 1.5rem;
84
+ -webkit-font-smoothing: antialiased;
85
+ -moz-osx-font-smoothing: grayscale
158
86
  }
159
87
 
160
- .text-secondary--label-paragraph {
161
- font-size: 13px;
162
- font-weight: 600;
163
- line-height: 20px;
164
- text-transform: uppercase;
165
- }
166
- .text-secondary--label-paragraph::placeholder {
167
- font-size: 13px;
168
- font-weight: 600;
169
- line-height: 20px;
170
- text-transform: uppercase;
88
+ .text-secondary-caption {
89
+ font-family: Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
90
+ font-size: 0.875rem;
91
+ line-height: 1.25rem;
92
+ -webkit-font-smoothing: antialiased;
93
+ -moz-osx-font-smoothing: grayscale
171
94
  }
172
95
 
173
- .text-secondary--label-detail {
174
- font-size: 12px;
175
- font-weight: 600;
176
- line-height: 20px;
177
- text-transform: uppercase;
178
- }
179
- .text-secondary--label-detail::placeholder {
180
- font-size: 12px;
181
- font-weight: 600;
182
- line-height: 20px;
96
+ .text-secondary-label {
97
+ font-family: Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
98
+ font-size: 0.75rem;
99
+ line-height: 1rem;
100
+ font-weight: 700;
183
101
  text-transform: uppercase;
102
+ -webkit-font-smoothing: antialiased;
103
+ -moz-osx-font-smoothing: grayscale
184
104
  }
185
105
 
186
- .text-secondary--label-caption {
187
- font-size: 10px;
188
- font-weight: 600;
189
- line-height: 20px;
190
- text-transform: uppercase;
191
- }
192
- .text-secondary--label-caption::placeholder {
193
- font-size: 10px;
194
- font-weight: 600;
195
- line-height: 20px;
106
+ .text-secondary-option {
107
+ font-family: Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
108
+ font-size: 0.625rem;
109
+ font-weight: 700;
196
110
  text-transform: uppercase;
111
+ line-height: 1;
112
+ letter-spacing: -0.025em;
113
+ -webkit-font-smoothing: antialiased;
114
+ -moz-osx-font-smoothing: grayscale
197
115
  }
198
116
 
199
- .text-mono {
200
- font-family: Roboto Mono, monospace;
201
- }
202
- .text-mono::placeholder {
203
- font-family: Roboto Mono, monospace;
117
+ .text-mono-code {
118
+ font-family: 'Roboto Mono', monospace;
119
+ font-size: 1rem;
120
+ line-height: 1.5rem;
121
+ line-height: 1.625;
122
+ -webkit-font-smoothing: antialiased;
123
+ -moz-osx-font-smoothing: grayscale
204
124
  }
205
125
 
206
- .text-mono--code {
207
- font-size: 16px;
208
- font-weight: 400;
209
- line-height: 30px;
126
+ .text-mono-hack {
127
+ font-family: 'Roboto Mono', monospace;
128
+ font-size: 0.875rem;
129
+ line-height: 1.25rem;
130
+ line-height: 1.625;
131
+ -webkit-font-smoothing: antialiased;
132
+ -moz-osx-font-smoothing: grayscale
210
133
  }
211
- .text-mono--code::placeholder {
212
- font-size: 16px;
213
- font-weight: 400;
214
- line-height: 30px;
215
- }
216
-
217
- .text-mono--hack {
218
- font-size: 12px;
219
- font-weight: 400;
220
- line-height: 20px;
221
- }
222
- .text-mono--hack::placeholder {
223
- font-size: 12px;
224
- font-weight: 400;
225
- line-height: 20px;
226
- }
227
-
228
- /*# sourceMappingURL=typography.css.map */
@@ -8,7 +8,9 @@ html {
8
8
  }
9
9
 
10
10
  body {
11
- @apply font-secondary text-secondary-detail text-adjust-tone-03;
11
+ @apply
12
+ text-adjust-tone-04
13
+ text-secondary-detail;
12
14
 
13
15
  -moz-osx-font-smoothing: grayscale;
14
16
  -webkit-font-smoothing: antialiased;
@@ -20,7 +22,11 @@ body {
20
22
  button,
21
23
  optgroup,
22
24
  select {
23
- @apply antialiased font-medium font-primary leading-relaxed;
25
+ @apply
26
+ antialiased
27
+ font-medium
28
+ font-primary
29
+ leading-relaxed;
24
30
  }
25
31
 
26
32
  input,
@@ -32,11 +38,13 @@ textarea {
32
38
 
33
39
  b,
34
40
  strong {
35
- @apply tracking-tight font-semibold;
41
+ @apply
42
+ font-semibold
43
+ tracking-tight;
36
44
  }
37
45
 
38
46
  a {
39
- @apply no-underline;
47
+ @apply text-brand-maggioli-03;
40
48
 
41
49
  font-family: inherit;
42
50
  font-size: inherit;
@@ -81,5 +89,7 @@ p {
81
89
  }
82
90
 
83
91
  ::selection {
84
- @apply bg-brand-maggioli-15 text-brand-maggioli;
92
+ @apply
93
+ bg-brand-maggioli-09
94
+ text-brand-maggioli-02;
85
95
  }
@@ -1,57 +1,122 @@
1
1
  @layer components {
2
2
  .text-primary-h1 {
3
- @apply antialiased font-extrabold font-primary text-5xl tracking-tight;
3
+ @apply
4
+ antialiased
5
+ font-extrabold
6
+ font-primary
7
+ text-5xl
8
+ tracking-tight;
4
9
  }
5
10
 
6
11
  .text-primary-h2 {
7
- @apply antialiased font-extrabold font-primary text-4xl tracking-tight;
12
+ @apply
13
+ antialiased
14
+ font-extrabold
15
+ font-primary
16
+ text-4xl
17
+ tracking-tight;
8
18
  }
9
19
 
10
20
  .text-primary-h3 {
11
- @apply antialiased font-bold font-primary text-3xl tracking-tight;
21
+ @apply
22
+ antialiased
23
+ font-extrabold
24
+ font-primary
25
+ text-3xl
26
+ tracking-tight;
12
27
  }
13
28
 
14
29
  .text-primary-h4 {
15
- @apply antialiased font-bold font-primary text-2xl tracking-tight;
30
+ @apply
31
+ antialiased
32
+ font-bold
33
+ font-primary
34
+ text-2xl
35
+ tracking-tight;
16
36
  }
17
37
 
18
38
  .text-primary-h5 {
19
- @apply antialiased font-bold font-primary text-xl tracking-tight;
39
+ @apply
40
+ antialiased
41
+ font-bold
42
+ font-primary
43
+ text-xl
44
+ tracking-tight;
20
45
  }
21
46
 
22
47
  .text-primary-h6 {
23
- @apply antialiased font-bold font-primary text-base tracking-tight;
48
+ @apply
49
+ antialiased
50
+ font-bold
51
+ font-primary
52
+ text-base
53
+ tracking-tight;
24
54
  }
25
55
 
26
56
  .text-primary-action {
27
- @apply antialiased font-bold font-primary leading-relaxed text-sm;
57
+ @apply
58
+ antialiased
59
+ font-bold
60
+ font-primary
61
+ leading-relaxed
62
+ text-sm;
28
63
  }
29
64
 
30
65
  .text-secondary-paragraph {
31
- @apply antialiased font-secondary text-xl;
66
+ @apply
67
+ antialiased
68
+ font-secondary
69
+ leading-8
70
+ text-xl;
32
71
  }
33
72
 
34
73
  .text-secondary-detail {
35
- @apply antialiased font-secondary text-base;
74
+ @apply
75
+ antialiased
76
+ font-secondary
77
+ text-base;
36
78
  }
37
79
 
38
80
  .text-secondary-caption {
39
- @apply antialiased font-secondary text-sm;
81
+ @apply
82
+ antialiased
83
+ font-secondary
84
+ text-sm;
40
85
  }
41
86
 
42
87
  .text-secondary-label {
43
- @apply antialiased font-bold font-secondary text-xs uppercase;
88
+ @apply
89
+ antialiased
90
+ font-bold
91
+ font-secondary
92
+ text-xs
93
+ uppercase;
44
94
  }
45
95
 
46
96
  .text-secondary-option {
47
- @apply antialiased font-bold font-secondary leading-none text-xxs tracking-tight uppercase;
97
+ @apply
98
+ antialiased
99
+ font-bold
100
+ font-secondary
101
+ leading-none
102
+ text-xxs
103
+ tracking-tight
104
+ uppercase;
48
105
  }
49
106
 
50
107
  .text-mono-code {
51
- @apply antialiased font-mono leading-relaxed text-base;
108
+ @apply
109
+ antialiased
110
+ font-mono
111
+ leading-relaxed
112
+ text-base;
52
113
  }
53
114
 
54
115
  .text-mono-hack {
55
- @apply antialiased font-mono leading-relaxed text-sm;
116
+ @apply
117
+ antialiased
118
+ font-mono
119
+ leading-relaxed
120
+ text-sm;
56
121
  }
57
122
  }
package/package.json CHANGED
@@ -1,27 +1,18 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/styles",
3
- "version": "3.11.0",
3
+ "version": "5.0.0",
4
4
  "description": "This module contains SCSS and CSS styles used by Maggioli Design System, it also makes available a Tailwind config based on Maggioli design tokens.",
5
- "main": "css/styles.min.css",
5
+ "main": "./tailwind.config.js",
6
6
  "scripts": {
7
- "build": "npm run clean && npm run config && npm run sass && npm run copy:sass && npm run copy:tailwind",
8
- "clean": "rm -rf dist || true && mkdir -p dist/css dist/scss dist/tailwind",
9
- "config": "cp ../../node_modules/@maggioli-design-system/design-tokens/dist/scss/config.scss ./scss",
10
- "copy:sass": "cp -rf scss dist",
11
- "copy:tailwind": "cp -rf tailwind dist",
12
- "sass": "npm run sass:components && npm run sass:components:min && npm run sass:styles && npm run sass:styles:min && npm run sass:base && npm run sass:base:min && npm run sass:colors && npm run sass:colors:min && npm run sass:palette && npm run sass:palette:min && npm run sass:typography && npm run sass:typography:min",
13
- "sass:base": "sass ./scss/export/base.scss ./dist/css/base.css --style=expanded --load-path=../../node_modules",
14
- "sass:base:min": "sass ./scss/export/base.scss ./dist/css/base.min.css --style=compressed --no-source-map --load-path=../../node_modules",
15
- "sass:colors": "sass ./scss/export/colors.scss ./dist/css/colors.css --style=expanded --load-path=../../node_modules",
16
- "sass:colors:min": "sass ./scss/export/colors.scss ./dist/css/colors.min.css --style=compressed --no-source-map --load-path=../../node_modules",
17
- "sass:components": "sass ./scss/export/components.scss ./dist/css/components.css --style=expanded --load-path=../../node_modules",
18
- "sass:components:min": "sass ./scss/export/components.scss ./dist/css/components.min.css --style=compressed --no-source-map --load-path=../../node_modules",
19
- "sass:palette": "sass ./scss/export/color-palette.scss ./dist/css/color-palette.css --style=expanded --load-path=../../node_modules",
20
- "sass:palette:min": "sass ./scss/export/color-palette.scss ./dist/css/color-palette.min.css --style=compressed --no-source-map --load-path=../../node_modules",
21
- "sass:styles": "sass ./scss/export/styles.scss ./dist/css/styles.css --style=expanded --load-path=../../node_modules",
22
- "sass:styles:min": "sass ./scss/export/styles.scss ./dist/css/styles.min.css --style=compressed --no-source-map --load-path=../../node_modules",
23
- "sass:typography": "sass ./scss/export/typography.scss ./dist/css/typography.css --style=expanded --load-path=../../node_modules",
24
- "sass:typography:min": "sass ./scss/export/typography.scss ./dist/css/typography.min.css --style=compressed --no-source-map --load-path=../../node_modules"
7
+ "build": "npm run clean && npm run copy && npm run tailwind.build",
8
+ "clean": "rm -rf dist || true && mkdir -p dist/css dist/tailwind",
9
+ "copy": "npm run copy.tailwind && npm run copy.css.hex && npm run copy.css.rgb",
10
+ "copy.tailwind": "cp -rf tailwind dist",
11
+ "copy.css.hex": "cp -rf ../design-tokens/dist/css/colors.css ./dist/css/colors.css",
12
+ "copy.css.rgb": "cp -rf ../design-tokens/dist/css/colors-rgb.css ./dist/css/colors-rgb.css",
13
+ "tailwind.base": "tailwindcss -i ./css/base.css -o ./dist/css/base.css",
14
+ "tailwind.build": "npm run tailwind.base && npm run tailwind.typography",
15
+ "tailwind.typography": "tailwindcss -i ./css/typography.css -o ./dist/css/typography.css"
25
16
  },
26
17
  "files": [
27
18
  "/postcss.config.js",
@@ -33,7 +24,6 @@
33
24
  "url": "https://git.maggioli.it/ricerca-sviluppo-new-media/design-system.git"
34
25
  },
35
26
  "keywords": [
36
- "sass",
37
27
  "scss",
38
28
  "css",
39
29
  "tailwindcss"
@@ -48,19 +38,19 @@
48
38
  ],
49
39
  "license": "ISC",
50
40
  "dependencies": {
51
- "@maggioli-design-system/design-tokens": "^4.0.2",
52
- "@tailwindcss/aspect-ratio": "0.2.1",
41
+ "@maggioli-design-system/design-tokens": "^6.0.0",
42
+ "@tailwindcss/aspect-ratio": "^0.2.1",
53
43
  "normalize.css": "^8.0.1",
54
44
  "tailwindcss-multi-column": "^1.0.2",
55
45
  "tailwindcss-scroll-snap": "^1.1.0",
56
46
  "tailwindcss-textshadow": "^2.1.3",
57
- "typeface-karla": "1.1.13",
58
- "typeface-roboto": "1.1.13"
47
+ "typeface-karla": "^1.1.13",
48
+ "typeface-roboto": "^1.1.13"
59
49
  },
60
50
  "devDependencies": {
61
51
  "autoprefixer": "^10.3.1",
62
52
  "postcss": "^8.3.5",
63
- "postcss-import": "14.0.2",
53
+ "postcss-import": "^14.0.2",
64
54
  "sass": "^1.35.1",
65
55
  "sass-extract": "^2.1.0",
66
56
  "sass-loader": "^12.1.0",
package/postcss.config.js CHANGED
@@ -3,5 +3,5 @@ module.exports = {
3
3
  require('postcss-import'),
4
4
  require('tailwindcss'),
5
5
  require('autoprefixer'),
6
- ]
6
+ ],
7
7
  }
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":["../../../../node_modules/@maggioli-design-system/design-tokens/dist/scss/variables.scss","../../scss/global/base.scss","../../scss/mixins/scaffolding.scss"],"names":[],"mappings":"AACA;AAAA;AAAA;AAAA;ACGA;AAAA;EAEE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ECYM,WAJ2B;EAI3B,aAJ2B;EAI3B,aAJ2B;;;ADJnC;EACE;;;AAGF;AAAA;EAEE;ECEM,WAJ2B;EAI3B,aAJ2B;EAI3B,aAJ2B;;ADKjC;AAAA;EACE;ECFI,WAJ2B;EAI3B,aAJ2B;EAI3B,aAJ2B;;;ADWnC;AAAA;ECPQ,aAJ2B;EAI3B,gBAJ2B;;;ADgBnC;EACE;EACA;EACA;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAwBE;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAOE;;;AAGF;AAAA;AAAA;AAAA;AAAA;EAKE;;;AAGF;EACE;EACA","file":"base.css"}
@@ -1 +0,0 @@
1
- body,html{margin:0}body{background-color:RGB(var(--adjust-tone));color:RGB(var(--adjust-tone-03));font-family:Karla, -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Helvetica Neue, sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;text-align:-webkit-left;text-align:left;text-rendering:optimizeLegibility;text-size-adjust:100%;width:100%;font-size:20px;font-weight:400;line-height:35px}button{font-family:Roboto, -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Helvetica Neue, sans-serif}input,textarea{appearance:none;font-size:20px;font-weight:400;line-height:35px}input::placeholder,textarea::placeholder{user-select:none;font-size:20px;font-weight:400;line-height:35px}b,strong{font-weight:600;letter-spacing:-0.5px}a{color:RGB(var(--brand-maggioli));font-family:inherit;font-size:inherit;font-weight:inherit;text-decoration:none}a,aside,body,code,div,datalist,footer,form,h1,h2,h3,h4,h5,h6,header,hr,html,input,li,main,section,span,ul,textarea{box-sizing:border-box}h1,h2,h3,h4,h5,h6,p{margin:0}button,input,optgroup,select,textarea{font-family:inherit}::selection{background-color:RGB(var(--brand-maggioli-15));color:RGB(var(--brand-maggioli))}