Skip to content
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

buefy.css much too aggressive #28

Closed
kylebradshaw opened this issue Apr 19, 2017 · 3 comments
Closed

buefy.css much too aggressive #28

kylebradshaw opened this issue Apr 19, 2017 · 3 comments

Comments

@kylebradshaw
Copy link

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?

@rafaberaldo
Copy link
Member

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.

@dobbbri
Copy link

dobbbri commented Apr 19, 2017

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

@kylebradshaw
Copy link
Author

kylebradshaw commented Apr 19, 2017

@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'

kikuomax added a commit to kikuomax/buefy that referenced this issue Aug 29, 2023
…on" (buefy#28) (buefy#30)

* fix(lib): crash of empty BNavbar

- Fixes the bug where an empty `BNavbar` crashed with "TypeError:
  this.$slots.brand is not a function". Checks if `this.$slots.brand` is
  not nullish before calling it.

issue ntohq#28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants