first (small) part of syncing LCARStrek with Firefox 51 browser windows theme changes
[themes.git] / LCARStrek / global / filters.svg
diff --git a/LCARStrek/global/filters.svg b/LCARStrek/global/filters.svg
new file mode 100644 (file)
index 0000000..2dbc450
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+<svg xmlns="http://www.w3.org/2000/svg">
+  <filter id="fill">
+    <feComposite in="FillPaint" in2="SourceGraphic" operator="in"/>
+  </filter>
+  <filter id="active-icon-state"><!-- make every icon be fully black, but keep alpha channel -->
+    <feColorMatrix in="SourceGraphic" type="matrix"
+      values="0 0 0 0 0
+              0 0 0 0 0
+              0 0 0 0 0
+              0 0 0 1 0"/>
+ </filter>
+ <filter id="disabled-icon-state"><!-- move any icon to #8050B0 / rgb(128,80,176), keeping alpha channel -->
+    <feColorMatrix in="SourceGraphic" type="matrix" color-interpolation-filters="sRGB"
+      values="0 0 0 0 0.50
+              0 0 0 0 0.31
+              0 0 0 0 0.69
+              0 0 0 1 0"/>
+ </filter>
+</svg>