Closed stephenafamo closed 3 years ago
Allows a user to directly pass a *chroma.Style struct instead of just the name of the already registered style.
*chroma.Style
This is useful for when the styles are dynamically generated and we do not want to have to register every variation of the style.
Did not realize I had already created a merge request for this. I'll close this 😔 .
Allows a user to directly pass a
*chroma.Style
struct instead of just the name of the already registered style.This is useful for when the styles are dynamically generated and we do not want to have to register every variation of the style.