Use hex values & add theme_color in manifest.json
It looks like support for hsl color values within the manifest is limited so we have to convert the colors to hex
This commit is contained in:
@@ -32,6 +32,10 @@ func (c *hslColorField) String() string {
|
||||
return fmt.Sprintf("hsl(%.1f, %.1f%%, %.1f%%)", c.Hue, c.Saturation, c.Lightness)
|
||||
}
|
||||
|
||||
func (c *hslColorField) ToHex() string {
|
||||
return hslToHex(c.Hue, c.Saturation, c.Lightness)
|
||||
}
|
||||
|
||||
func (c *hslColorField) UnmarshalYAML(node *yaml.Node) error {
|
||||
var value string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user