Skip to content

Commit ad6c7c5

Browse files
committed
Merge pull request #4059 from udecode/templates/44
Templates v44
1 parent 7a6b77d commit ad6c7c5

File tree

2 files changed

+52
-50
lines changed

2 files changed

+52
-50
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"build": "next build",
77
"dev": "next dev --turbo",
8-
"lint": "next lint && prettier --check . --log-level warn",
8+
"lint": "next lint",
99
"lint:fix": "next lint --fix && prettier --write . --log-level warn",
1010
"preview": "next build && next start",
1111
"start": "next start",

src/app/globals.css

Lines changed: 51 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,55 @@
6565
--sidebar-ring: hsl(217.2 91.2% 59.8%);
6666
}
6767

68+
[data-registry='plate'] {
69+
--accent: hsl(0 0% 96.1%);
70+
--accent-foreground: hsl(0 0% 9%);
71+
--background: hsl(0 0% 100%);
72+
--border: hsl(0 0% 89.8%);
73+
--card: hsl(0 0% 100%);
74+
--card-foreground: hsl(0 0% 3.9%);
75+
--destructive: hsl(0 84.2% 60.2%);
76+
--destructive-foreground: hsl(0 0% 98%);
77+
--foreground: hsl(0 0% 3.9%);
78+
--input: hsl(0 0% 89.8%);
79+
--muted: hsl(0 0% 96.1%);
80+
--muted-foreground: hsl(0 0% 45.1%);
81+
--popover: hsl(0 0% 100%);
82+
--popover-foreground: hsl(0 0% 3.9%);
83+
--primary: hsl(0 0% 9%);
84+
--primary-foreground: hsl(0 0% 98%);
85+
--ring: hsl(0 0% 3.9%);
86+
--secondary: hsl(0 0% 96.1%);
87+
--secondary-foreground: hsl(0 0% 9%);
88+
--radius: 0.6rem;
89+
--brand: hsl(217.2 91.2% 59.8%);
90+
--highlight: hsl(47.9 95.8% 53.1%);
91+
}
92+
93+
[data-registry='plate'].dark {
94+
--accent: hsl(0 0% 14.9%);
95+
--accent-foreground: hsl(0 0% 98%);
96+
--background: hsl(0 0% 3.9%);
97+
--border: hsl(0 0% 14.9%);
98+
--card: hsl(0 0% 3.9%);
99+
--card-foreground: hsl(0 0% 98%);
100+
--destructive: hsl(0 62.8% 30.6%);
101+
--destructive-foreground: hsl(0 0% 98%);
102+
--foreground: hsl(0 0% 98%);
103+
--input: hsl(0 0% 14.9%);
104+
--muted: hsl(0 0% 14.9%);
105+
--muted-foreground: hsl(0 0% 63.9%);
106+
--popover: hsl(0 0% 3.9%);
107+
--popover-foreground: hsl(0 0% 98%);
108+
--primary: hsl(0 0% 98%);
109+
--primary-foreground: hsl(0 0% 9%);
110+
--ring: hsl(0 0% 83.1%);
111+
--secondary: hsl(0 0% 14.9%);
112+
--secondary-foreground: hsl(0 0% 98%);
113+
--brand: hsl(213.3 93.9% 67.8%);
114+
--highlight: hsl(48 96% 53%);
115+
}
116+
68117
@theme inline {
69118
--color-background: var(--background);
70119
--color-foreground: var(--foreground);
@@ -102,6 +151,8 @@
102151
--color-sidebar-primary: var(--sidebar-primary);
103152
--color-sidebar-foreground: var(--sidebar-foreground);
104153
--color-sidebar: var(--sidebar-background);
154+
--color-brand: var(--brand);
155+
--color-highlight: var(--highlight);
105156
--animate-accordion-down: accordion-down 0.2s ease-out;
106157
--animate-accordion-up: accordion-up 0.2s ease-out;
107158

@@ -299,52 +350,3 @@
299350
@utility slide-out-to-right-* {
300351
--tw-exit-translate-x: --value([percentage], [length]);
301352
}
302-
303-
[data-registry='plate'] {
304-
--accent: hsl(0 0% 96.1%);
305-
--accent-foreground: hsl(0 0% 9%);
306-
--background: hsl(0 0% 100%);
307-
--border: hsl(0 0% 89.8%);
308-
--card: hsl(0 0% 100%);
309-
--card-foreground: hsl(0 0% 3.9%);
310-
--destructive: hsl(0 84.2% 60.2%);
311-
--destructive-foreground: hsl(0 0% 98%);
312-
--foreground: hsl(0 0% 3.9%);
313-
--input: hsl(0 0% 89.8%);
314-
--muted: hsl(0 0% 96.1%);
315-
--muted-foreground: hsl(0 0% 45.1%);
316-
--popover: hsl(0 0% 100%);
317-
--popover-foreground: hsl(0 0% 3.9%);
318-
--primary: hsl(0 0% 9%);
319-
--primary-foreground: hsl(0 0% 98%);
320-
--ring: hsl(0 0% 3.9%);
321-
--secondary: hsl(0 0% 96.1%);
322-
--secondary-foreground: hsl(0 0% 9%);
323-
--radius: 0.6rem;
324-
--brand: hsl(217.2 91.2% 59.8%);
325-
--highlight: hsl(47.9 95.8% 53.1%);
326-
}
327-
328-
[data-registry='plate'].dark {
329-
--accent: hsl(0 0% 14.9%);
330-
--accent-foreground: hsl(0 0% 98%);
331-
--background: hsl(0 0% 3.9%);
332-
--border: hsl(0 0% 14.9%);
333-
--card: hsl(0 0% 3.9%);
334-
--card-foreground: hsl(0 0% 98%);
335-
--destructive: hsl(0 62.8% 30.6%);
336-
--destructive-foreground: hsl(0 0% 98%);
337-
--foreground: hsl(0 0% 98%);
338-
--input: hsl(0 0% 14.9%);
339-
--muted: hsl(0 0% 14.9%);
340-
--muted-foreground: hsl(0 0% 63.9%);
341-
--popover: hsl(0 0% 3.9%);
342-
--popover-foreground: hsl(0 0% 98%);
343-
--primary: hsl(0 0% 98%);
344-
--primary-foreground: hsl(0 0% 9%);
345-
--ring: hsl(0 0% 83.1%);
346-
--secondary: hsl(0 0% 14.9%);
347-
--secondary-foreground: hsl(0 0% 98%);
348-
--brand: hsl(213.3 93.9% 67.8%);
349-
--highlight: hsl(48 96% 53%);
350-
}

0 commit comments

Comments
 (0)