Fix rainbow colors

This commit is contained in:
uwap 2018-01-13 20:05:47 +01:00
parent 6c7ea9dfb3
commit a69552de7d
2 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,4 @@
// @flow // @flow
export const rainbow = "rgba(200,120,120,0.5);" export const rainbow = "rgba(200,120,120,0.5);"
+ "background: linear-gradient(40deg, #FF0000 0%, #00FF00 50%, #0000FF 70%, #FFFF00 100%);" + "--before-background: linear-gradient(40deg, #FF0000 0%, #00FF00 50%, #0000FF 70%, #FFFF00 100%);";
+ "background-clip: text; -webkit-background-clip: text;";

View file

@ -23,5 +23,5 @@ body .leaflet-div-icon {
.mdi:before { .mdi:before {
background-clip: text; background-clip: text;
-webkit-background-clip: text; -webkit-background-clip: text;
background: var(--before-background, transparent); background-image: var(--before-background, transparent);
} }