-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
62 lines (61 loc) · 1.53 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
53
54
55
56
57
58
59
60
61
62
const colors = require('tailwindcss/colors');
const metaConfig = require('./src/meta-config');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
darkMode: 'media',
theme: {
container: {
screens: {
sm: '600px',
md: '728px',
lg: '728px',
xl: '728px',
'2xl': '728px',
},
},
extend: {
fontFamily: {
sans: ['var(--roboto)'],
},
colors: {
primary: {
DEFAULT: 'var(--color-primary)',
light: colors.blue['500'],
dark: colors.blue['600'],
},
success: {
DEFAULT: 'var(--color-success)',
light: colors.green['500'],
dark: colors.green['500'],
},
secondary: {
DEFAULT: 'var(--color-secondary)',
light: colors.gray['400'],
dark: colors.gray['400'],
},
danger: {
DEFAULT: 'var(--color-danger)',
light: colors.red['500'],
dark: colors.red['600'],
},
background: {
DEFAULT: 'var(--color-background)',
light: metaConfig.themeColor.light,
dark: metaConfig.themeColor.dark,
},
font: {
DEFAULT: 'var(--color-font)',
light: colors.black,
dark: colors.gray['200'],
},
skeleton: {
DEFAULT: 'var(--color-skeleton)',
light: colors.gray['400'],
dark: colors.gray['400'],
},
},
},
},
plugins: [],
};