Skip to content

Commit

Permalink
docs: autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Jan 29, 2024
1 parent 999cd91 commit b394d94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/core/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { magicAnimate } from './theme/magic-animate'

const keyframes = magicAnimate()?.keyframes ?? {}

// IN-README-START
export const autocomplete: UserConfig['autocomplete'] = {
shorthands: {
magic: `(${Object.keys(keyframes).join('|')})`,
Expand All @@ -11,3 +12,4 @@ export const autocomplete: UserConfig['autocomplete'] = {
'animate-<magic>',
],
}
// IN-README-END

0 comments on commit b394d94

Please sign in to comment.