bitovi / bitovi/documentcss

Setup Theme Logic

Open
#60 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
73
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Simplify the way themes are structured by:
- Including the theme as part of the files that are copied during the installation vs the npm module.
- Using a template system similar to Wordpress, where only one file is required (index.mustache) and then letting the user add additional ones to customize the appearance. The file hierarchy would be simple:
```
index.mustache
└─home.mustache
└─navigation.mustache
└─sidebar.mustache
└─content.mustache
└─footer.mustache
```
----
## Guide

### Creating a Theme

To create a theme for your living style guide, first locate the theme currently used. This will be in the `theme`directory, under your `styleguide` folder (ex scr/styleguide/theme.)

Be default your theme will only contain an `index.mustache`.

Then under theme/static/styles, locate the stylesheet that you want to

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.