-
Notifications
You must be signed in to change notification settings - Fork 191
/
tailwind.config.js
54 lines (53 loc) · 1.19 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
/* eslint-disable import/no-extraneous-dependencies, global-require */
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
corePlugins: {
container: false,
},
future: {
hoverOnlyWhenSupported: true,
},
theme: {
fontFamily: {
sans: ['Input Mono', ...defaultTheme.fontFamily.sans],
mono: ['Roboto Mono', ...defaultTheme.fontFamily.mono],
},
fontSize: {
xs: ['12px'],
sm: ['14px'],
base: ['16px'],
lg: ['20px'],
xl: ['60px'],
},
colors: ({ colors }) => ({
inherit: colors.inherit,
current: colors.current,
transparent: colors.transparent,
black: '#000000',
white: '#ffffff',
primary: {
1: '#FF0095',
2: '#00EAFF',
},
gray: {
1: '#C7CCD1',
2: '#454D54',
},
}),
screens: {
'2xl': { max: '1919px' },
xl: { max: '1535px' },
lg: { max: '1279px' },
md: { max: '1023px' },
sm: { max: '767px' },
xs: { max: '359px' },
},
extend: {
spacing: {
26: '6.25rem',
},
},
},
plugins: [require('tailwindcss-safe-area')],
};