Soenneker.Quark.Gen.Tailwind.Modifiers
4.0.32
Prefix Reserved
dotnet add package Soenneker.Quark.Gen.Tailwind.Modifiers --version 4.0.32
NuGet\Install-Package Soenneker.Quark.Gen.Tailwind.Modifiers -Version 4.0.32
<PackageReference Include="Soenneker.Quark.Gen.Tailwind.Modifiers" Version="4.0.32"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Soenneker.Quark.Gen.Tailwind.Modifiers" Version="4.0.32" />
<PackageReference Include="Soenneker.Quark.Gen.Tailwind.Modifiers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Soenneker.Quark.Gen.Tailwind.Modifiers --version 4.0.32
#r "nuget: Soenneker.Quark.Gen.Tailwind.Modifiers, 4.0.32"
#:package Soenneker.Quark.Gen.Tailwind.Modifiers@4.0.32
#addin nuget:?package=Soenneker.Quark.Gen.Tailwind.Modifiers&version=4.0.32
#tool nuget:?package=Soenneker.Quark.Gen.Tailwind.Modifiers&version=4.0.32
Soenneker.Quark.Gen.Tailwind.Modifiers
Generates Tailwind variant entry points for Quark fluent builder APIs.
This is a build-time package for authors of Quark builder libraries. Applications consuming Soenneker.Quark.Builders already receive the generated APIs and do not need to install it directly.
Install
dotnet add package Soenneker.Quark.Gen.Tailwind.Modifiers
Usage
Annotate a top-level public static partial entry-point class with its builder type:
[TailwindModifiers(typeof(BackgroundColorBuilder))]
public static partial class BackgroundColor
{
}
The generator adds modifier properties that create the builder and call its Modifier(string) method:
BackgroundColor.OnHover
BackgroundColor.OnFocusVisible
BackgroundColor.OnDark
BackgroundColor.OnMd
BackgroundColor.OnGroupHover
BackgroundColor.OnAriaExpanded
Each property returns a fresh BackgroundColorBuilder with the corresponding modifier applied, ready for the builder’s normal value properties or methods (for example, BackgroundColor.OnHover.Primary).
A modifier applies to the next value in the chain. BackgroundColor.Primary.OnHover.Secondary produces a base primary background and a secondary background on hover. The generator creates C# API entry points; it does not compile a stylesheet. Applications use Tailwind.Manifest and Tailwind to discover utilities and produce CSS.
Generated variants cover responsive and max-width breakpoints, container queries, interaction and form states, media preferences, direction and dark mode, structural pseudo-classes, pseudo-elements, group and peer state, and common ARIA states.
Color palettes
Enable palette entry points for builders that expose Token(string) and use Quark’s color palette types:
[TailwindModifiers(typeof(BackgroundColorBuilder), IncludeColorPalettes = true)]
public static partial class BackgroundColor
{
}
var color = BackgroundColor.Blue.Is600;
The target class must be partial because the generated properties extend it. The builder must be constructible from the generated code and support the methods required by the selected options.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.32 | 106 | 10/14/2026 |
| 4.0.30 | 91 | 10/14/2026 |
| 4.0.29 | 89 | 10/14/2026 |
| 4.0.24 | 98 | 10/12/2026 |
| 4.0.23 | 87 | 10/12/2026 |
| 4.0.22 | 126 | 10/11/2026 |
| 4.0.21 | 192 | 10/2/2026 |
| 4.0.20 | 267 | 9/19/2026 |
| 4.0.19 | 123 | 9/15/2026 |
| 4.0.18 | 138 | 9/13/2026 |
| 4.0.17 | 116 | 9/12/2026 |
| 4.0.16 | 226 | 8/30/2026 |
| 4.0.15 | 128 | 8/29/2026 |
| 4.0.14 | 107 | 8/29/2026 |
| 4.0.13 | 367 | 8/17/2026 |
| 4.0.12 | 138 | 8/9/2026 |
| 4.0.11 | 192 | 7/27/2026 |
| 4.0.10 | 394 | 7/16/2026 |
| 4.0.9 | 200 | 7/2/2026 |
| 4.0.8 | 277 | 6/18/2026 |
Updated Microsoft.CodeAnalysis.CSharp to 5.9.0