@classic-homes/theme-tailwind-preset 0.2.0 → 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.
- package/index.js +6 -0
- 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: {
|