Re: How to inject html with a theme class

2018-03-07 Thread Carlos Rovira
Hi Alex, I did it : ../royale-compiler/compiler/src/assembly/scripts/swfdump -abc library.swf > mysqc.txt (for both -swf.swc and -js.swc), and both files (mysqc.txt) are empty so what could be happen? why there's nothing in library.swf but there's .js generated? thanks 2018-03-06 23:18

Re: How to inject html with a theme class

2018-03-07 Thread Alex Harui
When you say the files are empty, does that mean it is truly 0 bytes or just doesn’t contain the classes you want? If no classes are specified to be compiled due to COMPILE::SWF and COMPILE::JS blocks then the library.swf will not contain those classes. The library compile succeeds because it thi

How can we pass colors to a CSS?

2018-03-07 Thread Carlos Rovira
Hi, I'd need to pass two or three colors to a CSS (i.e: primary, secondary and accent) in other frameworks people use things like SASS Maybe in Royale we could get it in our own way any suggestion so that I could test? thanks! -- Carlos Rovira http://about.me/carlosrovira

Re: How can we pass colors to a CSS?

2018-03-07 Thread Alex Harui
Not sure I understand the question. What are you trying to achieve? -Alex On 3/7/18, 3:18 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >I'd need to pass two or three colors to a CSS (i.e: primary, secondary and >accent) >in other frameworks people use things like SASS

Re: How can we pass colors to a CSS?

2018-03-07 Thread OmPrakash Muppirala
Carlos, In SASS, there are variables, but you cannot pass variables into it from the app. The variables in SASS are compiled down to CSS as hardcoded values, that's it. Usually, multiple class values are created and we set the class property on an element using a string evaluation. For example:

Re: How can we pass colors to a CSS?

2018-03-07 Thread Carlos Rovira
Hi Alex, Om, I'm referring to what Om's describe. In MDL and the rest of frameworks we pass for example "primary" and "accent" color. In this way the final CSS gets the colors in all rules they need to use hardcoded. Please check the following link: https://getmdl.io/customize/index.html then we