@classic-homes/theme-tailwind-preset 0.4.1 → 0.4.2

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/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -42,7 +42,8 @@ const tokens = require('@classic-homes/theme-tokens');
42
42
  // Exposed as `text-h1`..`text-h6` and emitted on the bare elements by
43
43
  // `headingBase` below, so the two never drift.
44
44
  const headingScale = {
45
- h1: ['2.5rem', { lineHeight: '2rem', fontWeight: '500' }], // 40px
45
+ // 2.75rem leading: a 2rem line on 40px type made wrapped titles overlap
46
+ h1: ['2.5rem', { lineHeight: '2.75rem', fontWeight: '500' }], // 40px
46
47
  h2: ['1.75rem', { lineHeight: '2.25rem', fontWeight: '600' }], // 28px
47
48
  h3: ['1.5rem', { lineHeight: '2rem', fontWeight: '600' }], // 24px
48
49
  h4: ['1.25rem', { lineHeight: '1.75rem', fontWeight: '600' }], // 20px
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/theme-tailwind-preset",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Tailwind CSS preset for the Classic theme system",
5
5
  "main": "index.js",
6
6
  "sideEffects": false,