onedrive/tailwind.config.js

40 lines
925 B
JavaScript
Raw Normal View History

const defaultTheme = require('tailwindcss/defaultTheme')
2021-08-23 15:14:08 +00:00
const colors = require('tailwindcss/colors')
const siteConfig = require('./config/site.json')
2021-06-22 12:17:15 +00:00
module.exports = {
mode: 'jit',
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
2021-08-29 21:31:42 +00:00
darkMode: 'media',
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,
gray: colors.gray,
red: colors.rose,
yellow: colors.amber,
green: colors.green,
blue: colors.sky,
indigo: colors.indigo,
purple: colors.purple,
pink: colors.pink
},
extend: {
fontFamily: {
sans: [`"${siteConfig.googleFont}"`, '"Noto Sans SC"', ...defaultTheme.fontFamily.sans]
2021-08-29 21:31:42 +00:00
},
colors: {
gray: {
850: '#2E2E34'
}
}
}
2021-06-22 12:17:15 +00:00
},
variants: {
extend: {},
},
plugins: [],
}