File tree 4 files changed +14
-21
lines changed
4 files changed +14
-21
lines changed Original file line number Diff line number Diff line change 127
127
},
128
128
"icon-list" : {
129
129
"react" : true ,
130
- "version" : " 0.2.2 " ,
130
+ "version" : " 0.2.3 " ,
131
131
"style" : true ,
132
132
"icon" : false ,
133
133
"test" : true ,
Original file line number Diff line number Diff line change 51
51
display : none ;
52
52
}
53
53
54
- $themes : ' light' , ' dark' ;
55
- @each $theme in $themes {
54
+ @each $theme in (' light' , ' dark' ) {
56
55
.theme-#{$theme } {
57
56
.body {
58
57
@include mixin .theme-rule (background-color , color- bg- container, $theme );
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " icon-list" ,
3
- "version" : " 0.2.2 " ,
3
+ "version" : " 0.2.3 " ,
4
4
"description" : " Show list of icons and their names" ,
5
5
"luna" : {
6
6
"react" : true
Original file line number Diff line number Diff line change 35
35
aspect-ratio : 1 ;
36
36
box-sizing : border-box ;
37
37
flex-direction : column ;
38
- & .selected {
39
- .icon {
40
- background-color : #{theme .$color-border } ;
41
- }
42
- .name {
43
- background-color : #{theme .$color-primary } ;
44
- color : theme .$color-white ;
45
- }
46
- }
47
38
}
48
39
49
40
.icon {
72
63
font-size : #{theme .$font-size-s-m } px;
73
64
}
74
65
75
- .theme-dark {
76
- .item {
77
- & .selected {
78
- .icon {
79
- background-color : #{theme .$color-border-dark } ;
80
- }
81
- .name {
82
- background-color : #{theme .$color-primary-dark } ;
66
+ @each $theme in (' light' , ' dark' ) {
67
+ .theme-#{$theme } {
68
+ .item {
69
+ & .selected {
70
+ .icon {
71
+ @include mixin .theme-rule (background-color , color- border, $theme );
72
+ }
73
+ .name {
74
+ @include mixin .theme-rule (background-color , color- primary, $theme );
75
+ @include mixin .theme-rule (color , color- white, $theme );
76
+ }
83
77
}
84
78
}
85
79
}
You can’t perform that action at this time.
0 commit comments