Help-14 vor 3 Jahren
Ursprung
Commit
2d4138c00e
1 geänderte Dateien mit 12 neuen und 1 gelöschten Zeilen
  1. 12 1
      src/themes/flame/index.html

+ 12 - 1
src/themes/flame/index.html

@@ -71,7 +71,18 @@
                                 {{if .IsImage}}
                                 {{if .IsImage}}
                                 <img src="{{.Icon}}" class="icon">
                                 <img src="{{.Icon}}" class="icon">
                                 {{else if .IsSVG}}
                                 {{else if .IsSVG}}
-                                <svg-file src="{{.Icon}}" class="svg-icon"></svg-file>
+                                <svg-file src="{{.Icon}}" class="svg-icon">
+                                    <style>
+                                        path:nth-child(2n+2) {
+                                            fill: var(--foreground); /* shadowDOM style does NOT style global DOM */
+                                        }
+                                        svg {
+                                            fill: var(--foreground);
+                                            width: 32px;
+                                            height: 32px;
+                                        }
+                                    </style>
+                                </svg-file>
                                 {{else}}
                                 {{else}}
                                 <i class="{{.Icon}} fa-xl icon"></i>
                                 <i class="{{.Icon}} fa-xl icon"></i>
                                 {{end}}
                                 {{end}}