From what I see in the browser, the browser is used to having a ton of CSS
to process.  While we are trying to replicate as much of Flex as we can,
we also don't want to blindly replicate all of Flex.  That's why the UI
set isn't 100% backward compatible, and in this case, why we are going to
rely on browser CSS instead of trying to make the browser implement Flex
CSS.  We will likely have a skin-able component set some day, but the
realization is that if you don't use Royale, you are probably going to
have to learn more about CSS that you did when you used Flex.  So, as long
as the CSS you would normally have to apply if you weren't using Royale
works when you do use Royale, that is the minimum.  If we can do better
than that, great, but not currently a huge priority for me.

So, if I'm not using Royale and just using HTML/CSS/JS and overriding the
default in some CSS theme, my choices are, IIRC, to set styles on a
component, or add a class selector, or override an existing class selector
from the theme. We are pretty much offering the same, I think.

My 2 cents,
-Alex

On 1/8/18, 12:31 AM, "Olaf Krueger" <[email protected]> wrote:

>Hi Alex,
>
>>We can look into it more.
>I'd highly appreciate it ;-)
>
>From my point of view the styling of (custom) components is crucial for
>Royal.
>For a Flex developer who will use Royale I guess CSS3 styling replaces
>Flex
>skinning and I guess anybody out there wants to give his compoenents a
>custom look and feel.
>Am I wrong? What do others think?
>
>So, even if the compiler maybe doesn't combine selectors properly for now
>I
>am still interested if there's a recommend way to style custom components.
>E.g. the way of 'overwriting' the default styles for a js:TextButton by
>applying styles to the 'Button' element feels not like the Royale way for
>me
>and on the other side am not sure if all default styles could be set
>successfully by applying styles by using the class selector (.myButton).
>
>If there's a recommend way I would like to write some docs in the near
>future...
>
>Thanks for help,
>Olaf
>
>
>
>
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-roy
>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7
>C35786786a6fc40c6be2208d556737d6e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7
>C0%7C636509976388358349&sdata=aDGmTNKjZ4V95qEoWVaG%2BJdUcCkZwDuYU119XX9F0a
>A%3D&reserved=0

Reply via email to