chanan / BlazorStrap

Bootstrap 4 Components for Blazor Framework

Home Page:https://blazorstrap.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Breadcrumb link class

marcOcram opened this issue · comments

Hello,

I switched to BlazorStrap past week and have an issue with the links inside the Breadcrumb. I would like to add the class "link-secondary" to alter the color of the link. This is currently not possible:

<a href="@item.Key">@item.Value</a>

The workaround is to use a CSS with the values copied from bootstrap.css

::deep li.breadcrumb-item > a {
    /* values copied from bootstrap class link-secondary */
    color: #6c757d !important;
}

::deep li.breadcrumb-item > a:hover, ::deep li.breadcrumb-item > a:focus {
    /* values copied from bootstrap class link-secondary:hover, link-secondary:focus */
    color: #565e64 !important;
}

Is it planned to get support to alter the link's class?