dozy 1.0.23 → 1.0.24

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,4 +1,46 @@
1
- @import './cover.css';
1
+ @import 'tailwindcss';
2
+
3
+ @layer base {
4
+ @import './styles/reset.css';
5
+ }
6
+ @import './styles/utilities.css';
7
+
8
+ :root {
9
+ --xai-primary-dark: #e0d8c3;
10
+ --xai-primary-light: #f5f0e6;
11
+ --xai-primary: #fcfaf5;
12
+ --xai-text: #4a3b32;
13
+ --xai-text-muted: #8c7b70;
14
+ --xai-notable: #d69875;
15
+ --xai-border: #d1c6b6;
16
+ --xai-shadow: #8f826d;
17
+ --xai-destructive: #dc2626;
18
+ }
19
+
20
+ .dark {
21
+ --xai-primary: #3d221a;
22
+ --xai-primary-light: #705049;
23
+ --xai-primary-dark: #2a1712;
24
+ --xai-text: #ffd700;
25
+ --xai-text-muted: #ccad00;
26
+ --xai-notable: #d94a2f;
27
+ --xai-border: #3d0700;
28
+ --xai-shadow: #ffcbbd;
29
+ --xai-destructive: #ff5252;
30
+ }
31
+
32
+ .light {
33
+ --xai-primary: #ea9580; /* 主色:用于输入框、标题背景等 */
34
+ --xai-primary-dark: #c96f58; /* 深主色:用于页面大背景、模态框底层 */
35
+ --xai-primary-light: #ffdad2; /* 浅主色:用于 Card、容器背景 */
36
+ --xai-text: #332e00; /* 文本主色:几乎所有的正文 */
37
+ --xai-text-muted: #8c7b70; /* 次要文本:更加浅淡的文字 */
38
+ --xai-notable: #ff5555; /* 显眼色:用于 Primary Button、高亮开关、进度条等 */
39
+ --xai-border: #975c20; /* 边框色 */
40
+ /* 额外说的一下 有一个地方 是--xai-notable作为背景 --xai-primary-light作为文本前景 */
41
+ --xai-shadow: #000;
42
+ --xai-destructive: #d32f2f;
43
+ }
2
44
 
3
45
  @import 'tw-animate-css';
4
46
 
@@ -1,6 +1,3 @@
1
- /* @utility xbase {
2
- } */
3
-
4
1
  @utility xaibar {
5
2
  @apply absolute w-full h-13;
6
3
  @apply flex justify-evenly items-center border-t-1 border-b-1;
package/dist/index.d.ts CHANGED
@@ -187,7 +187,7 @@ export declare class StringObfuscator {
187
187
  export type Items<T> = {
188
188
  [key: string]: T;
189
189
  };
190
- export declare const DOZY = "1.0.23";
190
+ export declare const DOZY = "1.0.24";
191
191
  export * from "axios";
192
192
  export * from "zod";
193
193