You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I'm using Angular with this template and I would like to use the color of our brand for the buttons. That means, we need to change the color code of the primary, secondary, and so on. Also, we have a special color code for special buttons, we would like to add a new name for a new color to the colors options in the template.
To Reproduce
When we add the class btn-primary, text-primary or bg-primary, we would like to have this color instead: #EF9D20
The same thing for the rest of the colors, apply them a custom color code.
Also, add a new name for a color, for example btn-special, text-special and bg-special. With the color code: #431612
What I have tried
I have added this to the styles.scss:
But, this way breaks the design of a few elements, making them smaller, bigger or in a different position on the screen. Because of this weird behavior, we discarded this solution.
Environment:
AdminLTE Version: 3.0.5
Angular 11.0.2
Additional context
My goal is:
How to change the color code of te primary, secondary, etc...
How to add a new name for a color, for example special
This discussion was converted from issue #3188 on December 22, 2020 09:45.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
I'm using Angular with this template and I would like to use the color of our brand for the buttons. That means, we need to change the color code of the primary, secondary, and so on. Also, we have a special color code for special buttons, we would like to add a new name for a new color to the colors options in the template.
To Reproduce
When we add the class
btn-primary
,text-primary
orbg-primary
, we would like to have this color instead: #EF9D20The same thing for the rest of the colors, apply them a custom color code.
Also, add a new name for a color, for example
btn-special
,text-special
andbg-special
. With the color code: #431612What I have tried
I have added this to the
styles.scss
:But, this way breaks the design of a few elements, making them smaller, bigger or in a different position on the screen. Because of this weird behavior, we discarded this solution.
Environment:
Additional context
My goal is:
special
Beta Was this translation helpful? Give feedback.
All reactions