question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't change $component-active-bg to my theme color

See original GitHub issue

i was created custom style bootstrap,
i want to change active bg on nav-pill from blue to green on my theme color. i try to change var $component-active-bg to theme-color(“primary”) $component-active-bg: theme-color("primary"); , but the color not change to green.

so i was changed with var $nav-pills-link-active-bg: theme-color("primary"); and success.

is it a bug ??

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
blackinitialcommented, Dec 7, 2018

oh ok, i delete $theme-color and use variable $primary etc…

0reactions
MartijnCuppenscommented, Dec 7, 2018

Ow, and it is also better to change the theme colors here, because these variables are also used later in the variables file: https://github.com/twbs/bootstrap/blob/c70b043a76764b842c732417fb32325ae2d1ac56/scss/_variables.scss#L69-L76

Read more comments on GitHub >

github_iconTop Results From Across the Web

Theming Bootstrap to change form input active color
It works if I repeat the code (of _variables.scss from bootstrap) $component-active-bg: theme-color("primary"); $input-focus-border-color: ...
Read more >
Create or delete a custom theme color
On the Themes tab, under Theme Options, click Colors, and then click Create Theme Colors. · Click a color that you want to...
Read more >
Cannot change theme colors
Hi. I am trying to change the text color of a product description.I have changed it under theme editor but it does not...
Read more >
Change to dark or color mode on your Android device
To check, open the app's settings and find “Theme” or “Display” options. Specifics vary by app. The app uses a dark color scheme,...
Read more >
A system administrator cannot enable 'Change Dashboard ...
Here is one more: themes and palettes for dashboards. Salesforce has upped the ante when it comes to data visualization. Now, you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found