Skip to content

Commit

Permalink
Merge branch 'release/v1.1.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadPCh committed Oct 11, 2021
2 parents 80a9f64 + f7f3618 commit c7afb7d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/components/typography/QuoteText.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import styled from "styled-components";

export interface IOverlineProps {
size?: 'small' | 'medium' | 'large';
}

export const Overline = styled.a<IOverlineProps>`
/* Overline */
font-family: Red Hat Text;
font-weight: normal;
font-style: normal;
${props => {
switch (props.size) {
case 'small':
return 'font-size: 24px;line-height: 32px;'
case 'medium':
return 'font-size: 28px;line-height: 38px;'
case 'large':
return 'font-size: 32px;line-height: 42px;'
default:
return 'font-size: 28px;line-height: 38px;'
}
}}
`;

0 comments on commit c7afb7d

Please sign in to comment.