So are you saying that in order to change something you will need to point those files through fx:Style or Maven/Ant compiler options ?
Here is my thoughts: - No you should create visual appearance of component through sketch - why not. It helps you achieve what you really need. - You have created Theme - theme saying how components should looks like yes ? User is taking Jewel -> using your Theme.swc. - If he want to change some default appearance - he should create his own theme - Am I right ? Your idea is adding more options, by SASS ? 2018-03-10 9:43 GMT+01:00 Carlos Rovira <[email protected]>: > Hi Piotr, > > SASS is to help me develop final CSS. Did you read about my comparison with > Photoshop/PSD - PNG? > Should I create a PNG without a tool like Sketch to get final PNG? > SASS only creates the final CSS (defaults.css or other you'll use to use) > I'll love to have something like SASS in Royale (it could be called ROCSS > ;)), but this is not yet. In the mean while > what I see is that SASS let me write better organized CSS. > > About passing variables through MAVEN or ANT, this is optional. Since we > are creating for this example two final css: > > royale-jewel-blue.css > royale-jewel-red.css > > You can use one or another at Runtime. But to do this, you'll need to avoid > Royale CSS processing, since those CSSs are processed > and added to App.css. But you want to maintain those files and reference it > through at runtime with fx:Style tag or runtime css loading. > > We should support both methods. > > 1) people that only wants to use only one theme and include just that in > their bundle > 2) people that wants all styles and let the user pick one at runtime. > > > > 2018-03-10 9:03 GMT+01:00 Piotr Zarzycki <[email protected]>: > > > Does it mean that if he fix it you will be able to drop Sass usage? > > > > I actually don't like idea to pass some variables through Maven, Ant. > > > > If use write large app and would like to dynamically change colors he > will > > need to pass many of them - yes? > > > > Piotr > > > > On Sat, Mar 10, 2018, 08:23 Carlos Rovira <[email protected]> > wrote: > > > > > Hi Piotr, > > > > > > this thread is about a *working* example :) > > > to read about the fails please check other threads where we talked > about, > > > or go directly to issues #25 and #26 where you can see how to reproduce > > > inserting just one single line in your css. But maybe that not deserve > > you > > > put time on it since Alex said he'll be fixing it > > > > > > thanks > > > > > > 2018-03-10 0:39 GMT+01:00 Piotr Zarzycki <[email protected]>: > > > > > > > > > > > > Apart of your points 5, 6 where you have said that you need help - > I > > > > don't > > > > > see example where something is not working. You were talking about > > some > > > > > gradient things etc. Please proved some separate examples where you > > > have > > > > > tried to achieve and compiler failed. > > > > > > > > > > > > > -- > > > Carlos Rovira > > > http://about.me/carlosrovira > > > > > > > > > -- > Carlos Rovira > http://about.me/carlosrovira > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*
