-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hollow button ignores $primary-color and uses default foundation color. #8281
Comments
From
So basically you now need to define your colors inside the $foundation-palette: (
primary: #2199e8,
secondary: #777,
success: #3adb76,
warning: #ffae00,
alert: #ec5840,
) And the magic thing is that you can add any new color in this map and you will automatically have a new class associated that you can use in many components like For example if you add a <div class="button info">I'm an info button</div> If you want to understand how it works internally, you should check: |
@Deckluhm Great answer! |
@Deckluhm thanks. I got it fixed by including the color palette in my settings. |
Looks like this is resolved. Reopen if I'm wrong |
I upgraded my existing project to 6.2 and found this issue where the hollow buttons ignores
$primary-color
for both text and border.So in my _settings I have the primary color set to:
$primary-color: #000000;
Before 6.2 the hollow buttons would use the
$primary-color
for text and border.After 6.2, the styles defaults to:
In the _buttons.scss I found this (don't know if its any useful)
and this
Also whats the deal with
$foundation-palette
?The text was updated successfully, but these errors were encountered: