File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const TitleList = styled.ul`
88 padding-left : 0 ;
99 list-style : none;
1010 margin : 0 ;
11- border-bottom : 1px solid # dfdfdf ;
11+ border-bottom : 1px solid ${ ( props ) => props . theme . dividerColor } ;
1212` ;
1313
1414interface TabTitleProps {
@@ -22,17 +22,19 @@ const TabTitle = styled.li<TabTitleProps>`
2222 opacity: 0.4;
2323 display: inline-block;
2424 border-bottom: solid 3px transparent;
25+
2526 :hover {
2627 opacity: 1;
27- border-bottom: solid 3px #50a0d0 ;
28+ border-bottom: solid 3px ${ ( props ) => props . theme . borderColor } ;
2829 }
30+
2931 ${ ( props ) =>
3032 props . isActiveTab &&
3133 css `
3234 transition : all 300ms cubic-bezier (0.4 , 0 , 0.2 , 1 ) 0ms ;
3335 cursor : default;
3436 opacity : 1 ;
35- border-bottom : solid 3px # 50a0d0 ;
37+ border-bottom : solid 3px ${ props . theme . borderColor } ;
3638 ` }
3739` ;
3840
You can’t perform that action at this time.
0 commit comments