- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2016
05:00 AM
09-02-2016
05:00 AM
I want to change the style of the buttons as shown in http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/css-topics/css-overview.html
How can I achieve it with the snowdog-blank-theme?
Thx
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2016
01:55 AM
09-05-2016
01:55 AM
You have to invoke mixin with custom parameter, to overwrite default code and this require to overwrite partials (i.e. "_buttons.scss").
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2016
09:12 AM
09-03-2016
09:12 AM
Re: Overriding variable defined in scss
Comments on this issue should answer your question -> https://github.com/SnowdogApps/magento2-theme-blank-sass/issues/92
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2016
01:22 AM
09-05-2016
01:22 AM
Re: Overriding variable defined in scss
So, if I want to change the button-color f.e., I have to place this in my style.scss
@include lib-button(
$_button-color: white
);
Do I have to import the _buttons.scss too?
What if I want to override an variable defined outside an mixin f.e.
// Primary button
$button-primary__hover__color: $color-white;
?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2016
01:55 AM