nuxt / create-nuxt-app

Create Nuxt.js App in seconds.
MIT License
3.49k stars 429 forks source link

Better Bulma setup which supports theming #685

Closed ghost closed 3 years ago

ghost commented 3 years ago

When you select Bulma as your CSS framework when installing Nuxt, it would be nice if Nuxt could install Bulma in such a way that allows Bulma theming. Bulma has theming through Sass/SCSS variables, but you can't use those Sass/SCSS vars unless you completely alter the way Bulma is imported.

It would be nice if, when Nuxt with Bulma is installed, a default theming file such as ~assets/scss/main.scss would be included (and referenced in nuxt.config.js). That file (main.scss) would be empty by default, but it would be possible for the developer to add both Bulma theming vars (e.g. $box-color: red;) and custom SCSS stuff.

I've tried obtaining the same result using Nuxt Style Resources, but that doesn't work: While it's possible to alter the Sass/SCSS on a page, the import order of the CSS files is in such as way that default Bulma vars such as $box-color cannot be changed.

ghost commented 3 years ago

Closing this as it seems Nuxt Bulma is being deprecated. Please reopen if I've misunderstood something.