Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
refactor: change font, add space to slogan
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirved64 committed Sep 8, 2023
1 parent 623ab5b commit af08b24
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 15 deletions.
4 changes: 1 addition & 3 deletions landing/fragments/landing-hero/src/hero.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const Hero = () => {

<Column flexBasis={[335, 1460]} flexGrow={[1, 0]}>
<Row alignItems='end' flexWrap='wrap'>
<Box width={[230, 778]}>
<Box width={[233, 798]}>
<Text
color='text.white'
fontSize={['normal', 'stupendous']}
Expand All @@ -39,8 +39,6 @@ export const Hero = () => {
</Text>
</Box>

<Layout flexBasis={[3, 20]} flexShrink='0' />

<Column>
<Background
backgroundColor='ghostTransparentGradient'
Expand Down
7 changes: 1 addition & 6 deletions landing/fragments/landing-steps/src/item/item.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,7 @@ export const Item: FC<ItemProps> = ({ divider = true, ...props }: ItemProps) =>
borderRadius={['little', 'ordinary']}
border='thinnestGhost'
>
<Text
color='text.white'
fontSize={['compact', 'medium']}
lineHeight='small'
fontFamily='regular'
>
<Text color='text.white' fontSize={['compact', 'medium']} lineHeight='small'>
{props.sequenceNumber}
</Text>
</Box>
Expand Down
6 changes: 3 additions & 3 deletions ui/input/src/styles/shape/input.shape-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { prop } from 'styled-tools'
import { switchProp } from 'styled-tools'

const normalSizeNormallRadiiStyles = createShapeStyles({
fontFamily: 'Helvetica',
fontFamily: 'HelveticaRegular',
fontWeight: 400,
fontSize: 16,
size: 56,
Expand All @@ -16,7 +16,7 @@ const normalSizeNormallRadiiStyles = createShapeStyles({
})

const bigSizeRegularRadiiStyles = createShapeStyles({
fontFamily: 'Helvetica',
fontFamily: 'HelveticaRegular',
fontWeight: 400,
fontSize: 18,
size: 62,
Expand All @@ -26,7 +26,7 @@ const bigSizeRegularRadiiStyles = createShapeStyles({
})

export const textareaStyles: styleFn = ifProp(prop('textarea', true), {
fontFamily: 'Helvetica',
fontFamily: 'HelveticaRegular',
fontWeight: 400,
fontSize: 18,
paddingTop: 16,
Expand Down
1 change: 0 additions & 1 deletion ui/theme/src/global.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const GlobalStyles = () => (
#__next {
margin: 0;
height: 100%;
font: HelveticaRegular;
}
`}
/>
Expand Down
3 changes: 1 addition & 2 deletions ui/theme/src/theme/fonts.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
const fonts = {
primary: 'Helvetica',
primary: 'HelveticaRegular',
secondary: 'GellaDisplay',
light: 'HelveticaLight',
regular: 'HelveticaRegular',
}

export { fonts }

0 comments on commit af08b24

Please sign in to comment.