@moduix/react 2.4.0 → 2.5.1

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.
@@ -1,31 +1,31 @@
1
- [data-moduix-theme="soft"] {
2
- --moduix-background: #fef8ff;
3
- --moduix-foreground: #201824;
4
- --moduix-card: #fffeff;
5
- --moduix-card-foreground: #201824;
6
- --moduix-popover: #fffeff;
7
- --moduix-popover-foreground: #201824;
8
- --moduix-primary: #884bc0;
9
- --moduix-primary-foreground: #fdfbfd;
10
- --moduix-secondary: #f7edf9;
11
- --moduix-secondary-foreground: #34283d;
12
- --moduix-muted: #f3ebf5;
13
- --moduix-muted-foreground: #6b5d71;
14
- --moduix-accent: #efddf7;
15
- --moduix-accent-foreground: #31253f;
16
- --moduix-border: #dfd2e2;
17
- --moduix-input: #d4c5d7;
18
- --moduix-ring: #9868ca;
19
- --moduix-overlay: #20162738;
20
- --moduix-overlay-foreground: #20162714;
21
- --moduix-sidebar: #fbf4fd;
22
- --moduix-sidebar-foreground: #201824;
23
- --moduix-sidebar-primary: #884bc0;
24
- --moduix-sidebar-primary-foreground: #fdfbfd;
25
- --moduix-sidebar-accent: #efddf7;
26
- --moduix-sidebar-accent-foreground: #31253f;
27
- --moduix-sidebar-border: #dfd2e2;
28
- --moduix-sidebar-ring: #9868ca;
1
+ [data-moduix-theme='soft'] {
2
+ --moduix-background: oklch(0.985 0.012 320);
3
+ --moduix-foreground: oklch(0.225 0.024 315);
4
+ --moduix-card: oklch(0.998 0.004 320);
5
+ --moduix-card-foreground: oklch(0.225 0.024 315);
6
+ --moduix-popover: oklch(0.998 0.004 320);
7
+ --moduix-popover-foreground: oklch(0.225 0.024 315);
8
+ --moduix-primary: oklch(0.54 0.18 305);
9
+ --moduix-primary-foreground: oklch(0.99 0.004 320);
10
+ --moduix-secondary: oklch(0.958 0.018 320);
11
+ --moduix-secondary-foreground: oklch(0.3 0.04 310);
12
+ --moduix-muted: oklch(0.95 0.016 320);
13
+ --moduix-muted-foreground: oklch(0.5 0.035 315);
14
+ --moduix-accent: oklch(0.92 0.04 315);
15
+ --moduix-accent-foreground: oklch(0.29 0.05 305);
16
+ --moduix-border: oklch(0.88 0.025 320);
17
+ --moduix-input: oklch(0.84 0.03 320);
18
+ --moduix-ring: oklch(0.61 0.15 305);
19
+ --moduix-overlay: oklch(0.22 0.035 310 / 0.22);
20
+ --moduix-overlay-foreground: oklch(0.22 0.035 310 / 0.08);
21
+ --moduix-sidebar: oklch(0.975 0.014 320);
22
+ --moduix-sidebar-foreground: oklch(0.225 0.024 315);
23
+ --moduix-sidebar-primary: oklch(0.54 0.18 305);
24
+ --moduix-sidebar-primary-foreground: oklch(0.99 0.004 320);
25
+ --moduix-sidebar-accent: oklch(0.92 0.04 315);
26
+ --moduix-sidebar-accent-foreground: oklch(0.29 0.05 305);
27
+ --moduix-sidebar-border: oklch(0.88 0.025 320);
28
+ --moduix-sidebar-ring: oklch(0.61 0.15 305);
29
29
  --moduix-radius: 1rem;
30
30
  --moduix-spacing-2: 9px;
31
31
  --moduix-spacing-3: 14px;
@@ -39,105 +39,39 @@
39
39
  --moduix-size-md: 40px;
40
40
  --moduix-size-lg: 44px;
41
41
  --moduix-size-xl: 52px;
42
- --moduix-shadow-sm: 0 2px 6px #61236b14;
43
- --moduix-shadow-md: 0 8px 18px #61236b1f;
44
- --moduix-shadow-lg: 0 18px 38px #61236b29;
45
- }
42
+ --moduix-shadow-sm: 0 2px 6px rgb(97 35 107 / 0.08);
43
+ --moduix-shadow-md: 0 8px 18px rgb(97 35 107 / 0.12);
44
+ --moduix-shadow-lg: 0 18px 38px rgb(97 35 107 / 0.16);
46
45
 
47
- @supports (color: lab(0% 0 0)) {
48
- [data-moduix-theme="soft"] {
49
- --moduix-background: lab(98.1026% 3.14552 -2.8966);
50
- --moduix-foreground: lab(9.77332% 5.96304 -6.24471);
51
- --moduix-card: lab(99.7158% 1.04758 -.967503);
52
- --moduix-card-foreground: lab(9.77332% 5.96304 -6.24471);
53
- --moduix-popover: lab(99.7158% 1.04758 -.967503);
54
- --moduix-popover-foreground: lab(9.77332% 5.96304 -6.24471);
55
- --moduix-primary: lab(43.7253% 43.1212 -52.6342);
56
- --moduix-primary-foreground: lab(98.7878% 1.04755 -.967491);
57
- --moduix-secondary: lab(94.891% 4.72173 -4.33797);
58
- --moduix-secondary-foreground: lab(18.2563% 9.30683 -11.2088);
59
- --moduix-muted: lab(93.9896% 4.1962 -3.85778);
60
- --moduix-muted-foreground: lab(41.5358% 8.61768 -9.17475);
61
- --moduix-accent: lab(90.1994% 9.78509 -10.5495);
62
- --moduix-accent-foreground: lab(16.9528% 10.9317 -14.866);
63
- --moduix-border: lab(85.7491% 6.56518 -6.01138);
64
- --moduix-input: lab(81.0413% 7.88492 -7.2017);
65
- --moduix-ring: lab(52.5385% 34.208 -44.1752);
66
- --moduix-overlay: lab(9.03362% 8.22794 -9.76513 / .22);
67
- --moduix-overlay-foreground: lab(9.03362% 8.22794 -9.76513 / .08);
68
- --moduix-sidebar: lab(96.9162% 3.67063 -3.37759);
69
- --moduix-sidebar-foreground: lab(9.77332% 5.96304 -6.24471);
70
- --moduix-sidebar-primary: lab(43.7253% 43.1212 -52.6342);
71
- --moduix-sidebar-primary-foreground: lab(98.7878% 1.04755 -.967491);
72
- --moduix-sidebar-accent: lab(90.1994% 9.78509 -10.5495);
73
- --moduix-sidebar-accent-foreground: lab(16.9528% 10.9317 -14.866);
74
- --moduix-sidebar-border: lab(85.7491% 6.56518 -6.01138);
75
- --moduix-sidebar-ring: lab(52.5385% 34.208 -44.1752);
46
+ &[data-moduix-color-scheme='dark'],
47
+ [data-moduix-color-scheme='dark'] {
48
+ color-scheme: dark;
49
+ --moduix-background: oklch(0.17 0.018 315);
50
+ --moduix-foreground: oklch(0.972 0.006 320);
51
+ --moduix-card: oklch(0.22 0.022 315);
52
+ --moduix-card-foreground: oklch(0.972 0.006 320);
53
+ --moduix-popover: oklch(0.22 0.022 315);
54
+ --moduix-popover-foreground: oklch(0.972 0.006 320);
55
+ --moduix-primary: oklch(0.78 0.13 305);
56
+ --moduix-primary-foreground: oklch(0.23 0.026 315);
57
+ --moduix-secondary: oklch(0.285 0.03 315);
58
+ --moduix-secondary-foreground: oklch(0.972 0.006 320);
59
+ --moduix-muted: oklch(0.275 0.026 315);
60
+ --moduix-muted-foreground: oklch(0.74 0.03 320);
61
+ --moduix-accent: oklch(0.34 0.06 310);
62
+ --moduix-accent-foreground: oklch(0.972 0.006 320);
63
+ --moduix-border: oklch(0.76 0.035 320 / 0.24);
64
+ --moduix-input: oklch(0.76 0.035 320 / 0.3);
65
+ --moduix-ring: oklch(0.74 0.11 305);
66
+ --moduix-overlay: oklch(0.1 0.02 315 / 0.8);
67
+ --moduix-overlay-foreground: oklch(0.972 0.006 320 / 0.1);
68
+ --moduix-sidebar: oklch(0.2 0.022 315);
69
+ --moduix-sidebar-foreground: oklch(0.972 0.006 320);
70
+ --moduix-sidebar-primary: oklch(0.78 0.13 305);
71
+ --moduix-sidebar-primary-foreground: oklch(0.23 0.026 315);
72
+ --moduix-sidebar-accent: oklch(0.34 0.06 310);
73
+ --moduix-sidebar-accent-foreground: oklch(0.972 0.006 320);
74
+ --moduix-sidebar-border: oklch(0.76 0.035 320 / 0.24);
75
+ --moduix-sidebar-ring: oklch(0.74 0.11 305);
76
76
  }
77
- }
78
-
79
- [data-moduix-theme="soft"][data-moduix-color-scheme="dark"], [data-moduix-theme="soft"] [data-moduix-color-scheme="dark"] {
80
- --lightningcss-light: ;
81
- --lightningcss-dark: initial;
82
- color-scheme: dark;
83
- --moduix-background: #120d15;
84
- --moduix-foreground: #f8f4f8;
85
- --moduix-card: #1e1822;
86
- --moduix-card-foreground: #f8f4f8;
87
- --moduix-popover: #1e1822;
88
- --moduix-popover-foreground: #f8f4f8;
89
- --moduix-primary: #cba1fa;
90
- --moduix-primary-foreground: #221925;
91
- --moduix-secondary: #302634;
92
- --moduix-secondary-foreground: #f8f4f8;
93
- --moduix-muted: #2d2431;
94
- --moduix-muted-foreground: #b4a5b7;
95
- --moduix-accent: #412f4f;
96
- --moduix-accent-foreground: #f8f4f8;
97
- --moduix-border: #bbaabf3d;
98
- --moduix-input: #bbaabf4d;
99
- --moduix-ring: #bb99e3;
100
- --moduix-overlay: #050207cc;
101
- --moduix-overlay-foreground: #f8f4f81a;
102
- --moduix-sidebar: #1a131d;
103
- --moduix-sidebar-foreground: #f8f4f8;
104
- --moduix-sidebar-primary: #cba1fa;
105
- --moduix-sidebar-primary-foreground: #221925;
106
- --moduix-sidebar-accent: #412f4f;
107
- --moduix-sidebar-accent-foreground: #f8f4f8;
108
- --moduix-sidebar-border: #bbaabf3d;
109
- --moduix-sidebar-ring: #bb99e3;
110
- }
111
-
112
- @supports (color: lab(0% 0 0)) {
113
- [data-moduix-theme="soft"][data-moduix-color-scheme="dark"], [data-moduix-theme="soft"] [data-moduix-color-scheme="dark"] {
114
- --moduix-background: lab(4.27462% 3.10393 -3.53473);
115
- --moduix-foreground: lab(96.6736% 1.57163 -1.45046);
116
- --moduix-card: lab(9.22196% 5.45708 -5.73159);
117
- --moduix-card-foreground: lab(96.6736% 1.57163 -1.45046);
118
- --moduix-popover: lab(9.22196% 5.45708 -5.73159);
119
- --moduix-popover-foreground: lab(96.6736% 1.57163 -1.45046);
120
- --moduix-primary: lab(72.7036% 28.3277 -38.6867);
121
- --moduix-primary-foreground: lab(10.3245% 6.47023 -6.7571);
122
- --moduix-secondary: lab(16.6521% 7.45122 -7.80795);
123
- --moduix-secondary-foreground: lab(96.6736% 1.57163 -1.45046);
124
- --moduix-muted: lab(15.5491% 6.44058 -6.78092);
125
- --moduix-muted-foreground: lab(69.4402% 7.88933 -7.19396);
126
- --moduix-accent: lab(22.5936% 14.2035 -16.6957);
127
- --moduix-accent-foreground: lab(96.6736% 1.57163 -1.45046);
128
- --moduix-border: lab(71.6921% 9.21014 -8.38288 / .24);
129
- --moduix-input: lab(71.6921% 9.21014 -8.38288 / .3);
130
- --moduix-ring: lab(68.3641% 23.7194 -32.8336);
131
- --moduix-overlay: lab(.836973% 1.25162 -1.46449 / .8);
132
- --moduix-overlay-foreground: lab(96.6736% 1.57163 -1.45046 / .1);
133
- --moduix-sidebar: lab(6.9495% 5.25659 -5.63513);
134
- --moduix-sidebar-foreground: lab(96.6736% 1.57163 -1.45046);
135
- --moduix-sidebar-primary: lab(72.7036% 28.3277 -38.6867);
136
- --moduix-sidebar-primary-foreground: lab(10.3245% 6.47023 -6.7571);
137
- --moduix-sidebar-accent: lab(22.5936% 14.2035 -16.6957);
138
- --moduix-sidebar-accent-foreground: lab(96.6736% 1.57163 -1.45046);
139
- --moduix-sidebar-border: lab(71.6921% 9.21014 -8.38288 / .24);
140
- --moduix-sidebar-ring: lab(68.3641% 23.7194 -32.8336);
141
- }
142
- }
143
-
77
+ }
@@ -1,6 +1,6 @@
1
1
  @keyframes moduix-pulse {
2
2
  50% {
3
- opacity: .3;
3
+ opacity: 0.3;
4
4
  }
5
5
  }
6
6
 
@@ -14,7 +14,6 @@
14
14
  from {
15
15
  opacity: 1;
16
16
  }
17
-
18
17
  to {
19
18
  opacity: 0;
20
19
  }
@@ -22,15 +21,15 @@
22
21
 
23
22
  @keyframes moduix-slide-up {
24
23
  from {
25
- opacity: 0;
26
24
  transform: translateY(4px);
25
+ opacity: 0;
27
26
  }
28
27
  }
29
28
 
30
29
  @keyframes moduix-slide-down {
31
30
  from {
32
- opacity: 0;
33
31
  transform: translateY(-4px);
32
+ opacity: 0;
34
33
  }
35
34
  }
36
35
 
@@ -47,7 +46,7 @@
47
46
  --moduix-animation-slide-up: moduix-slide-up var(--moduix-duration-normal) var(--moduix-ease-out);
48
47
  --moduix-animation-slide-down: moduix-slide-down var(--moduix-duration-normal)
49
48
  var(--moduix-ease-out);
50
- --moduix-animation-spin: moduix-spin .75s linear infinite;
49
+ --moduix-animation-spin: moduix-spin 0.75s linear infinite;
51
50
  }
