Adwaita: Add symbolic png assets

And use them as fallback for the svg ones. This lets us
avoid a hard dependency on librsvg - the theme will work
without svg support.
This commit is contained in:
Matthias Clasen 2016-01-29 23:40:58 -05:00
parent e54549502e
commit 051b6071b7
6 changed files with 561 additions and 557 deletions

View File

@ -2291,14 +2291,18 @@ radio {
check {
border-radius: 3px;
&:checked { -gtk-icon-source: -gtk-recolor(url("assets/check-symbolic.svg")); }
&:indeterminate { -gtk-icon-source: -gtk-recolor(url("assets/dash-symbolic.svg")); }
&:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/check-symbolic.svg")),
-gtk-recolor(url("assets/check-symbolic.symbolic.png"))); }
&:indeterminate { -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")),
-gtk-recolor(url("assets/dash-symbolic.symbolic.png"))); }
}
radio {
border-radius: 100%;
&:checked { -gtk-icon-source: -gtk-recolor(url("assets/bullet-symbolic.svg")); }
&:indeterminate { -gtk-icon-source: -gtk-recolor(url("assets/dash-symbolic.svg")); }
&:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/bullet-symbolic.svg")),
-gtk-recolor(url("assets/bullet-symbolic.symbolic.png"))); }
&:indeterminate { -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")),
-gtk-recolor(url("assets/dash-symbolic.symbolic.png"))); }
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff