-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
39 lines (38 loc) · 1.01 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
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
const siteConfig = require('./config/site.json')
module.exports = {
mode: 'jit',
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.zinc,
red: colors.rose,
yellow: colors.amber,
green: colors.green,
blue: colors.sky,
indigo: colors.indigo,
purple: colors.purple,
pink: colors.pink,
teal: colors.teal,
cyan: colors.cyan,
orange: colors.orange,
},
extend: {
fontFamily: {
sans: [`"${siteConfig.googleFontSans}"`, '"Noto Sans SC"', ...defaultTheme.fontFamily.sans],
mono: [`"${siteConfig.googleFontMono}"`, ...defaultTheme.fontFamily.mono]
},
colors: {
gray: {
850: '#222226'
}
}
}
},
plugins: [],
}