feat: 添加新的 Sakai Vue 布局和样式,重构基础样式,更新 README,调整插件配置
This commit is contained in:
@ -2,6 +2,36 @@
|
||||
import { defineConfig, presetAttributify, presetUno, transformerDirectives, transformerVariantGroup } from 'unocss';
|
||||
|
||||
export default defineConfig({
|
||||
theme: {
|
||||
// https://unocss.dev/presets/wind#differences-from-tailwind-css
|
||||
// https://www.npmjs.com/package/unocss-preset-animations
|
||||
// https://github.com/whatnickcodes/unocss-preset-tailwindcss-motion
|
||||
animation: {
|
||||
keyframes: {
|
||||
scalein: '{0% { opacity: 0; transform: scaleY(0.8); } 100% { opacity: 1; transform: scaleY(1); }}',
|
||||
fadeout: '{0% { opacity: 1; } 100% { opacity: 0; }}',
|
||||
},
|
||||
durations: {
|
||||
scalein: '0.15s',
|
||||
fadeout: '0.15s',
|
||||
},
|
||||
timingFns: {
|
||||
scalein: 'linear',
|
||||
fadeout: 'linear',
|
||||
},
|
||||
properties: {
|
||||
scalein: {
|
||||
transition: 'transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1)',
|
||||
},
|
||||
fadeout: {},
|
||||
},
|
||||
counts: {
|
||||
scalein: '1',
|
||||
fadeout: '1',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
shortcuts: [
|
||||
{
|
||||
'logo-transform': 'i-icon:pacman w-6em h-6em transform transition-800',
|
||||
|
Reference in New Issue
Block a user