-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
60 lines (59 loc) · 1.84 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* eslint-disable import/no-extraneous-dependencies, global-require */
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
corePlugins: {
container: false,
},
theme: {
fontFamily: {
sans: ['"Poppins"', ...defaultTheme.fontFamily.sans],
},
fontSize: {
'6xl': ['3.625rem', defaultTheme.lineHeight.tight],
'5xl': [defaultTheme.fontSize['5xl'][0], defaultTheme.lineHeight.tight],
'4xl': [defaultTheme.fontSize['4xl'][0], defaultTheme.lineHeight.tight],
'3xl': [defaultTheme.fontSize['3xl'][0], defaultTheme.lineHeight.tight],
'2xl': [defaultTheme.fontSize['2xl'][0], defaultTheme.lineHeight.tight],
xl: [defaultTheme.fontSize.xl[0], defaultTheme.lineHeight.snug],
lg: [defaultTheme.fontSize.lg[0], defaultTheme.lineHeight.snug],
base: [defaultTheme.fontSize.base[0], defaultTheme.lineHeight.snug],
sm: [defaultTheme.fontSize.sm[0], defaultTheme.lineHeight.snug],
xs: [defaultTheme.fontSize.xs[0], defaultTheme.lineHeight.snug],
},
colors: ({ colors }) => ({
inherit: colors.inherit,
current: colors.current,
transparent: colors.transparent,
white: '#FFFFFF',
black: '#181A1B',
blue: '#401AFF',
pink: '#F14AFF',
orange: '#FD6A00',
yellow: '#FFD500',
gray: {
10: '#293A3D',
40: '#73888C',
50: '#8FA0A3',
60: '#ABB8BA',
70: '#C7D0D1',
80: '#E3E7E8',
90: '#F1F3F3',
},
}),
screens: {
'2xl': { max: '1919px' },
xl: { max: '1535px' },
lg: { max: '1279px' },
md: { max: '1023px' },
sm: { max: '767px' },
xs: { max: '359px' },
},
extend: {
spacing: {
4.5: '1.125rem', // 18px
},
},
},
plugins: [require('tailwindcss-safe-area')],
};