This repository was archived by the owner on Apr 19, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ const StyledPricingBox = styled.div<StyledPricingBoxProps>`
74
74
min-width: 25rem;
75
75
}
76
76
77
- > * {
77
+ > *:not(h4) {
78
78
color: inherit;
79
79
}
80
80
Original file line number Diff line number Diff line change @@ -16,18 +16,20 @@ const Tab = styled.button<{ isRendered: boolean }>`
16
16
border-bottom-color: transparent;
17
17
margin-bottom: -1px;
18
18
cursor: pointer;
19
- transition: color .1s ;
19
+ transition: all .05s ;
20
20
21
21
&:first-of-type {
22
22
background-color: ${ ( { isRendered } ) => isRendered ? colors . offWhite2 : colors . white } ;
23
23
font-weight: ${ ( { isRendered } ) => isRendered ? '400' : '600' } ;
24
24
border-right: none;
25
+ color: ${ ( { isRendered } ) => isRendered ? colors . textLight : colors . textDark } ;
25
26
}
26
27
27
28
&:last-of-type {
28
29
background-color: ${ ( { isRendered } ) => isRendered ? colors . white : colors . offWhite2 } ;
29
30
font-weight: ${ ( { isRendered } ) => isRendered ? '600' : '400' } ;
30
31
border-left: none;
32
+ color: ${ ( { isRendered } ) => isRendered ? colors . textDark : colors . textLight } ;
31
33
}
32
34
33
35
body.user-is-tabbing &:focus {
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ export default `
92
92
h4 {
93
93
font-family: 'Montserrat', sans-serif;
94
94
line-height: 1.2;
95
+ color: ${ colors . textDark } ;
95
96
}
96
97
97
98
h1,
You can’t perform that action at this time.
0 commit comments