Przeglądaj źródła

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

William Hayes 1 rok temu
rodzic
commit
640283711e
1 zmienionych plików z 1 dodań i 1 usunięć
  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;