Skip to content

Commit 89e048e

Browse files
committed
dark mode smooth transition added
Signed-off-by: Vedansh Saini <[email protected]>
1 parent 8c4d9d4 commit 89e048e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/index.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,19 @@ li {
5555
margin-left: 1rem;
5656
}
5757

58+
body,input,div,h3,h4,p,label,hr, #scrumReport{
59+
transition: all 0.3s ease-in-out;
60+
}
61+
5862
.dark-mode {
5963
background: #1a1a1a !important;
6064
color: #ffffff !important;
65+
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
6166
}
6267
.dark-mode .bg-white{
6368
background-color: #2d2d2d !important;
6469
border-color: #404040 !important;
70+
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
6571
}
6672

6773
.dark-mode input[type="text"],
@@ -70,14 +76,17 @@ li {
7076
background-color: #404040 !important;
7177
border-color: #505050 !important;
7278
color: #ffffff !important;
79+
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
7380
}
7481
.dark-mode h3,
7582
.dark-mode h4,
7683
.dark-mode p,
7784
.dark-mode label {
7885
color: #ffffff !important;
86+
transition: color 0.3s ease-in-out;
7987
}
8088

8189
.dark-mode hr {
8290
border-color: #505050 !important;
91+
transition: border-color 0.3s ease-in-out;
8392
}

0 commit comments

Comments
 (0)