import{defineConfig,presetUno}from'unocss'import{presetBrand}from'@0x-jerry/unocss-preset-brand'exportdefaultdefineConfig({presets: [presetUno(),presetBrand({brand: {// You can use any color that is defined in other presets, here is `presetUno`,// which uses the same colors as `tailwind`, reference: https://tailwindcss.com/docs/customizing-colorsprimary: 'teal',gray: 'gray'}}),],})
Usage
<divclass="text-b-primary">
Primary Color
</div><divclass="border-1 border-solid border-b-primary">
Use primary color with border
</div><divclass="text-b-gray">
Gray Color
</div>