-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
89 lines (87 loc) · 2.12 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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors')
const typography = require('@tailwindcss/typography')
const forms = require('@tailwindcss/forms')
module.exports = {
content: ['layouts/**/*.htm', 'pages/**/*.htm', 'partials/**/*.htm'],
safelist: ['prose', 'prose-sm', 'prose-md', 'prose-lg'],
theme: {
container: {
center: true,
padding: {
DEFAULT: '1rem',
sm: '1rem',
md: '4rem',
lg: '4rem',
xl: '8rem',
'2xl': '12rem',
},
},
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
white: colors.white,
black: colors.black,
base: {
100: colors.gray[100],
200: colors.gray[200],
300: colors.gray[400],
content: colors.gray[500],
},
primary: {
DEFAULT: colors.purple[600],
focus: colors.purple[700],
content: colors.purple[50],
},
secondary: {
DEFAULT: colors.lime[500],
focus: colors.lime[600],
content: colors.lime[50],
},
accent: {
DEFAULT: colors.amber[400],
focus: colors.amber[500],
content: colors.amber[50],
},
neutral: {
DEFAULT: colors.gray[600],
focus: colors.gray[800],
content: colors.gray[50],
},
info: {
DEFAULT: colors.lightBlue[500],
},
success: {
DEFAULT: colors.lime[500],
},
warning: {
DEFAULT: colors.yellow[400],
},
error: {
DEFAULT: colors.red[600],
},
},
typography: {
DEFAULT: {
css: {
maxWidth: '100%',
color: 'inherit',
p: {
color: 'inherit',
},
strong: {
color: 'inherit',
},
},
},
},
},
fontFamily: {
sans: ['Noto Sans JP', 'Biryani', 'Maven Pro'],
poppins: ['Poppins'],
rubik: ['Rubik'],
},
},
plugins: [typography, forms],
}