40 lines
1.3 KiB
JavaScript
Executable File
40 lines
1.3 KiB
JavaScript
Executable File
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
"./index.html",
|
|
"./src/**/*.{js,ts,jsx,tsx}",
|
|
],
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: {
|
|
keyframes: {
|
|
fadeInPage: {
|
|
from: { opacity: '0', transform: 'translateY(10px)' },
|
|
to: { opacity: '1', transform: 'translateY(0)' },
|
|
},
|
|
},
|
|
animation: {
|
|
fadeInPage: 'fadeInPage 0.4s ease-out both',
|
|
},
|
|
colors: {
|
|
// Each shade references a CSS custom property holding bare RGB channels
|
|
// so Tailwind's opacity modifier syntax (bg-brand-500/30) keeps working.
|
|
brand: {
|
|
50: 'rgb(var(--brand-50) / <alpha-value>)',
|
|
100: 'rgb(var(--brand-100) / <alpha-value>)',
|
|
200: 'rgb(var(--brand-200) / <alpha-value>)',
|
|
300: 'rgb(var(--brand-300) / <alpha-value>)',
|
|
400: 'rgb(var(--brand-400) / <alpha-value>)',
|
|
500: 'rgb(var(--brand-500) / <alpha-value>)',
|
|
600: 'rgb(var(--brand-600) / <alpha-value>)',
|
|
700: 'rgb(var(--brand-700) / <alpha-value>)',
|
|
800: 'rgb(var(--brand-800) / <alpha-value>)',
|
|
900: 'rgb(var(--brand-900) / <alpha-value>)',
|
|
950: 'rgb(var(--brand-950) / <alpha-value>)',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
}
|