Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit 35c3167

Browse files
authored
feat: add dark/light classname (#729)
* feat: add dark classname * add light class
1 parent 52fab7e commit 35c3167

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/css/dark-theme-colors.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/**
22
* Dark Theme Colors
33
*/
4-
[data-theme='dark'] {
4+
[data-theme='dark'],
5+
.dark {
56
/* For default neutral backgrounds */
67
--color-background-default: var(--brand-colors-grey-grey800);
78
/* For secondary neutral backgrounds. */

src/css/light-theme-colors.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
* Light Theme Colors
33
*/
44
:root,
5-
[data-theme='light'] {
5+
[data-theme='light'],
6+
.light {
67
/* For default neutral backgrounds */
78
--color-background-default: var(--brand-colors-grey-grey000);
89
/* For secondary neutral backgrounds. */

0 commit comments

Comments
 (0)