Skip to content

Commit e71e2b5

Browse files
committed
fix: changeset
1 parent f8594ae commit e71e2b5

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

packages/themes/public/style/dark.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
:root,
12
:root.dark-theme {
23
--color-danger-background: #4e0921;
34
--color-danger-background-disabled: #47081e;

packages/themes/public/style/darker.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
:root,
12
:root.darker-theme {
23
--color-danger-background: #2e0514;
34
--color-danger-background-disabled: #20040e;

packages/themes/public/style/light.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
:root,
12
:root.light-theme {
23
--color-danger-background: #ffebf2;
34
--color-danger-background-disabled: #fff3f7;

utils/scripts/create-css-variables.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ export const generateThemeCss = ({
6969
uvTheme: UvThemeType
7070
filename: string
7171
}) =>
72-
`:root,\n
73-
:root.${filename}-theme {\n${
72+
`:root,\n:root.${filename}-theme {\n${
7473
createCssVariables('color', uvTheme.colors) +
7574
createCssVariables('radius', uvTheme.radii) +
7675
createCssVariables('shadow', uvTheme.shadows) +

0 commit comments

Comments
 (0)