make both Nightly devtools and 48/49 devtools work well
[themes.git] / LCARStrek / devtools / images / filters.svg
index a06b3429dd5de3e3b38b45e54f6601050c25ead8..8e76a1b41e7308575ba6307cf95bcee78d789f43 100644 (file)
@@ -3,19 +3,19 @@
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <svg height="0" xmlns="http://www.w3.org/2000/svg">
-<filter id="invert" x="0%" y="0%" width="100%" height="100%" >
-  <feComponentTransfer>
-    <feFuncR type="table" tableValues=".1 0"/>
-    <feFuncG type="table" tableValues=".1 0"/>
-    <feFuncB type="table" tableValues=".1 0"/>
-  </feComponentTransfer>
-</filter>
-<filter id="invert-white" x="0%" y="0%" width="100%" height="100%" >
-  <feComponentTransfer>
-    <feFuncR type="table" tableValues=".6 0"/>
-    <feFuncG type="table" tableValues=".6 0"/>
-    <feFuncB type="table" tableValues=".6 0"/>
-  </feComponentTransfer>
+  <filter id="checked-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>
 
   <!-- Web Audio Gradients -->