2025-07-30 02:56:32 +08:00
|
|
|
// tailwind.config.js
|
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
|
|
|
module.exports = {
|
|
|
|
|
content: [
|
|
|
|
|
'./src/**/*.{js,ts,jsx,tsx,mdx}',
|
|
|
|
|
],
|
|
|
|
|
theme: {
|
|
|
|
|
extend: {
|
|
|
|
|
colors: {
|
|
|
|
|
// 添加 Minecraft 主题颜色
|
|
|
|
|
'minecraft-green': '#5ABD3A',
|
|
|
|
|
'minecraft-dark-green': '#3A8D2D',
|
|
|
|
|
'minecraft-gray': '#8D8D8D',
|
|
|
|
|
'minecraft-dark': '#1F1F1F',
|
|
|
|
|
},
|
|
|
|
|
boxShadow: {
|
|
|
|
|
'minecraft': '4px 4px 0px 0px rgba(0,0,0,0.2)',
|
|
|
|
|
'minecraft-inset': 'inset 3px 3px 0px 0px rgba(0,0,0,0.1)'
|
|
|
|
|
},
|
|
|
|
|
keyframes: {
|
|
|
|
|
'pixel-pulse': {
|
|
|
|
|
'0%, 100%': { transform: 'scale(1)' },
|
|
|
|
|
'50%': { transform: 'scale(1.05)' },
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
animation: {
|
|
|
|
|
'pixel-pulse': 'pixel-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
plugins: [],
|
|
|
|
|
}
|