Skip to content

Commit

Permalink
✨ (windi) use defineConfig to get typings on windicss config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed May 18, 2021
1 parent 812a2ea commit 59c0495
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/defaultTheme/windi.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import colors from 'windicss/colors'
import defaultTheme from 'windicss/defaultTheme'
import aspectRatio from 'windicss/plugin/aspect-ratio'
import filters from 'windicss/plugin/filters'
import { defineConfig } from 'windicss/helpers'

export default {
export default defineConfig({
darkMode: 'class',
plugins: [filters, aspectRatio],
theme: {
Expand Down Expand Up @@ -88,4 +89,4 @@ export default {
}
}
}
}
})

1 comment on commit 59c0495

@vercel
Copy link

@vercel vercel bot commented on 59c0495 May 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.