@marianmeres/stuic 1.15.0 → 1.16.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.
@@ -11,7 +11,8 @@ export class SwitchConfig {
11
11
  hover:brightness-[1.05] active:brightness-[0.95]
12
12
  disabled:!cursor-not-allowed disabled:!opacity-50 disabled:hover:brightness-100
13
13
 
14
- bg-zinc-300 data-[checked=true]:bg-zinc-600
14
+ bg-zinc-300 dark:bg-zinc-700
15
+ data-[checked=true]:bg-zinc-700 dark:data-[checked=true]:bg-zinc-300
15
16
  `.trim();
16
17
  static presetsSize = {
17
18
  xs: "h-4 w-7",
@@ -29,7 +30,8 @@ export class SwitchConfig {
29
30
  translate-x-1 rounded-full
30
31
  transition-all duration-100
31
32
  shadow
32
- bg-white
33
+ bg-white dark:bg-black
34
+ text-black dark:text-white
33
35
  `.trim();
34
36
  static presetsSizeDot = {
35
37
  // size + translate-x = width
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package && node ./scripts/date.js",