protected override void GenerateBackgroundVariantStyles(StringBuilder sb, Theme theme, string variant) { sb.Append($".bg-{variant}").Append("{") .Append($"background-color: {Var( ThemeVariables.BackgroundColor( variant ) )} !important;") .AppendLine("}"); sb.Append($".jumbotron-{variant}").Append("{") .Append($"background-color: {Var( ThemeVariables.BackgroundColor( variant ) )} !important;") .Append($"color: {ToHex( Contrast( theme, Var( ThemeVariables.BackgroundColor( variant ) ) ) )} !important;") .AppendLine("}"); }
protected override void GenerateBorderVariantStyles(StringBuilder sb, Theme theme, string variant) { sb.Append($".border-{variant}").Append("{") .Append($"border-color: {Var( ThemeVariables.BackgroundColor( variant ) )} !important;") .AppendLine("}"); }