Skip to content

Commit

Permalink
Merge pull request #587 from quadratz/patch-1
Browse files Browse the repository at this point in the history
Fix UnoCSS plugin's JSDoc
  • Loading branch information
oscarotero committed Mar 17, 2024
2 parents ab7c9cd + a3034c0 commit 83fd38b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions plugins/unocss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,34 @@ export interface Options {
/**
* Configurations for UnoCSS.
* @see https://unocss.dev/guide/config-file
* @default
* {
* presets: [presetUno()]
* }
*/
options?: UserConfig;

/**
* Set the css filename for all generated styles,
* Set to `false` to insert a <style> tag per page.
* @defaultValue `false`
* @default "unocss.css"
*/

cssFile?: false | string;

/**
* Process CSS files using UnoCSS transformers.
* @defaultValue `[transformerVariantGroup(), transformerDirectives()]`
* @default
* [
* transformerVariantGroup(),
* transformerDirectives()
* ]
*/
transformers?: SourceCodeTransformer[];

/**
* Supported CSS reset options.
* @see https://github.com/unocss/unocss/tree/main/packages/reset
* @defaultValue `tailwind`
* @default false
*/
reset?: false | "tailwind" | "tailwind-compat" | "eric-meyer";
}
Expand Down

0 comments on commit 83fd38b

Please sign in to comment.