@model StoreBrandingViewModel @if (!string.IsNullOrEmpty(Model.BrandColor)) { var brand = Model.BrandColor; var brandColor = ColorPalette.Default.FromHtml(brand); var brandRgbValues = $"{brandColor.R}, {brandColor.G}, {brandColor.B}"; var accent = ColorPalette.Default.AdjustBrightness(brand, (float)-0.15); var complement = ColorPalette.Default.TextColor(brand); var complementVar = $"var(--btcpay-{(complement == "black" ? "black" : "white")})"; } @if (!string.IsNullOrEmpty(Model.CssUrl)) { } @if (!string.IsNullOrEmpty(Model.LogoUrl)) { }