devscard/tailwind.config.cjs
juyung b8a1eef13d
Some checks failed
Main Branch / Run Prettier check (push) Has been cancelled
Main Branch / Run TypeScript check (push) Has been cancelled
Main Branch / Run Astro check (push) Has been cancelled
Main Branch / Run Percy check (push) Has been cancelled
Main Branch / Create release (push) Has been cancelled
Main Branch / Deploy to Netlify (push) Has been cancelled
Main Branch / Run Lighthouse check (push) Has been cancelled
Upload
2026-03-28 05:04:47 +09:00

35 lines
812 B
JavaScript

const colors = require('tailwindcss/colors');
const defaultTheme = require('tailwindcss/defaultTheme');
/** @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.blue,
gray: colors.gray,
},
extend: {
spacing: {
18: '4.5rem',
},
keyframes: {
show: {
from: { opacity: '0' },
to: { opacity: '1' },
},
},
animation: {
show: 'show 225ms ease-in-out',
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [],
};