bootstrap-loader icon indicating copy to clipboard operation
bootstrap-loader copied to clipboard

Simpler Bootswatch instructions

Open fdcastel opened this issue 9 years ago • 5 comments

I believe the recipe for Incorporating Bootswatch themes could be simplified to:

  1. Install Bootswatch
npm install --save bootswatch
  1. Add to .bootstraprc:
  "preBootstrapCustomizations": "./node_modules/bootswatch/<THEME>/_variables.scss",
  "appStyles": "./node_modules/bootswatch/<THEME>/_bootswatch.scss"

replacing <THEME> with the name of chosen theme (e.g. superhero).

Doing this way there's no need to create any additional files nor directories.

Could somebody please test this? Do you see any problems doing this way?

Pinging: @larsw

Related: #20

fdcastel avatar Jul 06 '16 02:07 fdcastel

@fdcastel If you're pretty sure of this, create a PR.

justin808 avatar Jul 21 '16 03:07 justin808

This seems like it should work, however using both methods (yours proposed above and the current docs with separate bs-theme.scss) I'm seeing the behavior similar to #20 with the superhero there: "No mixin named box-shadow". Using the spacelab theme I get different mixin errors. Any ideas @larsw ?

wphampton avatar Aug 03 '16 14:08 wphampton

Hi,

Sorry, I haven't looked into this for a while.

--larsw

larsw avatar Aug 08 '16 07:08 larsw

@wphampton Do you have a public example repository, by any chance?

Judahmeek avatar Sep 17 '16 06:09 Judahmeek

I do not, sorry. I ended up taking a different approach when I could not figure it out. It could have been user error so please don't hold the issue open solely on my one comment above. Thanks!

wphampton avatar Sep 21 '16 16:09 wphampton