@classic-homes/theme-tailwind-preset 0.3.0 → 0.4.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.
Files changed (2) hide show
  1. package/index.js +16 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -77,6 +77,15 @@ module.exports = {
77
77
  border: 'hsl(var(--border))',
78
78
  input: 'hsl(var(--input))',
79
79
  ring: 'hsl(var(--ring))',
80
+ outline: {
81
+ DEFAULT: 'hsl(var(--outline))',
82
+ hover: 'hsl(var(--outline-hover))',
83
+ },
84
+ toolbar: {
85
+ DEFAULT: 'hsl(var(--toolbar))',
86
+ foreground: 'hsl(var(--toolbar-foreground))',
87
+ border: 'hsl(var(--toolbar-border))',
88
+ },
80
89
  background: {
81
90
  DEFAULT: 'hsl(var(--background))',
82
91
  hover: 'hsl(var(--background-hover))',
@@ -92,6 +101,8 @@ module.exports = {
92
101
  DEFAULT: 'hsl(var(--secondary))',
93
102
  foreground: 'hsl(var(--secondary-foreground))',
94
103
  hover: 'hsl(var(--secondary-hover))',
104
+ border: 'hsl(var(--secondary-border))',
105
+ soft: 'hsl(var(--secondary-soft))',
95
106
  },
96
107
  destructive: {
97
108
  DEFAULT: 'hsl(var(--destructive))',
@@ -183,12 +194,13 @@ module.exports = {
183
194
 
184
195
  fontSize: {
185
196
  ...tokens.fontSize,
186
- // Heading sizes for typography scale
187
- h1: ['2.25rem', { lineHeight: '2.5rem', fontWeight: '600' }], // 36px
188
- h2: ['1.875rem', { lineHeight: '2.25rem', fontWeight: '600' }], // 30px
197
+ // Heading sizes for typography scale (mirrors theme-styles base.css).
198
+ // h1 pairs with `font-serif italic` (Spectral 500); h2-h6 are Figtree 600.
199
+ h1: ['2.5rem', { lineHeight: '2rem', fontWeight: '500' }], // 40px
200
+ h2: ['1.75rem', { lineHeight: '2.25rem', fontWeight: '600' }], // 28px
189
201
  h3: ['1.5rem', { lineHeight: '2rem', fontWeight: '600' }], // 24px
190
202
  h4: ['1.25rem', { lineHeight: '1.75rem', fontWeight: '600' }], // 20px
191
- h5: ['1.125rem', { lineHeight: '1.75rem', fontWeight: '600' }], // 18px
203
+ h5: ['1.125rem', { lineHeight: '1.5rem', fontWeight: '600' }], // 18px
192
204
  h6: ['1rem', { lineHeight: '1.5rem', fontWeight: '600' }], // 16px
193
205
  },
194
206
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/theme-tailwind-preset",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Tailwind CSS preset for the Classic theme system",
5
5
  "main": "index.js",
6
6
  "sideEffects": false,