Fix dark theme detection when <html> has multiple classes (#747)

This commit is contained in:
Taylan Tatlı
2025-07-21 18:31:39 +03:00
committed by GitHub
parent a8ba708477
commit ca5a09f740

View File

@@ -1,4 +1,4 @@
:root[class="p-dark"] {
:root[class~="p-dark"] {
--primary-text-color: var(--p-primary-400);
--primary-text-color-dark: var(--p-primary-900);
--primary-color: var(--p-primary-color);