@maggioli-design-system/styles 5.0.0 → 6.0.1
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/css/base.css +0 -2
- package/dist/css/colors-rgb.css +511 -511
- package/dist/css/colors.css +511 -511
- package/dist/css/typography.css +0 -4
- package/package.json +5 -12
- package/tailwind.config.js +6 -27
package/dist/css/typography.css
CHANGED
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
.text-primary-action {
|
|
62
62
|
font-family: Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
|
|
63
63
|
font-size: 0.875rem;
|
|
64
|
-
line-height: 1.25rem;
|
|
65
64
|
font-weight: 700;
|
|
66
65
|
line-height: 1.625;
|
|
67
66
|
-webkit-font-smoothing: antialiased;
|
|
@@ -71,7 +70,6 @@
|
|
|
71
70
|
.text-secondary-paragraph {
|
|
72
71
|
font-family: Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
|
|
73
72
|
font-size: 1.25rem;
|
|
74
|
-
line-height: 1.75rem;
|
|
75
73
|
line-height: 2rem;
|
|
76
74
|
-webkit-font-smoothing: antialiased;
|
|
77
75
|
-moz-osx-font-smoothing: grayscale
|
|
@@ -117,7 +115,6 @@
|
|
|
117
115
|
.text-mono-code {
|
|
118
116
|
font-family: 'Roboto Mono', monospace;
|
|
119
117
|
font-size: 1rem;
|
|
120
|
-
line-height: 1.5rem;
|
|
121
118
|
line-height: 1.625;
|
|
122
119
|
-webkit-font-smoothing: antialiased;
|
|
123
120
|
-moz-osx-font-smoothing: grayscale
|
|
@@ -126,7 +123,6 @@
|
|
|
126
123
|
.text-mono-hack {
|
|
127
124
|
font-family: 'Roboto Mono', monospace;
|
|
128
125
|
font-size: 0.875rem;
|
|
129
|
-
line-height: 1.25rem;
|
|
130
126
|
line-height: 1.625;
|
|
131
127
|
-webkit-font-smoothing: antialiased;
|
|
132
128
|
-moz-osx-font-smoothing: grayscale
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/styles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1",
|
|
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
5
|
"main": "./tailwind.config.js",
|
|
6
6
|
"scripts": {
|
|
@@ -38,22 +38,15 @@
|
|
|
38
38
|
],
|
|
39
39
|
"license": "ISC",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@maggioli-design-system/design-tokens": "^6.
|
|
42
|
-
"@tailwindcss/aspect-ratio": "^0.2.1",
|
|
41
|
+
"@maggioli-design-system/design-tokens": "^6.1.1",
|
|
43
42
|
"normalize.css": "^8.0.1",
|
|
44
|
-
"tailwindcss-multi-column": "^1.0.2",
|
|
45
|
-
"tailwindcss-scroll-snap": "^1.1.0",
|
|
46
|
-
"tailwindcss-textshadow": "^2.1.3",
|
|
47
43
|
"typeface-karla": "^1.1.13",
|
|
48
44
|
"typeface-roboto": "^1.1.13"
|
|
49
45
|
},
|
|
50
46
|
"devDependencies": {
|
|
51
|
-
"autoprefixer": "^10.
|
|
52
|
-
"postcss": "^8.
|
|
47
|
+
"autoprefixer": "^10.4.0",
|
|
48
|
+
"postcss": "^8.4.5",
|
|
53
49
|
"postcss-import": "^14.0.2",
|
|
54
|
-
"
|
|
55
|
-
"sass-extract": "^2.1.0",
|
|
56
|
-
"sass-loader": "^12.1.0",
|
|
57
|
-
"tailwindcss": "^2.2.7"
|
|
50
|
+
"tailwindcss": "^3.0.5"
|
|
58
51
|
}
|
|
59
52
|
}
|
package/tailwind.config.js
CHANGED
|
@@ -39,18 +39,9 @@ const minSize = {
|
|
|
39
39
|
|
|
40
40
|
module.exports = {
|
|
41
41
|
important: true,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
content: [
|
|
46
|
-
'./src/**/*.{js,jsx}',
|
|
47
|
-
],
|
|
48
|
-
variables: true,
|
|
49
|
-
options: {
|
|
50
|
-
keyframes: true,
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
darkMode: 'media',
|
|
42
|
+
content: [
|
|
43
|
+
'./src/**/*.{js,jsx}',
|
|
44
|
+
],
|
|
54
45
|
theme: {
|
|
55
46
|
colors: {
|
|
56
47
|
transparent: 'transparent',
|
|
@@ -61,7 +52,9 @@ module.exports = {
|
|
|
61
52
|
fontFamily: {
|
|
62
53
|
...fontFamily,
|
|
63
54
|
},
|
|
64
|
-
screens:
|
|
55
|
+
screens: {
|
|
56
|
+
...mediaQueries,
|
|
57
|
+
},
|
|
65
58
|
transitionTimingFunction: {
|
|
66
59
|
...ease,
|
|
67
60
|
},
|
|
@@ -136,18 +129,4 @@ module.exports = {
|
|
|
136
129
|
},
|
|
137
130
|
},
|
|
138
131
|
},
|
|
139
|
-
variants: {
|
|
140
|
-
extend: {
|
|
141
|
-
backgroundColor: ['group-hover'],
|
|
142
|
-
borderColor: ['group-hover'],
|
|
143
|
-
margin: ['first', 'last'],
|
|
144
|
-
textColor: ['group-hover'],
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
plugins: [
|
|
148
|
-
require('@tailwindcss/aspect-ratio'),
|
|
149
|
-
require('tailwindcss-multi-column')(),
|
|
150
|
-
require('tailwindcss-scroll-snap'),
|
|
151
|
-
require('tailwindcss-textshadow'),
|
|
152
|
-
],
|
|
153
132
|
}
|