|
|
@ -1,51 +1,88 @@ |
|
|
|
export const textStyles = { |
|
|
|
export const textStyles = { |
|
|
|
h1: { |
|
|
|
h1: { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
fontWeight: 700, |
|
|
|
fontWeight: 700, |
|
|
|
fontSize: '2.75rem', |
|
|
|
fontSize: '2.75rem', |
|
|
|
lineHeight: '3.375rem', |
|
|
|
lineHeight: '3.375rem', |
|
|
|
letterSpacing: '5%', |
|
|
|
letterSpacing: '0.05em', |
|
|
|
color: 'body' |
|
|
|
color: 'body' |
|
|
|
}, |
|
|
|
}, |
|
|
|
h2: { |
|
|
|
h2: { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
fontWeight: 400, |
|
|
|
fontWeight: 400, |
|
|
|
fontSize: '1.5rem', |
|
|
|
fontSize: '1.5rem', |
|
|
|
lineHeight: 'auto', |
|
|
|
lineHeight: 'normal', |
|
|
|
letterSpacing: '4%', |
|
|
|
letterSpacing: '0.04em', |
|
|
|
color: 'body' |
|
|
|
color: 'body' |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
header1: { |
|
|
|
|
|
|
|
fontFamily: 'heading', |
|
|
|
|
|
|
|
fontWeight: 700, |
|
|
|
|
|
|
|
fontSize: { base: '1.875rem', md: '2.125rem' }, |
|
|
|
|
|
|
|
letterSpacing: '0.04em', |
|
|
|
|
|
|
|
lineHeight: 'normal' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
header2: { |
|
|
|
|
|
|
|
fontFamily: 'heading', |
|
|
|
|
|
|
|
fontSize: { base: '1.5rem', md: '1.75rem' }, |
|
|
|
|
|
|
|
letterSpacing: '0.04em', |
|
|
|
|
|
|
|
lineHeight: 'normal' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
header3: { |
|
|
|
|
|
|
|
fontFamily: 'heading', |
|
|
|
|
|
|
|
fontSize: { base: '1.25rem', md: '1.375rem' }, |
|
|
|
|
|
|
|
letterSpacing: '0.04em', |
|
|
|
|
|
|
|
lineHeight: 'normal' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
header4: { |
|
|
|
|
|
|
|
fontFamily: 'heading', |
|
|
|
|
|
|
|
fontSize: '1.125rem', |
|
|
|
|
|
|
|
letterSpacing: '0.04em', |
|
|
|
|
|
|
|
lineHeight: 'normal' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
header5: { |
|
|
|
|
|
|
|
fontFamily: 'heading', |
|
|
|
|
|
|
|
fontSize: '1rem', |
|
|
|
|
|
|
|
letterSpacing: '0.02em', |
|
|
|
|
|
|
|
lineHeight: 'normal' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
header6: { |
|
|
|
|
|
|
|
fontFamily: 'heading', |
|
|
|
|
|
|
|
fontSize: '0.875rem', |
|
|
|
|
|
|
|
letterSpacing: '0.02em', |
|
|
|
|
|
|
|
lineHeight: 'normal' |
|
|
|
|
|
|
|
}, |
|
|
|
'header-font': { |
|
|
|
'header-font': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
fontWeight: 700, |
|
|
|
fontWeight: 700, |
|
|
|
fontSize: { base: '0.86rem', sm: '1rem' } |
|
|
|
fontSize: { base: '0.86rem', sm: '1rem' } |
|
|
|
}, |
|
|
|
}, |
|
|
|
'homepage-description': { |
|
|
|
'homepage-description': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
fontWeight: 700, |
|
|
|
fontWeight: 700, |
|
|
|
lineHeight: '21px', |
|
|
|
lineHeight: '21px', |
|
|
|
letterSpacing: '0.05em', |
|
|
|
letterSpacing: '0.05em', |
|
|
|
textAlign: { base: 'center', md: 'left' } |
|
|
|
textAlign: { base: 'center', md: 'left' } |
|
|
|
}, |
|
|
|
}, |
|
|
|
'homepage-primary-label': { |
|
|
|
'homepage-primary-label': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
color: 'bg', |
|
|
|
color: 'bg', |
|
|
|
fontWeight: 700, |
|
|
|
fontWeight: 700, |
|
|
|
textTransform: 'uppercase' |
|
|
|
textTransform: 'uppercase' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'home-section-link-label': { |
|
|
|
'home-section-link-label': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
fontWeight: 700, |
|
|
|
fontWeight: 700, |
|
|
|
textTransform: 'uppercase', |
|
|
|
textTransform: 'uppercase', |
|
|
|
textAlign: 'center', |
|
|
|
textAlign: 'center', |
|
|
|
p: 4 |
|
|
|
p: 4 |
|
|
|
}, |
|
|
|
}, |
|
|
|
'quick-link-text': { |
|
|
|
'quick-link-text': { |
|
|
|
fontFamily: '"Inter", sans-serif', |
|
|
|
fontFamily: 'body', |
|
|
|
lineHeight: '26px' |
|
|
|
lineHeight: '26px' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'quick-link-label': { |
|
|
|
'quick-link-label': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
fontWeight: 700, |
|
|
|
fontWeight: 700, |
|
|
|
textTransform: 'uppercase', |
|
|
|
textTransform: 'uppercase', |
|
|
|
textAlign: 'center', |
|
|
|
textAlign: 'center', |
|
|
@ -56,35 +93,35 @@ export const textStyles = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
'hero-text-small': { |
|
|
|
'hero-text-small': { |
|
|
|
fontSize: '13px', |
|
|
|
fontSize: '13px', |
|
|
|
fontFamily: '"Inter", sans-serif' |
|
|
|
fontFamily: 'body' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'footer-link-label': { |
|
|
|
'footer-link-label': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontWeight: 700, |
|
|
|
fontWeight: 700, |
|
|
|
textTransform: 'uppercase', |
|
|
|
textTransform: 'uppercase', |
|
|
|
lineHeight: '21.12px', |
|
|
|
lineHeight: '21.12px', |
|
|
|
letterSpacing: '2%' |
|
|
|
letterSpacing: '0.02em' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'footer-text': { |
|
|
|
'footer-text': { |
|
|
|
fontFamily: '"Inter", sans-serif', |
|
|
|
fontFamily: 'body', |
|
|
|
lineHeight: '22px', |
|
|
|
lineHeight: '22px', |
|
|
|
fontWeight: 400, |
|
|
|
fontWeight: 400, |
|
|
|
fontSize: '12px' |
|
|
|
fontSize: '12px' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'downloads-button-label': { |
|
|
|
'downloads-button-label': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
color: 'bg', |
|
|
|
color: 'bg', |
|
|
|
fontSize: { base: 'md', lg: 'xl' }, |
|
|
|
fontSize: { base: 'md', lg: 'xl' }, |
|
|
|
textTransform: 'uppercase' |
|
|
|
textTransform: 'uppercase' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'downloads-button-sublabel': { |
|
|
|
'downloads-button-sublabel': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
color: 'bg', |
|
|
|
color: 'bg', |
|
|
|
fontSize: { base: 'xs', lg: 'sm' }, |
|
|
|
fontSize: { base: 'xs', lg: 'sm' }, |
|
|
|
textTransform: 'uppercase' |
|
|
|
textTransform: 'uppercase' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'download-tab-label': { |
|
|
|
'download-tab-label': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
fontWeight: 700, |
|
|
|
fontWeight: 700, |
|
|
|
textTransform: 'uppercase', |
|
|
|
textTransform: 'uppercase', |
|
|
|
textAlign: 'center', |
|
|
|
textAlign: 'center', |
|
|
@ -93,7 +130,7 @@ export const textStyles = { |
|
|
|
'header-button': { |
|
|
|
'header-button': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontWeight: 700, |
|
|
|
fontWeight: 700, |
|
|
|
fontSize: { base: '0.86rem', sm: '1rem' }, |
|
|
|
fontSize: { base: '0.86rem', sm: '1rem' } |
|
|
|
}, |
|
|
|
}, |
|
|
|
'header-mobile-button': { |
|
|
|
'header-mobile-button': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
@ -101,18 +138,18 @@ export const textStyles = { |
|
|
|
fontSize: '2xl' |
|
|
|
fontSize: '2xl' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'inline-code-snippet': { |
|
|
|
'inline-code-snippet': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
fontWeight: 400, |
|
|
|
fontWeight: 400, |
|
|
|
fontSize: 'md', |
|
|
|
fontSize: 'md', |
|
|
|
lineHeight: 4, |
|
|
|
lineHeight: 4, |
|
|
|
letterSpacing: '1%' |
|
|
|
letterSpacing: '0.01em' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'code-block': { |
|
|
|
'code-block': { |
|
|
|
fontFamily: '"JetBrains Mono", monospace', |
|
|
|
fontFamily: 'heading', |
|
|
|
fontWeight: 400, |
|
|
|
fontWeight: 400, |
|
|
|
fontSize: 'md', |
|
|
|
fontSize: 'md', |
|
|
|
lineHeight: '21.12px', |
|
|
|
lineHeight: '21.12px', |
|
|
|
letterSpacing: '1%' |
|
|
|
letterSpacing: '0.01em' |
|
|
|
}, |
|
|
|
}, |
|
|
|
// TODO: refactor w/ semantic tokens for light/dark mode
|
|
|
|
// TODO: refactor w/ semantic tokens for light/dark mode
|
|
|
|
'link-light': {}, |
|
|
|
'link-light': {}, |
|
|
|