Soenneker.Quark.Gen.Themes 4.0.199

Prefix Reserved
dotnet add package Soenneker.Quark.Gen.Themes --version 4.0.199
                    
NuGet\Install-Package Soenneker.Quark.Gen.Themes -Version 4.0.199
                    
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.Themes" Version="4.0.199">
  <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.Themes" Version="4.0.199" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Quark.Gen.Themes">
  <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.Themes --version 4.0.199
                    
#r "nuget: Soenneker.Quark.Gen.Themes, 4.0.199"
                    
#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.Themes@4.0.199
                    
#: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.Themes&version=4.0.199
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Quark.Gen.Themes&version=4.0.199
                    
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.Themes

A source generator for generating Quark css files at compile time

Installation

dotnet add package Soenneker.Quark.Gen.Themes

Usage

Add the attribute to a class that exposes a single public static method or property returning a Theme.

using Soenneker.Quark;
using Soenneker.Quark.Gen.Themes;

[GenerateQuarkThemeCss("wwwroot/css/quark-theme.css")]
public static class MyTheme
{
    public static Theme Build() => new()
    {
        Name = "MyTheme",
        Tokens = new ThemeTokens
        {
            Light =
            {
                Primary = "oklch(0.623 0.214 259.815)",
                PrimaryForeground = "oklch(0.985 0 0)"
            }
        },
        Buttons = new ButtonOptions
        {
            // theme options here
        }
    };
}

The generator emits the runtime Quark theme stylesheet and, by default, Tailwind token CSS at tailwind/quark-theme.generated.css. Set BuildTailwind = false or TailwindOutputFilePath = "..." on the attribute when a project needs different behavior.

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.199 7 8/26/2026
4.0.198 29 8/26/2026
4.0.197 36 8/26/2026
4.0.196 122 8/22/2026
4.0.195 76 8/22/2026
4.0.194 85 8/22/2026
4.0.193 80 8/22/2026
4.0.192 156 8/21/2026
4.0.191 143 8/19/2026
4.0.190 121 8/19/2026
4.0.189 94 8/18/2026
4.0.188 89 8/18/2026
4.0.187 165 8/18/2026
4.0.186 102 8/17/2026
4.0.185 128 8/14/2026
4.0.184 91 8/13/2026
4.0.183 87 8/12/2026
4.0.182 219 8/9/2026
4.0.181 214 8/8/2026
4.0.180 81 8/8/2026
Loading failed