|
1 | | -import type { UserConfig } from '@unocss/core' |
2 | | -import type { UserShortcuts } from 'unocss' |
| 1 | +import type { HeadwindOptions } from 'headwind' |
3 | 2 |
|
4 | 3 | export type Font = 'inter' | 'mona' | 'hubot' |
5 | 4 | export type Icon = 'heroicons' | 'hugeicons' |
6 | 5 | export type WebFontsProviders = 'google' | 'bunny' | 'fontshare' |
7 | | -export type Shortcuts = UserShortcuts |
| 6 | +export type Shortcuts = HeadwindOptions['shortcuts'] |
8 | 7 |
|
9 | 8 | export interface FontInfo { |
10 | 9 | title: string |
@@ -119,7 +118,7 @@ export interface UiOptions { |
119 | 118 | * reset styles are utilized. You may set this value to `null` |
120 | 119 | * if you prefer not applying any default stylesheets. |
121 | 120 | * |
122 | | - * @url https://www.npmjs.com/package/@unocss/reset |
| 121 | + * @url https://github.com/stacksjs/headwind |
123 | 122 | * @todo preset needs to be added via a Vite plugin on development & build |
124 | 123 | * @example |
125 | 124 | * ```ts |
@@ -163,11 +162,10 @@ export interface UiOptions { |
163 | 162 | icons: Icon | Icon[] |
164 | 163 | // icons: Record<string, () => Promise<any>> |
165 | 164 |
|
166 | | - theme: UserConfig['theme'] |
167 | | - // plugins: UserConfig['plugins'] |
168 | | - // corePlugins: UserConfig['corePlugins'] |
169 | | - variants: UserConfig['variants'] |
170 | | - layers: UserConfig['layers'] |
| 165 | + theme: HeadwindOptions['theme'] |
| 166 | + // plugins: HeadwindOptions['plugins'] |
| 167 | + // corePlugins: HeadwindOptions['corePlugins'] |
| 168 | + variants: HeadwindOptions['variants'] |
171 | 169 | // darkMode: UserConfig['darkMode'] |
172 | 170 | // extend: UserConfig['extend'] |
173 | 171 | // screens: UserConfig['screens'] |
|
0 commit comments