calculate new CSS tinting when we change theme
This commit is contained in:
parent
b2ddcb8027
commit
e72e30197a
2 changed files with 86 additions and 82 deletions
|
@ -919,6 +919,8 @@ module.exports = React.createClass({
|
|||
});
|
||||
styleElements[theme].disabled = false;
|
||||
|
||||
Tinter.calcCssFixups();
|
||||
|
||||
if (theme === 'dark') {
|
||||
// abuse the tinter to change all the SVG's #fff to #2d2d2d
|
||||
// XXX: obviously this shouldn't be hardcoded here.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue