Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit ee94f46

Browse files
committed
some typography related adjustments.
1 parent 12d27f3 commit ee94f46

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/components/PricingBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const StyledPricingBox = styled.div<StyledPricingBoxProps>`
7474
min-width: 25rem;
7575
}
7676
77-
> * {
77+
> *:not(h4) {
7878
color: inherit;
7979
}
8080

src/components/pricing/Tabs.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,20 @@ const Tab = styled.button<{ isRendered: boolean }>`
1616
border-bottom-color: transparent;
1717
margin-bottom: -1px;
1818
cursor: pointer;
19-
transition: color .1s;
19+
transition: all .05s;
2020
2121
&:first-of-type {
2222
background-color: ${({ isRendered }) => isRendered ? colors.offWhite2 : colors.white};
2323
font-weight: ${({ isRendered }) => isRendered ? '400' : '600'};
2424
border-right: none;
25+
color: ${({ isRendered }) => isRendered ? colors.textLight : colors.textDark};
2526
}
2627
2728
&:last-of-type {
2829
background-color: ${({ isRendered }) => isRendered ? colors.white : colors.offWhite2};
2930
font-weight: ${({ isRendered }) => isRendered ? '600' : '400'};
3031
border-left: none;
32+
color: ${({ isRendered }) => isRendered ? colors.textDark : colors.textLight};
3133
}
3234
3335
body.user-is-tabbing &:focus {

src/styles/normalize.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export default `
9292
h4 {
9393
font-family: 'Montserrat', sans-serif;
9494
line-height: 1.2;
95+
color: ${colors.textDark};
9596
}
9697
9798
h1,

0 commit comments

Comments
 (0)