File tree 3 files changed +19
-11
lines changed
3 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 372
372
},
373
373
"tab" : {
374
374
"react" : true ,
375
- "version" : " 0.3.2 " ,
375
+ "version" : " 0.3.3 " ,
376
376
"style" : true ,
377
377
"icon" : false ,
378
378
"test" : true ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " tab" ,
3
- "version" : " 0.3.2 " ,
3
+ "version" : " 0.3.3 " ,
4
4
"description" : " Easy tabs" ,
5
5
"luna" : {
6
6
"react" : true
Original file line number Diff line number Diff line change 9
9
}
10
10
11
11
.tabs-container {
12
- border-bottom : 1px solid theme . $color-border ;
12
+ border-bottom : 1px solid ;
13
13
}
14
14
15
15
.tabs {
41
41
.slider {
42
42
transition : left 0.3s , width 0.3s ;
43
43
height : 1px ;
44
- background : #1a73e8 ;
45
44
position : absolute ;
46
45
bottom : 0 ;
47
46
left : 0 ;
48
47
}
49
48
50
- .theme-dark {
51
- .tabs-container {
52
- border-color : theme .$color-border-dark ;
53
- }
54
- .item {
55
- & :hover {
56
- background : theme .$color-fill-secondary-dark ;
49
+ @each $theme in (' light' , ' dark' ) {
50
+ .theme-#{$theme } {
51
+ .tabs-container {
52
+ @include mixin .theme-rule (border-color , color- border, $theme );
53
+ }
54
+ .item {
55
+ & .luna-tab-selected {
56
+ @include mixin .theme-rule (color , color- primary, $theme );
57
+ }
58
+ & :hover {
59
+ @include mixin .theme-rule (color , color- text, $theme );
60
+ @include mixin .theme-rule (background-color , color- fill- secondary, $theme );
61
+ }
62
+ }
63
+ .slider {
64
+ @include mixin .theme-rule (background-color , color- primary, $theme );
57
65
}
58
66
}
59
67
}
You can’t perform that action at this time.
0 commit comments