@firecms/ui 3.0.0-rc.4 → 3.0.0-tw4.2
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/dist/index.css +55 -6
- package/dist/index.es.js +329 -308
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +329 -308
- package/dist/index.umd.js.map +1 -1
- package/dist/styles.d.ts +11 -11
- package/package.json +15 -15
- package/src/components/BooleanSwitch.tsx +3 -3
- package/src/components/Button.tsx +5 -5
- package/src/components/Checkbox.tsx +1 -1
- package/src/components/Dialog.tsx +13 -13
- package/src/components/DialogActions.tsx +1 -1
- package/src/components/ExpandablePanel.tsx +1 -1
- package/src/components/IconButton.tsx +3 -2
- package/src/components/Menubar.tsx +1 -1
- package/src/components/MultiSelect.tsx +12 -9
- package/src/components/Select.tsx +1 -0
- package/src/components/Separator.tsx +2 -2
- package/src/components/Sheet.tsx +2 -2
- package/src/components/Slider.tsx +4 -4
- package/src/components/Tabs.tsx +1 -1
- package/src/components/TextField.tsx +10 -2
- package/src/components/Tooltip.tsx +1 -1
- package/src/index.css +55 -6
- package/src/styles.ts +11 -11
- package/src/util/cls.ts +1 -1
package/dist/index.css
CHANGED
|
@@ -1,3 +1,57 @@
|
|
|
1
|
+
@theme {
|
|
2
|
+
/* Font Families */
|
|
3
|
+
--font-sans: 'Rubik', 'Roboto', 'Helvetica', 'Arial', sans-serif;
|
|
4
|
+
--font-headers: 'Rubik', 'Roboto', 'Helvetica', 'Arial', sans-serif;
|
|
5
|
+
--font-mono: 'JetBrains Mono', 'Space Mono', 'Lucida Console', monospace;
|
|
6
|
+
|
|
7
|
+
/* Colors */
|
|
8
|
+
--color-primary: #0070F4;
|
|
9
|
+
--color-primary-light: oklch(from var(--color-primary) calc(l + 0.15) c h);
|
|
10
|
+
--color-primary-dark: oklch(from var(--color-primary) calc(l - 0.15) c h);
|
|
11
|
+
--color-secondary: #FF5B79;
|
|
12
|
+
--color-secondary-light: oklch(from var(--color-secondary) calc(l + 0.15) c h);
|
|
13
|
+
--color-secondary-dark: oklch(from var(--color-secondary) calc(l - 0.15) c h);
|
|
14
|
+
|
|
15
|
+
/* Field Colors */
|
|
16
|
+
--color-field-disabled: rgb(224 224 226);
|
|
17
|
+
--color-field-disabled-dark: rgb(35 35 37);
|
|
18
|
+
|
|
19
|
+
/* Text Colors */
|
|
20
|
+
--color-text-primary: rgba(0, 0, 0, 0.87);
|
|
21
|
+
--color-text-secondary: rgba(0, 0, 0, 0.52);
|
|
22
|
+
--color-text-disabled: rgba(0, 0, 0, 0.38);
|
|
23
|
+
--color-text-primary-dark: #ffffff;
|
|
24
|
+
--color-text-secondary-dark: rgba(255, 255, 255, 0.6);
|
|
25
|
+
--color-text-disabled-dark: rgba(255, 255, 255, 0.48);
|
|
26
|
+
|
|
27
|
+
/* Surface Colors */
|
|
28
|
+
--color-surface-50: #f8f8fc;
|
|
29
|
+
--color-surface-100: #e7e7eb;
|
|
30
|
+
--color-surface-200: #cfcfd6;
|
|
31
|
+
--color-surface-300: #b7b7bf;
|
|
32
|
+
--color-surface-400: #a0a0a9;
|
|
33
|
+
--color-surface-500: #87878f;
|
|
34
|
+
--color-surface-600: #6b6b74;
|
|
35
|
+
--color-surface-700: #454552;
|
|
36
|
+
--color-surface-800: #292934;
|
|
37
|
+
--color-surface-900: #18181c;
|
|
38
|
+
--color-surface-950: #101013;
|
|
39
|
+
|
|
40
|
+
/* Surface Accent Colors */
|
|
41
|
+
--color-surface-accent-50: #f8fafc;
|
|
42
|
+
--color-surface-accent-100: #f1f5f9;
|
|
43
|
+
--color-surface-accent-200: #e2e8f0;
|
|
44
|
+
--color-surface-accent-300: #cbd5e1;
|
|
45
|
+
--color-surface-accent-400: #94a3b8;
|
|
46
|
+
--color-surface-accent-500: #64748b;
|
|
47
|
+
--color-surface-accent-600: #475569;
|
|
48
|
+
--color-surface-accent-700: #334155;
|
|
49
|
+
--color-surface-accent-800: #1e293b;
|
|
50
|
+
--color-surface-accent-900: #0f172a;
|
|
51
|
+
--color-surface-accent-950: #020617;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
1
55
|
/* Chrome, Safari and Opera */
|
|
2
56
|
.no-scrollbar::-webkit-scrollbar {
|
|
3
57
|
display: none;
|
|
@@ -63,12 +117,7 @@
|
|
|
63
117
|
@apply text-sm font-semibold uppercase;
|
|
64
118
|
}
|
|
65
119
|
|
|
66
|
-
|
|
67
120
|
:focus-visible {
|
|
68
|
-
@apply outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
a {
|
|
72
|
-
@apply text-blue-600 dark:text-blue-400 dark:hover:text-blue-600 hover:text-blue-800
|
|
121
|
+
@apply outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-transparent
|
|
73
122
|
}
|
|
74
123
|
|