-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtailwind.config.cjs
57 lines (56 loc) · 1.65 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
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
theme: {
extend: {
fontFamily: {
sans: ['Nunito', ...defaultTheme.fontFamily.sans],
roboto: ['RobotoBold',...defaultTheme.fontFamily.sans],
robotoMono: ['RobotoMono', ...defaultTheme.fontFamily.mono],
},
blur: {
xs: '2px',
xxs: '1px',
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
red: colors.red,
yellow: colors.amber,
green: colors.emerald,
indigo: colors.indigo,
blue: colors.blue,
gray: colors.gray,
primary: colors.red,
cyan: colors.cyan,
rose: colors.rose,
sky: colors.sky,
purple: colors.purple,
teal: colors.teal,
pink: colors.pink,
},
},
},
variants: {
extend: {
backgroundColor: ['active'],
}
},
content: [
'./app/**/*.php',
'./resources/**/*.html',
'./resources/**/*.js',
'./resources/**/*.jsx',
'./resources/**/*.ts',
'./resources/**/*.tsx',
'./resources/**/*.php',
'./resources/**/*.vue',
'./resources/**/*.twig',
],
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
],
}