Skip to content
This repository has been archived by the owner on Sep 6, 2018. It is now read-only.

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed May 30, 2017
1 parent fb9dd25 commit ced4247
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ Due to the removal of legacy code, there are a few breaking changes in this new
* Added support for multiple string tables.
[David Jennes](https://github.com/djbe)
[#41](https://github.com/SwiftGen/templates/issues/41)
* Added support for multiple color palettes.
[David Jennes](https://github.com/djbe)
[#41](https://github.com/SwiftGen/templates/issues/40)

### Internal Changes

Expand Down
14 changes: 8 additions & 6 deletions Documentation/Colors.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ The colors parser supports multiple input file types:

The output context has the following structure:

- `colors`: `Array` — list of colors:
- `name` : `String` — name of the color
- `red` : `String` — hex value of the red component
- `green`: `String` — hex value of the green component
- `blue` : `String` — hex value of the blue component
- `alpha`: `String` — hex value of the alpha component
- `palettes`: `Array` of:
- `name` : `String` — name of the palette
- `colors`: `Array` of:
- `name` : `String` — name of each color
- `red` : `String` — hex value of the red component
- `green`: `String` — hex value of the green component
- `blue` : `String` — hex value of the blue component
- `alpha`: `String` — hex value of the alpha component

0 comments on commit ced4247

Please sign in to comment.