forked from rayriffy/rayriffy-blog-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
65 lines (64 loc) · 1.45 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
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
purge: [
'./src/**/*.html',
'./src/**/*.tsx',
'./src/**/*.ts',
'./src/**/*.jsx',
'./src/**/*.js',
],
darkMode: 'media',
theme: {
colors: {
white: '#ffffff',
black: '#000000',
bluegray: colors.blueGray,
coolgray: colors.coolGray,
gray: colors.gray,
truegray: colors.trueGray,
warmgray: colors.warmGray,
red: colors.red,
orange: colors.orange,
amber: colors.amber,
yellow: colors.yellow,
lime: colors.lime,
green: colors.green,
emerald: colors.emerald,
teal: colors.teal,
cyan: colors.cyan,
lightblue: colors.lightBlue,
blue: colors.blue,
indigo: colors.indigo,
violet: colors.violet,
purple: colors.purple,
pink: colors.pink,
rose: colors.rose,
},
extend: {
typography: {
DEFAULT: {
css: {
h2: {
marginTop: '0',
},
},
},
},
fontFamily: {
sans: ['Niramit', ...defaultTheme.fontFamily.sans],
header: ['Kanit', ...defaultTheme.fontFamily.sans],
},
backgroundColor: {
'black-overlay': 'rgba(0, 0, 0, 0.25)',
},
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
],
}