onedrive/tailwind.config.js

44 lines
1.1 KiB
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.config')
2021-06-22 12:17:15 +00:00
module.exports = {
content: ['./src/**/*.{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,
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,
pink: colors.pink,
teal: colors.teal,
cyan: colors.cyan,
orange: colors.orange,
2021-08-23 15:14:08 +00:00
},
extend: {
fontFamily: {
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
}
},
animation: {
'spin-slow': 'spin 5s linear infinite',
}
}
2021-06-22 12:17:15 +00:00
},
plugins: [
require('@tailwindcss/line-clamp'),
],
2021-06-22 12:17:15 +00:00
}