-
Notifications
You must be signed in to change notification settings - Fork 8
/
tailwind.config.cjs
52 lines (50 loc) · 1.02 KB
/
tailwind.config.cjs
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
const { fontFamily } = require('tailwindcss/defaultTheme');
const { orange, slate } = require('tailwindcss/colors');
const config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
darkMode: 'class',
theme: {
extend: {
borderColor: (theme) => ({
DEFAULT: theme('colors.light', 'currentColor')
})
},
colors: {
transparent: 'transparent',
current: 'currentColor',
primary: {
dark: orange['700'],
DEFAULT: orange['600'],
light: orange['400']
},
white: '#FFF',
light: slate['100'],
dark: slate['800'],
gray: {
light: slate['50'],
DEFAULT: slate['500'],
dark: slate['900']
}
},
container: {
center: true,
screens: {
'2xl': '1280px'
},
padding: {
DEFAULT: '0.5rem',
lg: '0rem'
}
},
fontFamily: {
sans: ['Roboto', ...fontFamily.sans],
secondary: ['Roboto Condensed', ...fontFamily.sans]
}
},
plugins: [
require('@tailwindcss/line-clamp'),
require('@tailwindcss/forms'),
require('tailwind-scrollbar')
]
};
module.exports = config;