This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

优化icon颜色定义

old
宇天 2019-07-22 21:20:05 +08:00
parent 503e7ef06f
commit acc957341a
1 changed files with 8 additions and 8 deletions

View File

@ -40,35 +40,35 @@
width: 20px; width: 20px;
height: 20px; height: 20px;
} }
:host([color='red']) .icon { :host([color='red']) {
color: nth($cr, 2); color: nth($cr, 2);
} }
:host([color='blue']) .icon { :host([color='blue']) {
color: nth($cb, 2); color: nth($cb, 2);
} }
:host([color='green']) .icon { :host([color='green']) {
color: nth($cg, 2); color: nth($cg, 2);
} }
:host([color='teal']) .icon { :host([color='teal']) {
color: nth($ct, 2); color: nth($ct, 2);
} }
:host([color='orange']) .icon { :host([color='orange']) {
color: nth($co, 2); color: nth($co, 2);
} }
:host([color='dark']) .icon { :host([color='dark']) {
color: nth($cd, 2); color: nth($cd, 2);
} }
:host([color='purple']) .icon { :host([color='purple']) {
color: nth($cpp, 2); color: nth($cpp, 2);
} }
:host([color='grey']) .icon { :host([color='grey']) {
color: nth($cgr, 2); color: nth($cgr, 2);
} }