@obosbbl/grunnmuren-tailwind 0.4.0 → 0.4.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/package.json +2 -2
- package/tailwind-base.cjs +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obosbbl/grunnmuren-tailwind",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Grunnmuren Tailwind preset",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@tailwindcss/typography": "0.5.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"tailwindcss": "3.
|
|
22
|
+
"tailwindcss": "3.1.4"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"tailwindcss": "^3"
|
package/tailwind-base.cjs
CHANGED
|
@@ -167,14 +167,14 @@ module.exports = (userOptions) => {
|
|
|
167
167
|
const opts = userOptions ? { ...defaultOpts, ...userOptions } : defaultOpts;
|
|
168
168
|
let fontFamily = 'OBOSFont';
|
|
169
169
|
let fonts = obosFonts;
|
|
170
|
-
let containerSize = '
|
|
170
|
+
let containerSize = '92rem';
|
|
171
171
|
if (opts.useLegacyFont) {
|
|
172
172
|
fontFamily = 'Gordita';
|
|
173
173
|
fonts = gorditaFonts;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
if (opts.useLegacyContainerSize) {
|
|
177
|
-
containerSize = '
|
|
177
|
+
containerSize = '82rem';
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
return {
|
|
@@ -221,7 +221,7 @@ module.exports = (userOptions) => {
|
|
|
221
221
|
paddingRight: '1rem',
|
|
222
222
|
marginLeft: 'auto',
|
|
223
223
|
marginRight: 'auto',
|
|
224
|
-
maxWidth: '
|
|
224
|
+
maxWidth: '39rem',
|
|
225
225
|
},
|
|
226
226
|
// that thin blue line at the top
|
|
227
227
|
'.topline::before': {
|