Skip to content

Commit

Permalink
fix: align variant naming with tailwind (may change again)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikvilhelmberglund committed Mar 15, 2024
1 parent 3ed5dd5 commit cee80b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/preset-mini/src/_variants/startingstyle.ts
@@ -1,13 +1,13 @@
import type { Variant } from '@unocss/core'

export const variantStartingStyle: Variant = {
name: 'start',
name: 'starting',
match(matcher) {
if (!matcher.startsWith('start:'))
if (!matcher.startsWith('starting:'))
return

return {
matcher: matcher.slice(6),
matcher: matcher.slice(9),
handle: (input, next) => next({
...input,
parent: `@starting-style`,
Expand Down

0 comments on commit cee80b6

Please sign in to comment.