struct Tartrazine::Theme
- Tartrazine::Theme
- Struct
- Value
- Object
Defined in:
styles.crConstructors
-
.from_base16(name : String) : Theme
Load from a base16 theme name using Sixteen
-
.from_xml(xml : String) : Theme
Load from a Chroma XML file
- .new
Class Method Summary
-
.make_highlight_color(base_color)
If the color is dark, make it brighter and viceversa
Instance Method Summary
- #initialize
- #name : String
- #name=(name : String)
-
#style(token)
Get the style for a token.
- #style_parents(token)
- #styles : Hash(String, Tartrazine::Style)
- #styles=(styles : Hash(String, Tartrazine::Style))
Constructor Detail
Load from a base16 theme name using Sixteen