@krosoft/react 0.0.71 → 0.0.72

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.
@@ -26,7 +26,7 @@
26
26
  * ```
27
27
  */
28
28
  declare const krosoftPreset: {
29
- darkMode: "class";
29
+ darkMode: ["class", string];
30
30
  content: string[];
31
31
  theme: {
32
32
  container: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tailwind/index.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoED,CAAC;AAEnB,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tailwind/index.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsED,CAAC;AAEnB,eAAe,aAAa,CAAC"}
@@ -1,5 +1,7 @@
1
1
  const r = {
2
- darkMode: "class",
2
+ // [class*='dark'] is the CSS equivalent of ".dark*" — matches any class containing "dark"
3
+ // (e.g. "dark", "dark-temporal", "dark-forest"…). CSS has no .dark* wildcard syntax.
4
+ darkMode: ["class", "[class*='dark']"],
3
5
  content: ["./node_modules/@krosoft/react/dist/**/*.js"],
4
6
  theme: {
5
7
  container: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krosoft/react",
3
- "version": "0.0.71",
3
+ "version": "0.0.72",
4
4
  "description": "Krosoft shared React package",
5
5
  "type": "module",
6
6
  "scripts": {