hilingriviw/tailwind.config.js

54 lines
1.4 KiB
JavaScript
Raw Permalink Normal View History

2023-08-28 16:55:35 +07:00
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
2023-08-30 16:46:33 +07:00
colors: {
transparent: 'transparent',
current: 'currentColor',
2023-09-01 20:46:13 +07:00
primary: '#202225',
2023-09-03 17:12:06 +07:00
secondary: '#2f3136',
2023-09-24 18:06:41 +07:00
tertiary: '#a8adb3',
error: '#ff5454',
2023-10-09 16:22:35 +07:00
gray: '#797979',
2023-10-11 16:29:49 +07:00
yellow: '#e5c453'
2023-09-03 17:12:06 +07:00
},
borderColor: {
primary: '#38444d',
secondary: '#202225'
},
fontFamily: {
lato: ['Lato', 'sans-serif']
2023-08-30 16:46:33 +07:00
},
fontSize: {
2023-09-20 21:24:33 +07:00
xxs: ['0.65rem', { lineHeight: '.85rem' }],
2023-08-30 16:46:33 +07:00
xs: ['0.75rem', { lineHeight: '1rem' }],
sm: ['0.875rem', { lineHeight: '1.25rem' }],
base: ['1rem', { lineHeight: '1.5rem' }],
lg: ['1.125rem', { lineHeight: '1.75rem' }],
xl: ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
'3xl': ['1.875rem', { lineHeight: '2.25rem' }],
'4xl': ['2.25rem', { lineHeight: '2.5rem' }],
'5xl': ['3rem', { lineHeight: '1' }],
'6xl': ['3.75rem', { lineHeight: '1' }],
'7xl': ['4.5rem', { lineHeight: '1' }],
'8xl': ['6rem', { lineHeight: '1' }],
'9xl': ['8rem', { lineHeight: '1' }],
},
fontWeight: {
thin: '100',
extralight: '200',
light: '300',
normal: '400',
medium: '500',
semibold: '600',
bold: '700',
extrabold: '800',
black: '900',
},
2023-08-28 16:55:35 +07:00
extend: {},
},
plugins: [],
}