Skip to content

Commit

Permalink
feat: bui-styles add style variables for xhs-page
Browse files Browse the repository at this point in the history
  • Loading branch information
zhubeniii authored and NeverEllipsis committed Sep 10, 2024
1 parent 031189a commit 31b0ec5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/bui-styles/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/* default theme */
:root,
page,
xhs-page,
.bui-default-light,
[data-color-mode='light'][data-theme='default'] {
.light();
Expand Down Expand Up @@ -55,6 +56,7 @@ page,
/* set color-scheme */
:root,
page,
xhs-page,
[data-color-mode='light'] {
color-scheme: light;
}
Expand Down

0 comments on commit 31b0ec5

Please sign in to comment.