@nextsparkjs/theme-crm 0.1.0-beta.91 → 0.1.0-beta.94
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/package.json +1 -1
- package/styles/globals.css +14 -0
package/package.json
CHANGED
package/styles/globals.css
CHANGED
|
@@ -14,6 +14,20 @@
|
|
|
14
14
|
IMPORTS
|
|
15
15
|
============================================= */
|
|
16
16
|
@import "tailwindcss";
|
|
17
|
+
|
|
18
|
+
/* =============================================
|
|
19
|
+
TAILWIND v4 DARK MODE CONFIGURATION
|
|
20
|
+
|
|
21
|
+
Por defecto Tailwind v4 usa @media (prefers-color-scheme: dark)
|
|
22
|
+
para las variantes dark:. Esto causa problemas porque:
|
|
23
|
+
- next-themes usa la clase .dark en el HTML
|
|
24
|
+
- El sistema operativo puede tener dark mode aunque la app use light
|
|
25
|
+
|
|
26
|
+
Esta configuración hace que Tailwind use el selector de clase .dark
|
|
27
|
+
en lugar de la media query, sincronizándose con next-themes.
|
|
28
|
+
============================================= */
|
|
29
|
+
@custom-variant dark (&:where(.dark, .dark *));
|
|
30
|
+
|
|
17
31
|
@plugin "@tailwindcss/container-queries";
|
|
18
32
|
@import "@nextsparkjs/core/styles/ui.css";
|
|
19
33
|
@import "@nextsparkjs/core/styles/utilities.css";
|