{"issue":{"milestone":null,"user":{"id":411703,"login":"killwing","url":"https://api.github.com/users/killwing","avatar_url":"https://secure.gravatar.com/avatar/db6ca26be93c8c3f79a12cf4a3b43e3e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"db6ca26be93c8c3f79a12cf4a3b43e3e"},"created_at":"2011-12-16T10:04:20Z","title":"multi-style when theming","updated_at":"2011-12-17T08:43:06Z","labels":[],"state":"open","id":2578000,"html_url":"https://github.com/Marak/colors.js/issues/18","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"how to apply compound 'red' and 'bold' when i'm using setTheme() ?\r\nand i suggest to add a option to color background, now i have to use 'inverse' to workaround...","number":18,"url":"https://api.github.com/repos/Marak/colors.js/issues/18","comments":1,"assignee":null},"comment":{"user":{"id":70011,"login":"Marak","url":"https://api.github.com/users/Marak","avatar_url":"https://secure.gravatar.com/avatar/7972c616246ab60df7cbc374d4ef9d35?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7972c616246ab60df7cbc374d4ef9d35"},"created_at":"2011-12-17T08:43:06Z","updated_at":"2011-12-17T08:43:06Z","id":3188410,"body":"Adding the ability to do this is easy, the question is what does the API look like.\r\n\r\nFor multi-style themes, I could do: `red.bold` as the value and then just split the string on the `.`\r\n\r\nFor background color, what would the API call look like? How do you specify if if color should be applied as BG color?\r\n\r\n`\"foo\".redBG`\r\n\r\n`\"foo\".background('red')`\r\n\r\n`\"foo\".bg('red')`\r\n\r\n\r\n Lots of options.","url":"https://api.github.com/repos/Marak/colors.js/issues/comments/3188410"},"action":"created"}