0.13.1 • Published 8 years ago

generator-koa-theme v0.13.1

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

npm

generator-koa-theme

Scaffold out a King of App theme.

Install

  1. If you haven't, install Yeoman and Bower:

    npm install -g bower
    npm install -g yo
  2. Then, install the generator-koa-theme:

    npm install -g generator-koa-theme

Getting started

  1. Download and start the King of App visualizer.

    git clone -b dev git@github.com:KingofApp/com.kingofapp.visualizer.git
    cd com.kingofapp.visualizer
    npm start
  2. Go to themes path and create a new theme with the generator.

    cd com.kingofapp.visualizer/app/themes
    yo koa-theme mythemename

    Note: mythemename will be the ID of the theme.

    Now, you have a scaffold like this:

    koapp-theme-mythemename
    ├── elements
    │   ├── mythemename-badge
    │   │    ├── demo
    │   │    │   └── index.html
    │   │    └── mythemename-badge.html
    │   ├── ...
    │
    ├── styles
    │   ├── default-theme.html
    │   └── main.css
    ├── .bowerrc
    ├── .gitignore
    ├── bower.json
    ├── config.json
    └── koapp-theme-mythemename.html
  3. Update the theme object in the app/core/structure.json:

    {
      "config": {
        ...
        "theme": {
          "identifier": "koapp-theme-mythemename",
          "path": "themes/koapp-theme-mythemename/koapp-theme-mythemename.html"
        },
        ...
      },
      ...
    }
  4. Begins to change all elements as you want!

You can see the changes:

  • In the visualizer app: http://localhost:9001
  • In each element demo. Example: http://localhost:9001/themes/koapp-theme-mythemename/elements/mythemename-button/demo/
0.13.1

8 years ago

0.13.0

8 years ago

0.12.4

8 years ago

0.12.3

8 years ago

0.12.2

8 years ago

0.12.1

8 years ago

0.12.0

8 years ago

0.11.1

8 years ago

0.11.0

8 years ago

0.10.0

8 years ago

0.9.5

8 years ago

0.9.4

8 years ago

0.9.3

8 years ago

0.9.2

8 years ago

0.9.1

8 years ago

0.9.0

8 years ago

0.8.5

8 years ago

0.8.4

8 years ago

0.8.3

8 years ago

0.8.2

8 years ago

0.8.1

8 years ago

0.8.0

8 years ago

0.7.4

8 years ago

0.7.2

8 years ago

0.7.1

8 years ago

0.7.0

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.0

8 years ago

0.4.9

8 years ago

0.4.8

8 years ago

0.4.7

8 years ago

0.4.6

8 years ago

0.4.5

8 years ago

0.4.4

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago