TheNerdCollective.MudComponents.DesignTokens.Catalog
2.0.12
dotnet add package TheNerdCollective.MudComponents.DesignTokens.Catalog --version 2.0.12
NuGet\Install-Package TheNerdCollective.MudComponents.DesignTokens.Catalog -Version 2.0.12
<PackageReference Include="TheNerdCollective.MudComponents.DesignTokens.Catalog" Version="2.0.12" />
<PackageVersion Include="TheNerdCollective.MudComponents.DesignTokens.Catalog" Version="2.0.12" />
<PackageReference Include="TheNerdCollective.MudComponents.DesignTokens.Catalog" />
paket add TheNerdCollective.MudComponents.DesignTokens.Catalog --version 2.0.12
#r "nuget: TheNerdCollective.MudComponents.DesignTokens.Catalog, 2.0.12"
#:package TheNerdCollective.MudComponents.DesignTokens.Catalog@2.0.12
#addin nuget:?package=TheNerdCollective.MudComponents.DesignTokens.Catalog&version=2.0.12
#tool nuget:?package=TheNerdCollective.MudComponents.DesignTokens.Catalog&version=2.0.12
TheNerdCollective.MudComponents.DesignTokens.Catalog
Optional visual catalog for design tokens and recipes. Production apps typically install only DesignTokens plus one Brand.* package; add this package when you want /nerd-design-tokens, /nerd-theme, and the recipes studio in Development or internal tooling.
Published to NuGet as TheNerdCollective.MudComponents.DesignTokens.Catalog.
Setup (complete)
using TheNerdCollective.Brand.Dnf;
using TheNerdCollective.MudComponents.DesignTokens;
using TheNerdCollective.MudComponents.ResponsiveTypography;
builder.WebHost.UseStaticWebAssets(); // Mud/Blazor _content assets on dotnet run
builder.Services.AddMudServices();
builder.Services.AddNerdDnfDesignSystem(o =>
{
o.EnableCatalogPage = true;
o.RestrictCatalogToDevelopment = false; // gate on Production if needed
o.UseIntentPseudoCssThemes = true;
});
builder.Services.AddNerdBrandPackIntegration(); // INerdBrandPackSource for Catalog
builder.Services.AddNerdDesignTokenCatalog();
var app = builder.Build();
app.UseStaticFiles();
app.MapStaticAssets();
app.MapRazorComponents<App>()
.AddInteractiveServerRenderMode()
.AddNerdDesignTokenCatalog(app.Services)
.WithStaticAssets();
Layout must provide the theme host cascade (see DesignTokens README Host checklist):
<NerdDesignTokenStyles />
<CascadingValue Name="@NerdMudThemeHost.CascadingName" Value="true">
<NerdMudThemeProvider Theme="@theme" DesignTokenOptions="@TokenOptions" />
…
</CascadingValue>
AddNerdDesignTokens alone does not mount /nerd-design-tokens.
See DesignTokens README for the full host checklist, Color vs Class, and package matrix.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- MudBlazor (>= 9.8.0)
- TheNerdCollective.MudComponents.DesignTokens (>= 2.2.5)
- TheNerdCollective.MudComponents.ResponsiveTypography (>= 1.5.1)
- TheNerdCollective.MudComponents.Shared (>= 1.5.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.