mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
fix tinter for LeftPanel
This commit is contained in:
parent
2c7c382d56
commit
1c1c31eafc
1 changed files with 3 additions and 3 deletions
|
@ -23,11 +23,11 @@ var sdk = require("./index");
|
|||
|
||||
var DEBUG = 0;
|
||||
|
||||
// The colour keys to be replaced as referred to in SVGs
|
||||
// The colour keys to be replaced as referred to in CSS
|
||||
var keyRgb = [
|
||||
"rgb(118, 207, 166)", // Vector Green
|
||||
"rgb(234, 245, 240)", // Vector Light Green
|
||||
"rgba(118, 207, 166, 0.2)", // BottomLeftMenu overlay (20% Vector Green)
|
||||
"rgb(211, 239, 225)", // BottomLeftMenu overlay (20% Vector Green)
|
||||
];
|
||||
|
||||
// Some algebra workings for calculating the tint % of Vector Green & Light Green
|
||||
|
@ -210,7 +210,7 @@ module.exports = {
|
|||
for (var i = 0; i < svgs.length; i++) {
|
||||
var svgDoc;
|
||||
try {
|
||||
svgDoc = svgs[i].contentDocument;
|
||||
svgDoc = svgs[i].contentDocument;
|
||||
}
|
||||
catch(e) {
|
||||
var msg = 'Failed to get svg.contentDocument of ' + svgs[i].toString();
|
||||
|
|
Loading…
Reference in a new issue