feat: now every element with `data-theme` will have `base-100` color for background and `base-content` color for text by default.

This commit is contained in:
Pouya Saadeghi 2022-03-24 12:34:06 +03:00
parent f78308eb35
commit 216d115acf
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
:root {
:root,
[data-theme] {
background-color: hsla(var(--b1) / var(--tw-bg-opacity, 1));
color: hsla(var(--bc) / var(--tw-text-opacity, 1));
}