Skip to content
Snippets Groups Projects
Commit 172f95cd authored by David Bühler's avatar David Bühler
Browse files

[ivette] Changes taint colors to avoid confusion with precision colors in dive.

parent 93c3e4b0
No related branches found
No related tags found
No related merge requests found
...@@ -262,7 +262,7 @@ const renderTaint: Renderer<States.Tag> = ...@@ -262,7 +262,7 @@ const renderTaint: Renderer<States.Tag> =
let color = 'black'; let color = 'black';
switch (taint.name) { switch (taint.name) {
case 'not_tainted': id = 'DROP.EMPTY'; color = '#00B900'; break; case 'not_tainted': id = 'DROP.EMPTY'; color = '#00B900'; break;
case 'direct_taint': id = 'DROP.FILLED'; color = '#FF8300'; break; case 'direct_taint': id = 'DROP.FILLED'; color = '#882288'; break;
case 'indirect_taint': id = 'DROP.FILLED'; color = '#73BBBB'; break; case 'indirect_taint': id = 'DROP.FILLED'; color = '#73BBBB'; break;
case 'error': id = 'HELP'; break; case 'error': id = 'HELP'; break;
case 'not_applicable': id = 'MINUS'; break; case 'not_applicable': id = 'MINUS'; break;
......
...@@ -177,17 +177,17 @@ ...@@ -177,17 +177,17 @@
{ {
"selector": "node[taint='direct']", "selector": "node[taint='direct']",
"style": { "style": {
"underlay-color": "#afa", "underlay-color": "#882288",
"underlay-padding": "14px", "underlay-padding": "14px",
"underlay-opacity": 1.0 "underlay-opacity": 0.4
} }
}, },
{ {
"selector": "node[taint='indirect']", "selector": "node[taint='indirect']",
"style": { "style": {
"underlay-color": "#afa", "underlay-color": "#73BBBB",
"underlay-padding": "14px", "underlay-padding": "14px",
"underlay-opacity": 0.5 "underlay-opacity": 0.8
} }
}, },
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment