Add Dark Mode Support for Clock Component
This commit is contained in:
1 parent
57588d4604
commit
f610849c17
1 file changed
+2
-2
@@ -16,11 +16,11 @@
|
|||||||
.clock-date {
|
.clock-date {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: oklch(0.3211 0 0); // #333
|
color: light-dark(oklch(0.3211 0 0), oklch(0.6789 0 0)); // #333
|
||||||
}
|
}
|
||||||
|
|
||||||
.clock-time {
|
.clock-time {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: oklch(0 0 0); // #000
|
color: light-dark(oklch(0 0 0), oklch(1 0 0)); // #000
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user