2021-06-22 13:55:53 +00:00
|
|
|
const defaultTheme = require('tailwindcss/defaultTheme')
|
2021-08-23 15:14:08 +00:00
|
|
|
const colors = require('tailwindcss/colors')
|
2021-08-31 16:56:20 +00:00
|
|
|
const siteConfig = require('./config/site.json')
|
2021-06-22 13:55:53 +00:00
|
|
|
|
2021-06-22 12:17:15 +00:00
|
|
|
module.exports = {
|
2021-06-22 13:55:53 +00:00
|
|
|
mode: 'jit',
|
2021-12-16 05:08:08 +00:00
|
|
|
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
|
2021-06-22 12:17:15 +00:00
|
|
|
theme: {
|
2021-08-23 15:14:08 +00:00
|
|
|
colors: {
|
|
|
|
transparent: 'transparent',
|
|
|
|
current: 'currentColor',
|
|
|
|
black: colors.black,
|
|
|
|
white: colors.white,
|
2021-12-17 06:38:49 +00:00
|
|
|
gray: colors.zinc,
|
2021-08-23 15:14:08 +00:00
|
|
|
red: colors.rose,
|
|
|
|
yellow: colors.amber,
|
|
|
|
green: colors.green,
|
|
|
|
blue: colors.sky,
|
|
|
|
indigo: colors.indigo,
|
|
|
|
purple: colors.purple,
|
2021-12-29 07:23:47 +00:00
|
|
|
pink: colors.pink,
|
2021-12-30 19:44:03 +00:00
|
|
|
teal: colors.teal,
|
|
|
|
cyan: colors.cyan,
|
|
|
|
orange: colors.orange,
|
2021-08-23 15:14:08 +00:00
|
|
|
},
|
2021-06-22 13:55:53 +00:00
|
|
|
extend: {
|
|
|
|
fontFamily: {
|
2021-12-18 04:59:40 +00:00
|
|
|
sans: [`"${siteConfig.googleFontSans}"`, '"Noto Sans SC"', ...defaultTheme.fontFamily.sans],
|
|
|
|
mono: [`"${siteConfig.googleFontMono}"`, ...defaultTheme.fontFamily.mono]
|
2021-08-29 21:31:42 +00:00
|
|
|
},
|
|
|
|
colors: {
|
|
|
|
gray: {
|
|
|
|
850: '#2E2E34'
|
|
|
|
}
|
2021-06-22 13:55:53 +00:00
|
|
|
}
|
|
|
|
}
|
2021-06-22 12:17:15 +00:00
|
|
|
},
|
|
|
|
plugins: [],
|
|
|
|
}
|