-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
!default for scss variables #194
Comments
There are also some cases where components aren't consuming variables, for example |
why does Button need to define font-family? Shouldn't it just inherit from base-typography which is applied to |
@adidahiya I found it strange also, but the font didn't change unless I added the variable to |
So far I remember, webkit form elements not inherits font-family from body and uses default browser font. |
Shouldn't all vars has the |
So now that the |
certainly crack-worthy, i'd wager 🎩 |
Currently all variables in SCSS are defined using without !default.
In order for them to be overrideable all of them should be defined using !default, see SCSS references
This is related to #123
At least these files should be modified:
https://github.com/palantir/blueprint/blob/master/packages/core/src/common/_font-imports.scss#L7
https://github.com/palantir/blueprint/blob/master/packages/core/src/common/_variables.scss
https://github.com/palantir/blueprint/blob/master/packages/core/src/common/_color-aliases.scss
I'm not sure does this need a default in it:
https://github.com/palantir/blueprint/blob/master/packages/core/src/common/_colors.scss
The text was updated successfully, but these errors were encountered: