Socket
Socket
Sign inDemoInstall

@unocss/transformer-variant-group

Package Overview
Dependencies
1
Maintainers
1
Versions
235
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/transformer-variant-group


Version published
Maintainers
1
Install size
183 kB
Created

Readme

Source

@unocss/transformer-variant-group

Enables the variant group feature of Windi CSS for UnoCSS.

Install

npm i -D @unocss/transformer-variant-group
// uno.config.ts
import { defineConfig } from 'unocss'
import transformerVariantGroup from '@unocss/transformer-variant-group'

export default defineConfig({
  // ...
  transformers: [
    transformerVariantGroup(),
  ],
})

Usage

<div class="hover:(bg-gray-400 font-medium) font-(light mono)"/>

Will be transformed to:

<div class="hover:bg-gray-400 hover:font-medium font-light font-mono"/>

License

MIT License © 2021-PRESENT Anthony Fu

Keywords

FAQs

Last updated on 19 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc