refactor: normalize custom data attributes

This commit is contained in:
Erzbir
2026-08-17 01:36:51 +08:00
parent 52acc4636a
commit b6e84de616
10 changed files with 54 additions and 63 deletions
+2 -2
View File
@@ -31,11 +31,11 @@ html {
scrollbar-gutter: stable;
}
html[pixel_style='true'] {
html[data-pixel-style='true'] {
--family-theme-font: 'Fusion Pixel 12px Prop zh_hans';
}
html[system_font_enable='true']:not([pixel_style='true']) {
html[data-system-font-enabled='true']:not([data-pixel-style='true']) {
--family-theme-font: system-ui;
}