devscard/tailwind.config.cjs

28 lines
617 B
JavaScript

const colors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: ['class'],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
white: colors.white,
primary: colors.indigo,
gray: colors.gray,
},
extend: {
keyframes: {
show: {
from: { opacity: '0' },
to: { opacity: '1' },
},
},
animation: {
show: 'show 225ms ease-in-out',
},
},
},
plugins: [],
};