2
2
hx-tab {
3
3
border-radius : 2px 2px 0 0 ;
4
4
border : 1px solid transparent ;
5
- color : $gray-700 ;
5
+ color : var ( --hxTabset-hxTab-color , $gray-700 ) ;
6
6
cursor : pointer ;
7
7
font-size : 0.875rem ;
8
8
font-weight : 500 ;
9
9
10
10
& :hover {
11
- color : $gray-950 ;
11
+ color : var ( --hxTabset-hxTab-hover-color , $gray-950 ) ;
12
12
}
13
13
14
14
& :focus {
@@ -17,8 +17,8 @@ hx-tab {
17
17
18
18
& [current ] {
19
19
background-color : inherit ;
20
- border-bottom : 2px solid $teal-300 ;
21
- color : $gray-950 ;
20
+ border-bottom : 2px solid var ( --hxTabset-hxTab-current-border-bottom , $teal-300 ) ;
21
+ color : var ( --hxTabset-hxTab-current-color , $gray-950 ) ;
22
22
font-weight : 600 ;
23
23
outline : none ;
24
24
}
@@ -101,7 +101,7 @@ hx-tabset {
101
101
// before <hx-tabset> upgrades.
102
102
hx-tabset :not ([hx-defined ]) {
103
103
hx-tab :first-of-type {
104
- background-color : $gray-0 ;
104
+ background-color : var ( --hxTabset-hxTab-first-of-type-bgcolor , $gray-0 ) ;
105
105
}
106
106
107
107
hx-tabpanel :first-of-type {
@@ -113,11 +113,11 @@ hx-tabset:not([hx-defined]) {
113
113
114
114
hx-tabset .beta-hxBound {
115
115
hx-tab [current ] {
116
- background-color : $gray-0 ;
116
+ background-color : var ( --hxTabset-hxTab-current-bgcolor , $gray-0 ) ;
117
117
}
118
118
119
119
hx-tabcontent {
120
- background-color : $gray-0 ;
121
- border-color : $gray-300 ;
120
+ background-color : var ( --hxTabset-hxTabcontent-bgcolor , $gray-0 ) ;
121
+ border-color : var ( --hxTabset-hxTabcontent-border-color , $gray-300 ) ;
122
122
}
123
123
}
0 commit comments