Skip to content

Commit 62fcee8

Browse files
committed
fix: globals.css light mode body default + proper dark mode transition
1 parent 04088ad commit 62fcee8

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

platform/src/app/globals.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
@tailwind components;
33
@tailwind utilities;
44

5-
html {
6-
scroll-behavior: smooth;
7-
}
8-
95
/* Smooth theme transition */
106
html.theme-transitioning,
117
html.theme-transitioning *,
@@ -14,7 +10,14 @@ html.theme-transitioning *::after {
1410
transition: background-color 0.3s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
1511
}
1612

13+
/* Light mode (default) */
1714
body {
15+
background-color: #FFFBFE;
16+
color: #1C1B1F;
17+
}
18+
19+
/* Dark mode */
20+
.dark body {
1821
background-color: #0f0f0f;
1922
color: #E6E1E5;
2023
}

0 commit comments

Comments
 (0)