@page "/accent"
Four-family accent component canary
Four-family accent component canary
Fixture-only shared components under the actual CentralUI stylesheet. These four cases use the release-decision table and validate the shared light scheme, not a full sister application.
Default blue ·
Historian green ·
BTDB teal ·
Overview purple ·
Actual CentralUI component fixture
@Selected.Label
An actual theme-styled link
Local primary action
Local ghost action
Disabled primary action
Independent semantic information
Synthetic local clicks: @_clicks
@code {
[SupplyParameterFromQuery(Name = "family")] public string? Family { get; set; }
private int _clicks;
private void CountClick() => _clicks++;
private AccentCase Selected => Family?.ToLowerInvariant() switch
{
"historian" => new("Historian green", "#2f855a", "#1c6540", "#edf5f0", "#bddbc9"),
"btdb" => new("BTDB teal", "#1b7f8e", "#125764", "#eaf5f6", "#b7d9dd"),
"overview" => new("Overview purple", "#6d28d9", "#4c1d95", "#f2ecfc", "#d7c5f2"),
_ => new("Default blue", "#2f5fd0", "#1e3f99", "#eef2fc", "#cdd9f7")
};
private sealed record AccentCase(string Label, string Accent, string Deep, string Tint, string Border);
}