Documentation/SwiftGenKit Contexts/colors.md
The colors parser supports multiple input file types:
~/Library/Colors.:. A color can either be a color hex value, or the name of another color in the file.The output context has the following structure:
palettes: Array of:
name : String — name of the palettecolors: Array of:
name : String — name of each colorred : String — hex value of the red componentgreen: String — hex value of the green componentblue : String — hex value of the blue componentalpha: String — hex value of the alpha componentpalettes:
- colors:
- alpha: "ff"
blue: "66"
green: "96"
name: "ArticleBody"
red: "33"
- alpha: "ff"
blue: "cc"
green: "66"
name: "ArticleFootnote"
red: "ff"
- alpha: "ff"
blue: "66"
green: "fe"
name: "ArticleTitle"
red: "33"
- alpha: "cc"
blue: "ff"
green: "ff"
name: "private"
red: "ff"
name: "colors"