Skip to content

Commit

Permalink
Merge pull request #32 from BinaryStudioAcademy/task/OV-10-business-s…
Browse files Browse the repository at this point in the history
…tyles

OV-10: + colors and typography
  • Loading branch information
nikita-remeslov authored Aug 21, 2024
2 parents 5eed89c + 78518d0 commit 1f44fca
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 3 deletions.
3 changes: 1 addition & 2 deletions frontend/src/framework/theme/styles/colors.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ const colors = {
50: '#e2e1ec',
},
brand: {
900: '#1a365d',
200: '#b3e0ff',
secondary: {
50: '#3BAF28',
300: '#ff6e1c',
600: '#eb5500',
900: '#e13b00',
Expand Down
50 changes: 49 additions & 1 deletion frontend/src/framework/theme/styles/components.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,55 @@ import { colors } from './colors.styles.js';
const components = {
Heading: {
baseStyle: {
color: colors.text.accent,
color: colors.white,
fontFamily: 'Poppins, sans-serif',
textAlign: 'left',
},
variants: {
H1: {
fontSize: '54px',
fontWeight: '600',
lineHeight: '64px',
},
H2: {
fontSize: '30px',
fontWeight: '600',
lineHeight: '32px',
},
H3: {
fontSize: '18px',
fontWeight: '700',
lineHeight: '27px',
},
},
},
Text: {
baseStyle: {
color: colors.white,
fontFamily: 'Poppins, sans-serif',
textAlign: 'left',
},
variants: {
body1: {
fontSize: '16px',
fontWeight: '500',
lineHeight: '22px',
},
bodySmall: {
fontSize: '14px',
fontWeight: '400',
lineHeight: '20px',
},
caption: {
fontSize: '12px',
fontWeight: '400',
lineHeight: '16px',
},
button: {
fontSize: '14px',
fontWeight: '600',
lineHeight: '16px',
},
},
},
Button: {
Expand Down

0 comments on commit 1f44fca

Please sign in to comment.