These are chat archives for ractivejs/ractive

13th
Jul 2017
Juan C. Andreu
@andreujuanc
Jul 13 2017 11:18
css: .rootEl { background-color: {{bg1}}; color: {{fg1}} } .otherEl { color: {{bg1}}; background-color: {{fg1}} },
cssData: { bg1: 'red', fg1: 'white' }
THIS IS NEAT
Chris Reeves
@evs-chris
Jul 13 2017 18:34
anybody interested in customizable styles for components and few minutes to spare, check out #3041
it's not quite as convenient as using ractive templates for css, but template strings make it not painful and with much less overhead