H
H
html_newbie2020-12-09 15:43:16
Bootstrap
html_newbie, 2020-12-09 15:43:16

How to use the entire Bootstrap 5.0 color palette?

Bootstrap 5.0 added a whole palette of colors (in addition to the standard colors: primary, secondary, information, attention, error) https://getbootstrap.com/docs/5.0/customize/color/...
How to use these colors?
For example, a standard color header:

<nav class="navbar navbar-light bg-success">
    <a class="navbar-brand" href="#">Navbar</a>
</nav>

How can I give it the color $teal-300? (do not replace bg-succes from one green to another green, but use the entire palette separately from the primary colors)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2020-12-09
@html_newbie

no classes. only these scss variables to use

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question