@obosbbl/grunnmuren-tailwind 0.7.1 → 0.7.3
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 +13 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obosbbl/grunnmuren-tailwind",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Grunnmuren Tailwind preset",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"tailwindcss": "3.1.8",
|
|
23
|
-
"postcss": "8.4.
|
|
23
|
+
"postcss": "8.4.18"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"tailwindcss": "^3"
|
package/tailwind-base.cjs
CHANGED
|
@@ -296,7 +296,7 @@ module.exports = (userOptions) => {
|
|
|
296
296
|
paddingRight: '1rem',
|
|
297
297
|
marginLeft: 'auto',
|
|
298
298
|
marginRight: 'auto',
|
|
299
|
-
maxWidth: '
|
|
299
|
+
maxWidth: '43.5rem',
|
|
300
300
|
},
|
|
301
301
|
// that thin blue line at the top
|
|
302
302
|
'.topline::before': {
|
|
@@ -439,6 +439,8 @@ module.exports = (userOptions) => {
|
|
|
439
439
|
css: {
|
|
440
440
|
'--tw-prose-headings': theme('colors.black'),
|
|
441
441
|
'--tw-prose-lead': theme('colors.black'),
|
|
442
|
+
'--tw-prose-quotes': theme('colors.blue.dark'),
|
|
443
|
+
'--tw-prose-quote-borders': theme('colors.green.DEFAULT'),
|
|
442
444
|
// TODO: Increase bullet size. See design sketches
|
|
443
445
|
'--tw-prose-bullets': theme('colors.green.DEFAULT'),
|
|
444
446
|
color: theme('colors.black'),
|
|
@@ -462,6 +464,16 @@ module.exports = (userOptions) => {
|
|
|
462
464
|
marginTop: '1.5em',
|
|
463
465
|
marginBottom: '1.5em',
|
|
464
466
|
},
|
|
467
|
+
blockquote: {
|
|
468
|
+
fontWeight: '700',
|
|
469
|
+
fontStyle: 'normal',
|
|
470
|
+
},
|
|
471
|
+
'blockquote p:first-of-type::before': {
|
|
472
|
+
content: '"«"',
|
|
473
|
+
},
|
|
474
|
+
'blockquote p:last-of-type::after': {
|
|
475
|
+
content: '"»"',
|
|
476
|
+
},
|
|
465
477
|
'[class~="lead"]': {
|
|
466
478
|
fontWeight: 500,
|
|
467
479
|
},
|