Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

multi-style when theming #18

Closed
killwing opened this Issue · 2 comments

2 participants

@killwing

how to apply compound 'red' and 'bold' when i'm using setTheme() ?
and i suggest to add a option to color background, now i have to use 'inverse' to workaround...

@Marak
Owner

Adding the ability to do this is easy, the question is what does the API look like.

For multi-style themes, I could do: red.bold as the value and then just split the string on the .

For background color, what would the API call look like? How do you specify if if color should be applied as BG color?

"foo".redBG

"foo".background('red')

"foo".bg('red')

Lots of options.

@Marak
Owner

Now added

@Marak Marak closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.