Updated Creating Themes (markdown)
parent
ae88006894
commit
63a89fc3c6
|
@ -2,26 +2,12 @@
|
|||
|
||||
1. BandagedBD themes are limited to a single file.
|
||||
2. The file must be named as `themename.theme.css`, the theme name can be whatever you want.
|
||||
3. Theme files require a special header ([see below](#themes-require-a-special-header)).
|
||||
3. Theme files require a [[META|Plugin-and-Theme-METAs]] to be recognized.
|
||||
|
||||
# Details
|
||||
|
||||
Take a look at this [Example](https://gist.github.com/Jiiks/7b51de08cb8118682df8), which shows how a theme file should look.
|
||||
|
||||
## Themes require a special header
|
||||
|
||||
BandagedBD requires one line at the beginning of a theme file to identify it:
|
||||
|
||||
```js
|
||||
//META{"name":"Theme Name"}*//
|
||||
```
|
||||
|
||||
Optionally you can also include a website, source, author, version, and description field in the meta like so:
|
||||
|
||||
```js
|
||||
//META{"name":"Theme","website":"https://example.com","source":"https://example.com/theme.css","author":"me","version":"0.0.6","description":"This theme makes things look better."}*//
|
||||
```
|
||||
|
||||
# Extra
|
||||
|
||||
## Developer Tools
|
||||
|
|
Loading…
Reference in New Issue