@muffled-ui/react 1.3.0 → 1.3.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.
- package/package.json +2 -1
- package/src/styles/theme.css +127 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muffled-ui/react",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"homepage": "https://ui.muffled.studio/",
|
|
6
6
|
"bugs": {
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|
|
33
|
+
"src/styles/theme.css",
|
|
33
34
|
"package.json"
|
|
34
35
|
],
|
|
35
36
|
"peerDependencies": {
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
@import "tw-animate-css";
|
|
2
|
+
|
|
3
|
+
@custom-variant dark (&:is(.dark *));
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
font-size: 14px;
|
|
7
|
+
--radius: 0.625rem;
|
|
8
|
+
--background: oklch(1 0 0);
|
|
9
|
+
--foreground: oklch(0.141 0.005 285.823);
|
|
10
|
+
--card: oklch(1 0 0);
|
|
11
|
+
--card-foreground: oklch(0.141 0.005 285.823);
|
|
12
|
+
--popover: oklch(1 0 0);
|
|
13
|
+
--popover-foreground: oklch(0.141 0.005 285.823);
|
|
14
|
+
--primary: oklch(0.23 0.010 260);
|
|
15
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
16
|
+
--secondary: oklch(0.95 0.006 260);
|
|
17
|
+
--secondary-foreground: oklch(0.23 0.010 260);
|
|
18
|
+
--muted: oklch(0.95 0.004 260);
|
|
19
|
+
--muted-foreground: oklch(0.42 0.012 260);
|
|
20
|
+
--accent: oklch(0.95 0.006 260);
|
|
21
|
+
--accent-foreground: oklch(0.23 0.010 260);
|
|
22
|
+
--destructive: oklch(0.637 0.208 25.3);
|
|
23
|
+
--destructive-foreground: oklch(0.96 0 0);
|
|
24
|
+
--border: oklch(0.90 0.006 260);
|
|
25
|
+
--input: oklch(0.90 0.006 260);
|
|
26
|
+
--ring: oklch(0.705 0.015 286.067);
|
|
27
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
28
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
29
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
30
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
31
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
32
|
+
--sidebar: oklch(0.985 0.002 260);
|
|
33
|
+
--sidebar-foreground: oklch(0.141 0.005 260);
|
|
34
|
+
--sidebar-primary: oklch(0.23 0.010 260);
|
|
35
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
36
|
+
--sidebar-accent: oklch(0.95 0.006 260);
|
|
37
|
+
--sidebar-accent-foreground: oklch(0.23 0.010 260);
|
|
38
|
+
--sidebar-border: oklch(0.90 0.006 260);
|
|
39
|
+
--sidebar-ring: oklch(0.705 0.015 286.067);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.dark {
|
|
43
|
+
--background: oklch(0.21 0.0109 264);
|
|
44
|
+
--foreground: oklch(0.96 0 0);
|
|
45
|
+
--card: oklch(0.22 0.008 260);
|
|
46
|
+
--card-foreground: oklch(0.96 0 0);
|
|
47
|
+
--popover: oklch(0.22 0.008 260);
|
|
48
|
+
--popover-foreground: oklch(0.96 0 0);
|
|
49
|
+
--primary: oklch(0.92 0.004 260);
|
|
50
|
+
--primary-foreground: oklch(0.21 0.0109 264);
|
|
51
|
+
--secondary: oklch(0.28 0.014 260);
|
|
52
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
53
|
+
--muted: oklch(0.25 0.010 260);
|
|
54
|
+
--muted-foreground: oklch(0.78 0.010 260);
|
|
55
|
+
--accent: oklch(0.25 0.010 260);
|
|
56
|
+
--accent-foreground: oklch(0.96 0 0);
|
|
57
|
+
--destructive: oklch(0.529 0.195 27.2);
|
|
58
|
+
--destructive-foreground: oklch(0.96 0 0);
|
|
59
|
+
--border: oklch(0.34 0.006 260 / 55%);
|
|
60
|
+
--input: oklch(0.36 0.006 260 / 65%);
|
|
61
|
+
--ring: oklch(0.552 0.016 285.938);
|
|
62
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
63
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
64
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
65
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
66
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
67
|
+
--sidebar: oklch(0.24 0.010 260);
|
|
68
|
+
--sidebar-foreground: oklch(0.90 0.010 260);
|
|
69
|
+
--sidebar-primary: oklch(0.40 0.070 260);
|
|
70
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
71
|
+
--sidebar-accent: oklch(0.28 0.014 260);
|
|
72
|
+
--sidebar-accent-foreground: oklch(0.90 0.010 260);
|
|
73
|
+
--sidebar-border: oklch(0.21 0 0 / 18%);
|
|
74
|
+
--sidebar-ring: oklch(0.552 0.016 285.938);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@theme inline {
|
|
78
|
+
--font-sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
79
|
+
--color-background: var(--background);
|
|
80
|
+
--color-foreground: var(--foreground);
|
|
81
|
+
--color-card: var(--card);
|
|
82
|
+
--color-card-foreground: var(--card-foreground);
|
|
83
|
+
--color-popover: var(--popover);
|
|
84
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
85
|
+
--color-primary: var(--primary);
|
|
86
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
87
|
+
--color-secondary: var(--secondary);
|
|
88
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
89
|
+
--color-muted: var(--muted);
|
|
90
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
91
|
+
--color-accent: var(--accent);
|
|
92
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
93
|
+
--color-destructive: var(--destructive);
|
|
94
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
95
|
+
--color-border: var(--border);
|
|
96
|
+
--color-input: var(--input);
|
|
97
|
+
--color-ring: var(--ring);
|
|
98
|
+
--color-chart-1: var(--chart-1);
|
|
99
|
+
--color-chart-2: var(--chart-2);
|
|
100
|
+
--color-chart-3: var(--chart-3);
|
|
101
|
+
--color-chart-4: var(--chart-4);
|
|
102
|
+
--color-chart-5: var(--chart-5);
|
|
103
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
104
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
105
|
+
--radius-lg: var(--radius);
|
|
106
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
107
|
+
--color-sidebar: var(--sidebar);
|
|
108
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
109
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
110
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
111
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
112
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
113
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
114
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
115
|
+
--sidebar-width: 20rem;
|
|
116
|
+
--sidebar-width-mobile: 18rem;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@layer base {
|
|
120
|
+
* {
|
|
121
|
+
@apply border-border outline-ring/50 antialiased;
|
|
122
|
+
}
|
|
123
|
+
body {
|
|
124
|
+
@apply bg-background text-foreground;
|
|
125
|
+
|
|
126
|
+
}
|
|
127
|
+
}
|