@corvu-next/unocss
v0.1.5
Published
UnoCSS plugin for @corvu-next data attributes.
Readme
@corvu-next/unocss
UnoCSS plugin for corvu-next — provides corvu-open:, corvu-closed:, and other state-based variants.
Note: This is the Solid 2.0 fork of the corvu UnoCSS plugin. It targets
[email protected].
Installation
pnpm add -D @corvu-next/unocssUsage
// uno.config.ts
import { defineConfig } from 'unocss'
import corvu from '@corvu-next/unocss'
export default defineConfig({
presets: [corvu()],
})Available Variants
corvu-open:— matchesdata-openstatecorvu-closed:— matchesdata-closedstatecorvu-expanded:— matchesdata-expandedstatecorvu-collapsed:— matchesdata-collapsedstate
Further Reading
This package is part of corvu-next, a collection of unstyled, accessible and customizable UI primitives for SolidJS 2.0.