52
51
 
53
52
  @media (prefers-reduced-motion: reduce) {
@@ -59,5 +58,4 @@
59
58
  --moduix-animation-slide-down: none;
60
59
  --moduix-animation-spin: none;
61
60
  }
62
- }
63
-
61
+ }
@@ -2,9 +2,9 @@
2
2
  --moduix-border-width-sm: 1px;
3
3
  --moduix-border-width-md: 2px;
4
4
  --moduix-border-width-lg: 4px;
5
+
5
6
  --moduix-focus-ring-width: var(--moduix-border-width-md);
6
7
  --moduix-focus-ring-inset-width: var(--moduix-border-width-sm);
7
8
  --moduix-focus-ring-offset: var(--moduix-spacing-0-5);
8
9
  --moduix-focus-ring-inset-offset: calc(var(--moduix-border-width-sm) * -1);
9
- }
10
-
10
+ }
@@ -1,171 +1,88 @@
1
1
  :root {
2
- --moduix-background: #f9f9fb;
3
- --moduix-foreground: #101015;
4
- --moduix-card: #fdfdff;
5
- --moduix-card-foreground: #101015;
6
- --moduix-popover: #fdfdff;
7
- --moduix-popover-foreground: #101015;
8
- --moduix-primary: #1d1d25;
9
- --moduix-primary-foreground: #f9f9fb;
10
- --moduix-secondary: #f1f1f6;
11
- --moduix-secondary-foreground: #1d1d25;
12
- --moduix-muted: #eff0f4;
13
- --moduix-muted-foreground: #5e5e67;
14
- --moduix-accent: #edeef5;
15
- --moduix-accent-foreground: #1d1d25;
16
- --moduix-destructive: #dc0031;
2
+ --moduix-background: oklch(0.982 0.003 285);
3
+ --moduix-foreground: oklch(0.175 0.01 285);
4
+ --moduix-card: oklch(0.995 0.002 285);
5
+ --moduix-card-foreground: oklch(0.175 0.01 285);
6
+ --moduix-popover: oklch(0.995 0.002 285);
7
+ --moduix-popover-foreground: oklch(0.175 0.01 285);
8
+ --moduix-primary: oklch(0.235 0.016 285);
9
+ --moduix-primary-foreground: oklch(0.982 0.003 285);
10
+ --moduix-secondary: oklch(0.96 0.006 285);
11
+ --moduix-secondary-foreground: oklch(0.235 0.016 285);
12
+ --moduix-muted: oklch(0.955 0.006 285);
13
+ --moduix-muted-foreground: oklch(0.485 0.015 285);
14
+ --moduix-accent: oklch(0.95 0.01 285);
15
+ --moduix-accent-foreground: oklch(0.235 0.016 285);
16
+ --moduix-destructive: oklch(0.565 0.235 22);
17
17
  --moduix-destructive-foreground: var(--moduix-primary-foreground);
18
- --moduix-success: #00a544;
19
- --moduix-warning: #edb200;
20
- --moduix-border: #dfdfe5;
21
- --moduix-input: #dfdfe5;
22
- --moduix-ring: #83849b;
23
- --moduix-overlay: #10101633;
24
- --moduix-overlay-foreground: #10101612;
25
- --moduix-chart-1: #9973ef;
26
- --moduix-chart-2: #00b99a;
27
- --moduix-chart-3: #ef852e;
28
- --moduix-chart-4: #d13d91;
29
- --moduix-chart-5: #7da84c;
30
- --moduix-sidebar: #f6f6fa;
31
- --moduix-sidebar-foreground: #101015;
32
- --moduix-sidebar-primary: #1d1d25;
33
- --moduix-sidebar-primary-foreground: #f9f9fb;
34
- --moduix-sidebar-accent: #edeef5;
35
- --moduix-sidebar-accent-foreground: #1d1d25;
36
- --moduix-sidebar-border: #dfdfe5;
37
- --moduix-sidebar-ring: #83849b;
38
- }
18
+ --moduix-success: oklch(0.627 0.194 149.214);
19
+ --moduix-warning: oklch(0.795 0.184 86.047);
20
+ --moduix-border: oklch(0.905 0.008 285);
21
+ --moduix-input: oklch(0.905 0.008 285);
22
+ --moduix-ring: oklch(0.62 0.035 285);
23
+ --moduix-overlay: oklch(0.175 0.014 285 / 0.2);
24
+ --moduix-overlay-foreground: oklch(0.175 0.014 285 / 0.07);
25
+ --moduix-chart-1: oklch(0.65 0.18 295);
26
+ --moduix-chart-2: oklch(0.7 0.14 175);
27
+ --moduix-chart-3: oklch(0.72 0.16 55);
28
+ --moduix-chart-4: oklch(0.6 0.2 350);
29
+ --moduix-chart-5: oklch(0.68 0.13 130);
30
+ --moduix-sidebar: oklch(0.975 0.005 285);
31
+ --moduix-sidebar-foreground: oklch(0.175 0.01 285);
32
+ --moduix-sidebar-primary: oklch(0.235 0.016 285);
33
+ --moduix-sidebar-primary-foreground: oklch(0.982 0.003 285);
34
+ --moduix-sidebar-accent: oklch(0.95 0.01 285);
35
+ --moduix-sidebar-accent-foreground: oklch(0.235 0.016 285);
36
+ --moduix-sidebar-border: oklch(0.905 0.008 285);
37
+ --moduix-sidebar-ring: oklch(0.62 0.035 285);
39
38
 
40
- @supports (color: lab(0% 0 0)) {
41
- :root {
42
- --moduix-background: lab(97.8868% .276119 -1.09879);
43
- --moduix-foreground: lab(4.77477% .753664 -2.8157);
44
- --moduix-card: lab(99.4032% .183612 -.732851);
45
- --moduix-card-foreground: lab(4.77477% .753664 -2.8157);
46
- --moduix-popover: lab(99.4032% .183612 -.732851);
47
- --moduix-popover-foreground: lab(4.77477% .753664 -2.8157);
48
- --moduix-primary: lab(11.108% 1.72348 -5.72367);
49
- --moduix-primary-foreground: lab(97.8868% .276119 -1.09879);
50
- --moduix-secondary: lab(95.3092% .556827 -2.19457);
51
- --moduix-secondary-foreground: lab(11.108% 1.72348 -5.72367);
52
- --moduix-muted: lab(94.7292% .556916 -2.19454);
53
- --moduix-muted-foreground: lab(40.1269% 1.4805 -5.43306);
54
- --moduix-accent: lab(94.1146% .938207 -3.65106);
55
- --moduix-accent-foreground: lab(11.108% 1.72348 -5.72367);
56
- --moduix-destructive: lab(47.0493% 75.2533 42.9314);
57
- --moduix-success: lab(59.0978% -58.6621 41.2579);
58
- --moduix-warning: lab(76.3898% 14.5258 98.4589);
59
- --moduix-border: lab(88.9119% .747383 -2.9229);
60
- --moduix-input: lab(88.9119% .747383 -2.9229);
61
- --moduix-ring: lab(55.5944% 3.67066 -12.566);
62
- --moduix-overlay: lab(4.7445% 1.11303 -4.05285 / .2);
63
- --moduix-overlay-foreground: lab(4.7445% 1.11303 -4.05285 / .07);
64
- --moduix-chart-1: lab(56.7542% 35.894 -58.3247);
65
- --moduix-chart-2: lab(67.0098% -49.4925 4.26728);
66
- --moduix-chart-3: lab(66.6902% 37.2311 61.7785);
67
- --moduix-chart-4: lab(50.895% 63.3361 -12.3314);
68
- --moduix-chart-5: lab(64.2236% -26.5235 41.6585);
69
- --moduix-sidebar: lab(97.0578% .462711 -1.82967);
70
- --moduix-sidebar-foreground: lab(4.77477% .753664 -2.8157);
71
- --moduix-sidebar-primary: lab(11.108% 1.72348 -5.72367);
72
- --moduix-sidebar-primary-foreground: lab(97.8868% .276119 -1.09879);
73
- --moduix-sidebar-accent: lab(94.1146% .938207 -3.65106);
74
- --moduix-sidebar-accent-foreground: lab(11.108% 1.72348 -5.72367);
75
- --moduix-sidebar-border: lab(88.9119% .747383 -2.9229);
76
- --moduix-sidebar-ring: lab(55.5944% 3.67066 -12.566);
39
+ &[data-moduix-color-scheme='light'],
40
+ [data-moduix-color-scheme='light'] {
41
+ color-scheme: light;
77
42
  }
78
- }
79
43
 
80
- :root[data-moduix-color-scheme="light"], :root [data-moduix-color-scheme="light"] {
81
- --lightningcss-light: initial;
82
- --lightningcss-dark: ;
83
- color-scheme: light;
84
- }
85
-
86
- :root[data-moduix-color-scheme="dark"], :root [data-moduix-color-scheme="dark"] {
87
- --lightningcss-light: ;
88
- --lightningcss-dark: initial;
89
- color-scheme: dark;
90
- --moduix-background: #0c0c10;
91
- --moduix-foreground: #f4f4f6;
92
- --moduix-card: #15151b;
93
- --moduix-card-foreground: #f4f4f6;
94
- --moduix-popover: #15151b;
95
- --moduix-popover-foreground: #f4f4f6;
96
- --moduix-primary: #e3e3e8;
97
- --moduix-primary-foreground: #15151b;
98
- --moduix-secondary: #222229;
99
- --moduix-secondary-foreground: #f4f4f6;
100
- --moduix-muted: #222229;
101
- --moduix-muted-foreground: #9f9faa;
102
- --moduix-accent: #2a2a33;
103
- --moduix-accent-foreground: #f4f4f6;
104
- --moduix-destructive: #f8616f;
105
- --moduix-destructive-foreground: var(--moduix-primary-foreground);
106
- --moduix-success: #00a544;
107
- --moduix-warning: #edb200;
108
- --moduix-border: #ffffff21;
109
- --moduix-input: #ffffff2b;
110
- --moduix-ring: #797992;
111
- --moduix-overlay: #040307bd;
112
- --moduix-overlay-foreground: #f4f4f617;
113
- --moduix-chart-1: #ad8dff;
114
- --moduix-chart-2: #37ccac;
115
- --moduix-chart-3: #ff9b51;
116
- --moduix-chart-4: #e65aa5;
117
- --moduix-chart-5: #92ba66;
118
- --moduix-sidebar: #15151b;
119
- --moduix-sidebar-foreground: #f4f4f6;
120
- --moduix-sidebar-primary: #ad8dff;
121
- --moduix-sidebar-primary-foreground: #0c0c10;
122
- --moduix-sidebar-accent: #2a2a33;
123
- --moduix-sidebar-accent-foreground: #f4f4f6;
124
- --moduix-sidebar-border: #ffffff21;
125
- --moduix-sidebar-ring: #797992;
126
- }
127
-
128
- @supports (color: lab(0% 0 0)) {
129
- :root[data-moduix-color-scheme="dark"], :root [data-moduix-color-scheme="dark"] {
130
- --moduix-background: lab(3.32254% .466786 -1.75522);
131
- --moduix-foreground: lab(96.2627% .276208 -1.09876);
132
- --moduix-card: lab(7.13143% 1.07729 -3.89344);
133
- --moduix-card-foreground: lab(96.2627% .276208 -1.09876);
134
- --moduix-popover: lab(7.13143% 1.07729 -3.89344);
135
- --moduix-popover-foreground: lab(96.2627% .276208 -1.09876);
136
- --moduix-primary: lab(90.4286% .651926 -2.55885);
137
- --moduix-primary-foreground: lab(7.13143% 1.07729 -3.89344);
138
- --moduix-secondary: lab(13.4703% 1.23115 -4.32171);
139
- --moduix-secondary-foreground: lab(96.2627% .276208 -1.09876);
140
- --moduix-muted: lab(13.4703% 1.23115 -4.32171);
141
- --moduix-muted-foreground: lab(65.6402% 1.54763 -5.81334);
142
- --moduix-accent: lab(17.5017% 1.55589 -5.39374);
143
- --moduix-accent-foreground: lab(96.2627% .276208 -1.09876);
144
- --moduix-destructive: lab(62.0549% 59.5703 24.4648);
145
- --moduix-success: lab(59.0978% -58.6621 41.2579);
146
- --moduix-warning: lab(76.3898% 14.5258 98.4589);
147
- --moduix-border: lab(99.9663% .369132 -1.46444 / .13);
148
- --moduix-input: lab(99.9663% .369132 -1.46444 / .17);
149
- --moduix-ring: lab(51.501% 4.0642 -13.6067);
150
- --moduix-overlay: lab(1.0141% .370815 -1.30305 / .74);
151
- --moduix-overlay-foreground: lab(96.2627% .276208 -1.09876 / .09);
152
- --moduix-chart-1: lab(65.1519% 32.5305 -55.3073);
153
- --moduix-chart-2: lab(73.8414% -45.6023 3.95186);
154
- --moduix-chart-3: lab(73.7456% 34.2033 54.931);
155
- --moduix-chart-4: lab(59.1573% 60.5605 -11.745);
156
- --moduix-chart-5: lab(71.1105% -24.7757 37.5748);
157
- --moduix-sidebar: lab(7.13143% 1.07729 -3.89344);
158
- --moduix-sidebar-foreground: lab(96.2627% .276208 -1.09876);
159
- --moduix-sidebar-primary: lab(65.1519% 32.5305 -55.3073);
160
- --moduix-sidebar-primary-foreground: lab(3.32254% .466786 -1.75522);
161
- --moduix-sidebar-accent: lab(17.5017% 1.55589 -5.39374);
162
- --moduix-sidebar-accent-foreground: lab(96.2627% .276208 -1.09876);
163
- --moduix-sidebar-border: lab(99.9663% .369132 -1.46444 / .13);
164
- --moduix-sidebar-ring: lab(51.501% 4.0642 -13.6067);
44
+ &[data-moduix-color-scheme='dark'],
45
+ [data-moduix-color-scheme='dark'] {
46
+ color-scheme: dark;
47
+ --moduix-background: oklch(0.155 0.008 285);
48
+ --moduix-foreground: oklch(0.968 0.003 285);
49
+ --moduix-card: oklch(0.2 0.011 285);
50
+ --moduix-card-foreground: oklch(0.968 0.003 285);
51
+ --moduix-popover: oklch(0.2 0.011 285);
52
+ --moduix-popover-foreground: oklch(0.968 0.003 285);
53
+ --moduix-primary: oklch(0.918 0.007 285);
54
+ --moduix-primary-foreground: oklch(0.2 0.011 285);
55
+ --moduix-secondary: oklch(0.255 0.012 285);
56
+ --moduix-secondary-foreground: oklch(0.968 0.003 285);
57
+ --moduix-muted: oklch(0.255 0.012 285);
58
+ --moduix-muted-foreground: oklch(0.705 0.016 285);
59
+ --moduix-accent: oklch(0.29 0.015 285);
60
+ --moduix-accent-foreground: oklch(0.968 0.003 285);
61
+ --moduix-destructive: oklch(0.69 0.185 18);
62
+ --moduix-destructive-foreground: var(--moduix-primary-foreground);
63
+ --moduix-success: oklch(0.627 0.194 149.214);
64
+ --moduix-warning: oklch(0.795 0.184 86.047);
65
+ --moduix-border: oklch(1 0.004 285 / 13%);
66
+ --moduix-input: oklch(1 0.004 285 / 17%);
67
+ --moduix-ring: oklch(0.585 0.038 285);
68
+ --moduix-overlay: oklch(0.105 0.012 285 / 0.74);
69
+ --moduix-overlay-foreground: oklch(0.968 0.003 285 / 0.09);
70
+ --moduix-chart-1: oklch(0.72 0.17 295);
71
+ --moduix-chart-2: oklch(0.76 0.13 175);
72
+ --moduix-chart-3: oklch(0.78 0.15 55);
73
+ --moduix-chart-4: oklch(0.67 0.19 350);
74
+ --moduix-chart-5: oklch(0.74 0.12 130);
75
+ --moduix-sidebar: oklch(0.2 0.011 285);
76
+ --moduix-sidebar-foreground: oklch(0.968 0.003 285);
77
+ --moduix-sidebar-primary: oklch(0.72 0.17 295);
78
+ --moduix-sidebar-primary-foreground: oklch(0.155 0.008 285);
79
+ --moduix-sidebar-accent: oklch(0.29 0.015 285);
80
+ --moduix-sidebar-accent-foreground: oklch(0.968 0.003 285);
81
+ --moduix-sidebar-border: oklch(1 0.004 285 / 13%);
82
+ --moduix-sidebar-ring: oklch(0.585 0.038 285);
165
83
  }
166
- }
167
84
 
168
- :root {
85
+ /* Semantic */
169
86
  --moduix-color-background: var(--moduix-background);
170
87
  --moduix-color-foreground: var(--moduix-foreground);
171
88
  --moduix-color-card: var(--moduix-card);
@@ -202,5 +119,4 @@
202
119
  --moduix-color-sidebar-accent-foreground: var(--moduix-sidebar-accent-foreground);
203
120
  --moduix-color-sidebar-border: var(--moduix-sidebar-border);
204
121
  --moduix-color-sidebar-ring: var(--moduix-sidebar-ring);
205
- }
206
-
122
+ }
@@ -1,6 +1,5 @@
1
1
  :root {
2
- --moduix-opacity-disabled: .5;
3
- --moduix-opacity-loading: .85;
4
- --moduix-opacity-hover: .9;
5
- }
6
-
2
+ --moduix-opacity-disabled: 0.5;
3
+ --moduix-opacity-loading: 0.85;
4
+ --moduix-opacity-hover: 0.9;
5
+ }
@@ -1,11 +1,11 @@
1
1
  :root {
2
- --moduix-radius: .625rem;
2
+ --moduix-radius: 0.625rem;
3
3
  --moduix-radius-none: 0;
4
- --moduix-radius-xs: calc(var(--moduix-radius) * .4);
5
- --moduix-radius-sm: calc(var(--moduix-radius) * .6);
6
- --moduix-radius-md: calc(var(--moduix-radius) * .8);
4
+
5
+ --moduix-radius-xs: calc(var(--moduix-radius) * 0.4);
6
+ --moduix-radius-sm: calc(var(--moduix-radius) * 0.6);
7
+ --moduix-radius-md: calc(var(--moduix-radius) * 0.8);
7
8
  --moduix-radius-lg: var(--moduix-radius);
8
9
  --moduix-radius-xl: calc(var(--moduix-radius) * 1.2);
9
10
  --moduix-radius-full: 9999px;
10
- }
11
-
11
+ }