-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.cjs
54 lines (50 loc) · 936 Bytes
/
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
53
54
const { fontFamily } = require('tailwindcss/defaultTheme');
const config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
darkMode: 'class',
theme: {
container: {
center: true,
screens: {
'2xl': '768px'
},
padding: {
DEFAULT: '0.5rem',
md: '0rem'
}
},
fontFamily: {
sans: ['Raleway', ...fontFamily.sans]
},
colors: {
transparent: 'transparent',
current: 'currentColor',
white: '#FFF',
black: '#000',
gray: {
// Baby powder
light: '#F7F7F2',
// Alabaster
DEFAULT: '#DBE1D4',
// Night
dark: '#121113'
},
primary: {
// Beige
light: '#E4E6C3',
// Moss green
DEFAULT: '#899878',
// Eerie black
dark: '#222725'
}
},
extend: {
screens: {
xs: '465px'
// => @media (min-width: 465px) { ... }
}
}
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')]
};
module.exports = config;