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.

Right way for customiziation

See original GitHub issue

I finally got the customization with sass variables to work. But I’m not sure if it was the right way to do.

First I had to disable to load the bulma css in the nuxt.config.js

  modules: [,
    ['nuxt-buefy', { 
      css: false
     }]
  ],

then I added my own modification file and added it also to the config

  css: [
    'assets/bulma-modifications.scss'
  ],

In this file I added

@import "~bulma/sass/utilities/_all";

$menu-item-hover-background-color: #3BB9C6;
$menu-item-active-background-color: #0067B1;

@import "~bulma";
@import "~buefy/src/scss/buefy";

As I said, now it works. But I’m completely not sure if one should do it this way.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:5

github_iconTop GitHub Comments

1reaction
step4commented, Apr 7, 2020

For me it was fine to import all.

As I do not work with bulma anymore, I can not help you with selective imports

0reactions
slidenerdcommented, Apr 3, 2020

@step4 arent you importing the entire bunch of components with this line @import “~buefy/src/scss/buefy”; is that what you want or do you want to selectively import them?

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Tips for Successful Customization - Nielsen Norman Group
A good way to reduce the complexity of customization is to use progressive disclosure, where you only show users the most useful or...
Read more >
Customization: 7 Tips From Industry Experts - Hapticmedia
Starting small and simple is the best way to understand how the business will be able to leverage the powers of product customization....
Read more >
The Four Faces of Mass Customization
By understanding the four basic approaches to customization, managers can tailor their products to meet their customers' unique needs at a low cost....
Read more >
What are the best practices for customization? - ServiceNow
Use scoped applications as your default for any new custom development. 5. Document all customizations. Add comments to explain why you customized (including ......
Read more >
Tips to Increase Sales Through Product Customization
According to the top marketing gurus, bringing personalization into your marketing plans is the best way to attract customers.
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 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