Просмотр исходного кода

Refs #33690 -- Added missing data-theme selector to example in theming support docs.

William Hayes 1 год назад
Родитель
Сommit
640283711e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docs/ref/contrib/admin/index.txt

+ 1 - 1
docs/ref/contrib/admin/index.txt

@@ -2803,7 +2803,7 @@ template override to your project:
 
     {% block extrastyle %}{{ block.super }}
     <style>
-    :root {
+    html[data-theme="light"], :root {
       --primary: #9774d5;
       --secondary: #785cab;
       --link-fg: #7c449b;