Fall back to using currentColor if lwt fill color isn't set

This commit is contained in:
MrOtherGuy 2019-05-05 17:33:18 +03:00
parent 1a9521f9be
commit 2128a17ac6
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
toolbar .toolbarbutton-1:not([open]), toolbar .toolbarbutton-1:not([open]),
.titlebar-button, .titlebar-button,
#tabbrowser-tabs toolbarbutton{ #tabbrowser-tabs toolbarbutton{
background-image: radial-gradient(circle at center, var(--lwt-toolbarbutton-icon-fill) 0,var(--lwt-toolbarbutton-icon-fill) 10%,transparent 15% ); background-image: radial-gradient(circle at center, var(--lwt-toolbarbutton-icon-fill,currentColor) 0,var(--lwt-toolbarbutton-icon-fill,currentColor) 10%,transparent 15% );
} }
/* Hide placeholder on hover */ /* Hide placeholder on hover */
toolbar:hover + toolbar .toolbarbutton-1, toolbar:hover + toolbar .toolbarbutton-1,

View file

@ -13,7 +13,7 @@ such as, nav-bar buttons are not shown when urlbar is hovered
toolbar .toolbarbutton-1:not([open]), toolbar .toolbarbutton-1:not([open]),
.titlebar-button, .titlebar-button,
#tabbrowser-tabs toolbarbutton{ #tabbrowser-tabs toolbarbutton{
background-image: radial-gradient(circle at center, var(--lwt-toolbarbutton-icon-fill) 0,var(--lwt-toolbarbutton-icon-fill) 10%,transparent 15% ); background-image: radial-gradient(circle at center, var(--lwt-toolbarbutton-icon-fill,currentColor) 0,var(--lwt-toolbarbutton-icon-fill,currentColor) 10%,transparent 15% );
} }
/* Hide placeholder on hover */ /* Hide placeholder on hover */
toolbar:hover .toolbarbutton-1, toolbar:hover .toolbarbutton-1,