-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtailwind.config.js
104 lines (99 loc) · 3.34 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
const colors = require('tailwindcss/colors')
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
darkMode: 'class',
theme: {
extend: {
colors: {
green: colors.emerald,
yellow: colors.amber,
purple: colors.violet,
red: colors.red,
blue: colors.blue,
orange: colors.orange,
gray: colors.gray,
white: colors.white,
black: colors.black,
primary: colors.blue,
secondary: colors.orange,
success: colors.green,
info: colors.blue,
warning: colors.yellow,
danger: colors.red,
light: colors.gray,
dark: colors.black,
text: colors.gray,
background: colors.white,
border: colors.gray[200],
placeholder: colors.gray[200],
highlight: colors.blue[100],
hover: colors.blue[100],
focus: colors.blue[100],
active: colors.blue[100],
disabled: colors.gray[200],
'on-background': colors.white,
'on-surface': colors.black,
'on-primary': colors.white,
'on-secondary': colors.white,
'on-success': colors.white,
'on-info': colors.white,
'on-warning': colors.white,
'on-danger': colors.white,
'on-light': colors.black,
'on-dark': colors.white,
'on-text': colors.black,
'on-background-hover': colors.gray[100],
'on-background-focus': colors.gray[100],
'on-background-active': colors.gray[100],
'on-surface-hover': colors.black,
'on-surface-focus': colors.black,
'on-surface-active': colors.black,
'on-primary-hover': colors.white,
'on-primary-focus': colors.white,
'on-primary-active': colors.white,
'on-secondary-hover': colors.white,
'on-secondary-focus': colors.white,
},
typography: {
DEFAULT: {
css: {
p: {
marginBottom: '0.25rem',
marginTop: '0.25rem',
},
},
},
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
},
},
content: [
'./app/**/*.php',
'./resources/**/*.html',
'./resources/**/*.js',
'./resources/**/*.jsx',
'./resources/**/*.ts',
'./resources/**/*.tsx',
'./resources/**/*.php',
'./resources/**/*.vue',
'./resources/**/*.twig',
],
typography: {
default: {
css: {
p: {
marginBottom: '0.5rem',
marginTop: '0.5rem',
}
}
}
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/typography'),
require('@tailwindcss/line-clamp'),
],
};