buefy.css much too aggressive

Created on 20 Apr 2017  路  3Comments  路  Source: buefy/buefy

If you set a base font-family for example and then subsequently add buefy.css, buefy stomps all over the site rules.

Is the inclusion re-adding all of the bulma styles back in? Is there a way to only add styles necessary?

help wanted

All 3 comments

Yes, Buefy compiled css has all Bulma's styles included. I wouldn't recommend utilizing the compiled css if you're customizing the theme. You have two options:

  1. Use the non compiled (Sass) instead.
  2. Recompile the css with your variables.

or add https://github.com/purifycss/purifycss (remove unused CSS) in your webpack

@rafaelpimpa Including the specific utils + component sass files worked for me thank you

From my App.vue specifically

@import '../../node_modules/buefy/src/scss/utils/_variables.scss'
@import '../../node_modules/buefy/src/scss/components/_notices.scss'
Was this page helpful?
0 / 5 - 0 ratings

Related issues

daenuprobst picture daenuprobst  路  3Comments

kaeltis picture kaeltis  路  3Comments

diego-lipinski-de-castro picture diego-lipinski-de-castro  路  3Comments

RomainMazB picture RomainMazB  路  3Comments

daltonrooney picture daltonrooney  路  3Comments