@maggioli-design-system/styles 5.0.1 → 6.1.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.
@@ -71,7 +71,6 @@
71
71
  .text-secondary-paragraph {
72
72
  font-family: Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
73
73
  font-size: 1.25rem;
74
- line-height: 1.75rem;
75
74
  line-height: 2rem;
76
75
  -webkit-font-smoothing: antialiased;
77
76
  -moz-osx-font-smoothing: grayscale
@@ -104,6 +104,13 @@
104
104
  uppercase;
105
105
  }
106
106
 
107
+ .text-secondary-tip {
108
+ @apply
109
+ antialiased
110
+ font-secondary
111
+ text-xs;
112
+ }
113
+
107
114
  .text-mono-code {
108
115
  @apply
109
116
  antialiased
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/styles",
3
- "version": "5.0.1",
3
+ "version": "6.1.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
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.1.0",
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.3.1",
52
- "postcss": "^8.3.5",
47
+ "autoprefixer": "^10.4.0",
48
+ "postcss": "^8.4.5",
53
49
  "postcss-import": "^14.0.2",
54
- "sass": "^1.35.1",
55
- "sass-extract": "^2.1.0",
56
- "sass-loader": "^12.1.0",
57
- "tailwindcss": "^2.2.7"
50
+ "tailwindcss": "^3.0.13"
58
51
  }
59
52
  }
@@ -39,18 +39,9 @@ const minSize = {
39
39
 
40
40
  module.exports = {
41
41
  important: true,
42
- mode: 'jit',
43
- purge: {
44
- mode: 'all',
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: mediaQueries,
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
  }