Hmm. We can look into it more. I thought the compiler knew how to combine selectors, and if not, I supposed we could make it work, but I think it will be harder for properties like border that are "shortcuts" for a bunch of other properties.
-Alex On 1/7/18, 12:21 PM, "Olaf Krueger" <[email protected]> wrote: >Hi, >I've learned in the meantime that "a Royale 'type' selector isn't really a >true CSS Type Selector. It is really a Class selector with the same name >as >the component's typeNames property". > >But I wonder what is the Royale way of changing the default styles of a >component for an app developer. >It seems to me that applying a CSS class to a particular element works and >it also works to set new element/type styles in order to 'overwrite' the >defaults [1]. >But the original default component styles remain in the HTML styles [2] >and >so I wonder if this is the best way to achieve this. > >Thanks, >Olaf > >[1] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsnag.gy%2 >FRZVpUW.jpg&data=02%7C01%7Caharui%40adobe.com%7C0a9f66c53aa14b9212f308d556 >0c4b32%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636509533162326598&sda >ta=ULVpWGIh296ybPYeMHm4FA6KvcaIf9%2BLF%2BHAqHZ5Trs%3D&reserved=0 >[2] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsnag.gy%2 >F5iqhZW.jpg&data=02%7C01%7Caharui%40adobe.com%7C0a9f66c53aa14b9212f308d556 >0c4b32%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636509533162326598&sda >ta=Db8N3277aHtOYZPijx3eW04zfwzV4sGemPFXiNR%2BJ0o%3D&reserved=0 > > > > > >-- >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 >C0a9f66c53aa14b9212f308d5560c4b32%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7 >C0%7C636509533162326598&sdata=40WDNr1W9GhhNAVDI6SKtp1upzSJ8L8AJvwFyuKwRMk% >3D&reserved=0
