Настроила tailwind.config, размеры шрифтов

This commit is contained in:
Daria Golova
2022-10-11 19:46:07 +03:00
parent 460ea6b4b2
commit ca20d22b51
8 changed files with 179 additions and 16 deletions

View File

@@ -3,6 +3,23 @@ module.exports = {
'./index.html',
'./src/**/*.{js,jsx,ts,tsx,vue}',
],
theme: {},
theme: {
extend: {
fontFamily: {
sans: ['Raleway', 'sans-serif'],
},
fontSize: {
xxs: ['12px', { lineHeight: '14px' }],
xs: ['13px', { lineHeight: '15px' }],
sm: ['14px', { lineHeight: '16px' }],
base: ['16px', { lineHeight: '19px' }],
m: ['16px', { lineHeight: '21.6px' }],
lg: ['18px', { lineHeight: '21px' }],
xl: ['20px', { lineHeight: '23px' }],
'2xl': ['28px', { lineHeight: '33px' }],
'3xl': ['60px', { lineHeight: '70px' }],
}
},
},
plugins: [],
};