@classic-homes/theme-tailwind-preset 0.1.54 → 0.3.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 +8 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -25,6 +25,12 @@ module.exports = {
25
25
  // Enable dark mode via class on <html> element
26
26
  darkMode: ['class'],
27
27
 
28
+ future: {
29
+ // Gate hover:/group-hover: styles behind @media (hover: hover) and (pointer: fine)
30
+ // so touch devices never enter a sticky hover state (iOS double-tap on nav items).
31
+ hoverOnlyWhenSupported: true,
32
+ },
33
+
28
34
  theme: {
29
35
  // Container with brand max-widths
30
36
  container: {
@@ -196,6 +202,8 @@ module.exports = {
196
202
 
197
203
  zIndex: tokens.zIndex,
198
204
 
205
+ aspectRatio: tokens.aspectRatio,
206
+
199
207
  screens: tokens.breakpoints,
200
208
 
201
209
  transitionDuration: tokens.transition.duration,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/theme-tailwind-preset",
3
- "version": "0.1.54",
3
+ "version": "0.3.0",
4
4
  "description": "Tailwind CSS preset for the Classic theme system",
5
5
  "main": "index.js",
6
6
  "sideEffects": false,