onedrive/tailwind.config.js
2021-08-31 17:56:20 +01:00

40 lines
925 B
JavaScript

const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
const siteConfig = require('./config/site.json')
module.exports = {
mode: 'jit',
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: 'media',
theme: {
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]
},
colors: {
gray: {
850: '#2E2E34'
}
}
}
},
variants: {
extend: {},
},
plugins: [],
}