Closed Beethoven-n closed 2 years ago
Shouldn't be too hard to implement. But currently, I'm a bit busy and probably won't get around to working on this at the moment
would've done a pull request about it if i was comfortable enough with rust to know that the way i thought it should be done was the correct way
Closed via https://github.com/kamiyaa/joshuto/pull/154
str_to_color()
in style.rs only has a method to parse Rgb values, when colors_transform has methods to convert hex colors into Rgb colors.Before the Rgb parsing, it should be possible to convert a hex color into an Rgb with
rgb.from_hex_str
, then pass that into the Rgb parsing method. (there's probably a better way to do that)