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 31, 2017
1 parent aff2523 commit 2ebc5d4
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 @@ -34,6 +34,9 @@ Due to the removal of legacy code, there are a few breaking changes in this new
* Storyboards now provide a `platform` identifier (iOS, macOS, tvOS, watchOS).
[David Jennes](https://github.com/djbe)
[#45](https://github.com/SwiftGen/templates/issues/45)
* 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 2ebc5d4

Please sign in to comment.