From b8ba5f25f5bf21e266007e7bdbf2d79764a4382d Mon Sep 17 00:00:00 2001 From: Thomas Park Date: Thu, 8 Aug 2013 16:24:33 -0400 Subject: [PATCH] add api info to help page --- help/index.html | 28 ++++++++++++++-------------- index.html | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/help/index.html b/help/index.html index f890ee8..64f2b67 100644 --- a/help/index.html +++ b/help/index.html @@ -9,9 +9,13 @@ @@ -82,33 +86,29 @@
- - -

Quick Start

+

Quick Start

Using a theme is as easy as downloading a CSS file and replacing the one that comes with Bootstrap.

-

Customization

+

Customization

To modify a theme or create your own, follow the steps below.

  1. git clone git@github.com:thomaspark/bootswatch.git

  2. -
  3. npm install

  4. -
  5. bower install

  6. -
  7. Edit variables.less and bootswatch.less in one of the theme directories, or create your own in /custom.

  8. -
  9. Type grunt swatch:[theme] to build the CSS for a theme, e.g., grunt swatch:amelia for Amelia. Or type grunt swatch to build them all at once.

  10. -
-

Here are additional tips for customizing Bootstrap.

+

API

+

You can use the API to integrate the themes with your platform. Send your request to:

+

http://api.bootswatch.com/3/

+

This returns the version and a themes array with the following properties: name, description, preview, thumbnail, css, cssMin, less, and lessVariables.

+

Here's a demo with mustache.js templating.

+
diff --git a/index.html b/index.html index 33bf53d..ac46c3e 100644 --- a/index.html +++ b/index.html @@ -121,7 +121,7 @@

Get Plugged In

-

An API is available for integrating with your platform. In use by WPBS, FusionLeaf, BootSnap, and others.

+

An API is available for integrating with your platform. In use by WPBS, FusionLeaf, BootSnap, and others.

Stay Updated

-- 2.39.2