Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Dec 2, 2024
1 parent 507b715 commit 8b4823f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"@babel/types": "^7.26.0",
"@types/node": "^22.10.1",
"@unocss/eslint-plugin": "0.65.0",
"@unocss/preset-mini": "0.65.0",
"@vitejs/plugin-vue": "^5.2.1",
"bumpp": "^9.8.1",
"eslint": "^9.16.0",
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { Theme } from '@unocss/preset-mini'
import { definePreset } from 'unocss'

export const presetMagicss = definePreset<Theme>(() => {
export const presetMagicss = definePreset(() => {
const property = { 'animation-fill-mode': 'both' }

return {
Expand Down Expand Up @@ -210,6 +209,6 @@ export const presetMagicss = definePreset<Theme>(() => {
'tin-up-out': 'Tin',
},
},
} as Theme,
},
}
})
2 changes: 1 addition & 1 deletion tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { presetMagicss } from '../src'
it('presetStarter', async () => {
const uno = await createGenerator({
presets: [
presetUno({ preflight: 'on-demand' }),
presetUno({ preflight: 'on-demand' }) as any,
presetMagicss(),
],
})
Expand Down

0 comments on commit 8b4823f

Please sign in to comment.