echoer/client/tailwind.config.js

29 lines
768 B
JavaScript
Raw Normal View History

2024-12-20 23:45:25 +08:00
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: "all",
content: ["./src/**/*.{rs,html,css}", "./dist/**/*.html"],
theme: {
2024-12-23 00:41:55 +08:00
extend: {
colors: {
accent: 'var(--accent-color)',
},
2025-01-04 21:33:00 +08:00
animation: {
'slide-in': 'slide-in 0.3s ease-out',
'slide-out': 'slide-out 0.3s ease-out',
},
keyframes: {
'slide-in': {
'0%': { transform: 'translateX(100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
'slide-out': {
'0%': { transform: 'translateX(0)', opacity: '1' },
'100%': { transform: 'translateX(100%)', opacity: '0' },
},
},
2024-12-23 00:41:55 +08:00
},
2024-12-20 23:45:25 +08:00
},
plugins: [],
darkMode: ['data-theme="dark"'],
2024-12-20 23:45:25 +08:00
};