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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Quark.Gen.Tailwind.Modifiers" Version="4.0.32">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Quark.Gen.Tailwind.Modifiers" Version="4.0.32" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Quark.Gen.Tailwind.Modifiers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Quark.Gen.Tailwind.Modifiers --version 4.0.32
                    
#r "nuget: Soenneker.Quark.Gen.Tailwind.Modifiers, 4.0.32"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Quark.Gen.Tailwind.Modifiers@4.0.32
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Quark.Gen.Tailwind.Modifiers&version=4.0.32
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Quark.Gen.Tailwind.Modifiers&version=4.0.32
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

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.

There are no supported framework assets in this package.

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
Loading failed

Updated Microsoft.CodeAnalysis.CSharp to 5.9.0