-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
66 lines (65 loc) · 2.05 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
61
62
63
64
65
66
import { addDynamicIconSelectors as iconify } from '@iconify/tailwind';
import aspectRatio from '@tailwindcss/aspect-ratio';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
import preline from 'preline/plugin';
import colors, { green as primary } from 'tailwindcss/colors';
import defaultTheme from 'tailwindcss/defaultTheme';
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./index.html',
'./assets/**/*.js',
'./pages/**/*.{html,js}',
'./public/features/**/*.{html,js}',
'./node_modules/preline/dist/*.js',
],
darkMode: 'class', // or 'media'
theme: {
extend: {
colors: {
primary: {
...primary,
DEFAULT: primary[500],
},
info: {
...colors.blue,
DEFAULT: colors.blue[500],
},
danger: {
...colors.rose,
DEFAULT: colors.rose[500],
},
success: {
...colors.emerald,
DEFAULT: colors.emerald[500],
},
warning: {
...colors.amber,
DEFAULT: colors.amber[500],
},
secondary: {
...colors.gray,
DEFAULT: colors.gray[400],
},
dark: {
...colors.slate,
DEFAULT: '#1F2937',
},
white: {
DEFAULT: '#FFFFFF',
light: '#E0E6ED',
},
light: '#F5F8FA',
},
fontFamily: {
sans: ['Inter, Helvetica, "sans-serif"', ...defaultTheme.fontFamily.sans],
},
screens: {
xxl: '1536px',
xxxl: '1920px',
},
},
},
plugins: [preline, forms, typography, aspectRatio, iconify()],
};