I am trying to use Mustache and a Map object for runtime skin switching.
Inline CSS in a template should not be a problem:
- <script id="template" type="text/mustache">
- <h1 style="color:{{color1}};">Welcome {{user}}!</h1>
- <p style="color:{{color2}};">You have {{messages}} messages.</p>
- </script>
It would be much better if life binding could be used within a <style type="text/css"> tag in the header.
Any ideas?
Thanks,
Udo