protected override void GenerateBarStyles(StringBuilder sb, Theme theme, ThemeBarOptions options)
        {
            foreach (var(variant, _) in theme.ValidBackgroundColors)
            {
                var yiqColor = Var(ThemeVariables.BackgroundYiqColor(variant));

                if (string.IsNullOrEmpty(yiqColor))
                {
                    continue;
                }

                sb.Append($".navbar.bg-{variant} .navbar-brand .nav-item .nav-link").Append("{")
                .Append($"color: {yiqColor};")
                .AppendLine("}");
            }
        }
예제 #2
0
 protected override void GenerateBarStyles(StringBuilder sb, Theme theme, ThemeBarOptions options)
 {
 }
예제 #3
0
 protected override void GenerateBarStyles(StringBuilder sb, Theme theme, ThemeBarOptions options)
 {
     throw new System.NotImplementedException();
 }