Matthieu
Matthieu

Reputation: 437

Reload Bootstrap customization

On http://getbootstrap.com/customize/ it is possible to create and download a custom Bootstrap configuration. Included in the download is a file called config.json

Is it possible to use that file somehow to refill the values and tweak your custom bootstrap configuration?

If not, does someone know why that file is included?

Upvotes: 10

Views: 8594

Answers (3)

cvrebert
cvrebert

Reputation: 9279

As of Bootstrap v3.2.1, you'll be able to load your existing config.json settings into the Bootstrap Customizer using drag-and-drop or a filepicker.

Upvotes: 6

Scroll down to the end of the config.json file, the latest entry is "customizeUrl" along with the customization url on bootsrtap website. Eg:

"collapse.js",
"scrollspy.js",
"transition.js"
],
"customizerUrl": "http://getbootstrap.com/customize/?id=eaaea96b66287112b6c7"
}

Upvotes: 2

Eduard
Eduard

Reputation: 1474

It's possible to reload and edit your configuration:

  • download your custom bootstrap archive
  • go to https://gist.github.com
  • put content from your config.json file
  • name the new gist config.json
  • publish the gist (anonymously or under your name)
  • save the gist number - the number in the gist url
  • open bootstrap customizer (http://getbootstrap.com/customize) or your local one
  • add the gist number to the url "?id=your_gist_number"

Voila! Configuration is reloaded.

Upvotes: 27

Related Questions