@obosbbl/grunnmuren-tailwind 0.8.4 → 0.8.5

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 (2) hide show
  1. package/package.json +4 -4
  2. package/tailwind-base.cjs +22 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obosbbl/grunnmuren-tailwind",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "description": "Grunnmuren Tailwind preset",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -16,11 +16,11 @@
16
16
  ],
17
17
  "dependencies": {
18
18
  "@tailwindcss/aspect-ratio": "0.4.2",
19
- "@tailwindcss/typography": "0.5.8"
19
+ "@tailwindcss/typography": "0.5.9"
20
20
  },
21
21
  "devDependencies": {
22
- "tailwindcss": "3.2.4",
23
- "postcss": "8.4.19"
22
+ "tailwindcss": "3.2.7",
23
+ "postcss": "8.4.21"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "tailwindcss": "^3.2"
package/tailwind-base.cjs CHANGED
@@ -464,23 +464,39 @@ module.exports = (userOptions) => {
464
464
  fontWeight: 400,
465
465
  },
466
466
  h1: {
467
- fontWeight: 'bold',
467
+ fontWeight: theme('fontWeight.bold'),
468
+ fontSize: theme('fontSize.3xl'),
469
+ '@media (min-width: theme("screens.md"))': {
470
+ fontSize: theme('fontSize.5xl'),
471
+ },
468
472
  },
469
473
  h2: {
470
- fontWeight: 'bold',
474
+ fontWeight: theme('fontWeight.bold'),
475
+ fontSize: theme('fontSize.2xl'),
476
+ '@media (min-width: theme("screens.md"))': {
477
+ fontSize: theme('fontSize.4xl'),
478
+ },
471
479
  },
472
480
  h3: {
473
- fontWeight: 'bold',
481
+ fontWeight: theme('fontWeight.bold'),
482
+ fontSize: theme('fontSize.xl'),
483
+ '@media (min-width: theme("screens.md"))': {
484
+ fontSize: theme('fontSize.2xl'),
485
+ },
474
486
  },
475
487
  h4: {
476
- fontWeight: 'bold',
488
+ fontWeight: theme('fontWeight.bold'),
489
+ fontSize: theme('fontSize.lg'),
490
+ '@media (min-width: theme("screens.md"))': {
491
+ fontSize: theme('fontSize.xl'),
492
+ },
477
493
  },
478
494
  li: {
479
495
  marginTop: '1.5em',
480
496
  marginBottom: '1.5em',
481
497
  },
482
498
  blockquote: {
483
- fontWeight: '700',
499
+ fontWeight: theme('fontWeight.bold'),
484
500
  fontStyle: 'normal',
485
501
  },
486
502
  'blockquote p:first-of-type::before': {
@@ -490,7 +506,7 @@ module.exports = (userOptions) => {
490
506
  content: '"»"',
491
507
  },
492
508
  '[class~="lead"]': {
493
- fontWeight: 500,
509
+ fontWeight: theme('fontWeight.medium'),
494
510
  },
495
511
  },
496
512
  },