Hi Alex, I'd like to help with this kind of CSS compiler problems. Since I don't know too much about the compiler, and don't have the time to learn all that's involver, it's possible that I only could get knowledge of the concrete part that process the CSS?
If that's possible, could you provide me some info on : * How royale compiler operate on CSS? (I assume that given .css files the compiler reads it and then retrieves the rules it knows and write a single file <app_name>.css * Where is the code in the compiler that read the .css files * where is the code in the compiler that has the knowledge about how to deal with CSS rules so I can modify or fix, add, remove... let me know if this is possible. I think I'll find various problems on the way and maybe it would be more easy that I can see if I can solve it. Some of the problems are: * support for rgb alpha (current issue) * pudo-elements like before: after: (I think that had problems) * percentages in gradients: i.e: linear-gradient (#000 %3, #fff %100); ...and more as I see how to do it 2018-03-03 18:19 GMT+01:00 GitBox <[email protected]>: > carlosrovira opened a new issue #25: [CSS] rgba is not valid in text-shadow > URL: https://github.com/apache/royale-compiler/issues/25 > > > Hi, > > if I try to use something like: text-shadow: 0 -1px 0 rgba(0,0,0,0.70); > the theme and final app compiles but browser throws two errors at > runtime: > > App.js:573 Uncaught SyntaxError: Unexpected identifier > index.html:282 Uncaught ReferenceError: App is not defined > at index.html:282 > > in App.js there's: this["textShadow"] = [0.0, -1.0, 0.0, unexpected > value type: rgba(0,0,0,0.70)]; > Unexpected identifier 'value'. Expected either a closing ']' or a ',' > following an array element > > > ---------------------------------------------------------------- > This is an automated message from the Apache Git Service. > To respond to the message, please log on GitHub and use the > URL above to go to the specific comment. > > For queries about this service, please contact Infrastructure at: > [email protected] > > > With regards, > Apache Git Services > -- Carlos Rovira http://about.me/carlosrovira
