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')
|
2022-01-29 07:40:50 +00:00
|
|
|
const siteConfig = require('./config/site.config')
|
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: {
|
2022-01-06 13:10:16 +00:00
|
|
|
850: '#222226'
|
2021-08-29 21:31:42 +00:00
|
|
|
}
|
2022-02-10 05:37:03 +00:00
|
|
|
},
|
|
|
|
animation: {
|
|
|
|
'spin-slow': 'spin 5s linear infinite',
|
2021-06-22 13:55:53 +00:00
|
|
|
}
|
|
|
|
}
|
2021-06-22 12:17:15 +00:00
|
|
|
},
|
2022-02-05 12:36:38 +00:00
|
|
|
plugins: [
|
|
|
|
require('@tailwindcss/line-clamp'),
|
|
|
|
],
|
2021-06-22 12:17:15 +00:00
|
|
|
}
|