Re: Jewel Themes

2021-03-03 Thread David Slotemaker de Bruine
Great! Working now thanks.This was the start of my compile string:

*-theme=${royalelib}/themes/Jewel-Light-NoFlat-Primary-Red-Theme/src/main/resources/defaults.css*


On Tue, 2 Mar 2021 at 17:02, Carlos Rovira  wrote:

> Finally
>
> to get app in red as the main color use:
>
> Jewel-Light-NoFlat-Primary-Red-Theme
>
> but choose other two colors for "secondary" and "emphasized" too to get
> the most of Jewel in theme capabilities
>
> El mar, 2 mar 2021 a las 16:59, Carlos Rovira ()
> escribió:
>
>>  Hi David,
>>
>> If you don't use JewelTheme you go with a combination of three themes
>> chosen from the 144 themes available (or creating a new one). So
>> regarding this:
>>
>> Jewel-Dark-NoFlat-Secondary-Red-Theme
>>
>> I said "Dark" themes are not ready, so please don't use that yet
>> "Secondary" is complement, but not the main one. You need to choose a
>> "Primary" instead
>> Then "Secondary" and "Emphasized" will be the theme complements.
>>
>> For example:
>>
>> - Jewel-Light-NoFlat-Primary-Blue-Theme
>> - Jewel-Light-NoFlat-Secondary-Topaz-Theme
>> - Jewel-Light-NoFlat-Emphasized-Emerald-Theme
>>
>> Using this set, will be the same as using JewelTheme in the current
>> configuration.
>>
>> If you change _theme.sass in JewelTheme and compile it using SASS
>> compiler you can get as well the final CSS combined.
>>
>> _theme.sass is this code:
>>
>> //Theme variables (Flat/No Flat - Dark/Light -
>> Primary/Secondary/Emphasized Color
>> $flat: false
>> $dark: false
>> $primary-color: $blue
>> $secondary-color: $topaz
>> $emphasized-color: $emerald
>>
>> So changing it and compiling SASS generate all 144 combinations.
>>
>>
>> El mar, 2 mar 2021 a las 16:36, David Slotemaker de Bruine (<
>> dslotema...@vicensvives.com>) escribió:
>>
>>> Thanks Bill and Carlos,
>>>
>>> I understand the  emphasis property like "primary", "secondary" or
>>> "emphasized". That's not the problem,  currently there is NO formatting or
>>> styles on the Cards, Application Bar etc. I am guessing because I no longer
>>> point to the JewelTheme folder only the
>>> Jewel-Dark-NoFlat-Secondary-Red-Theme in my compiler line arguments.
>>>
>>> @Carlos, in regards to "but you need to configure SASS variables and
>>> recompile or you just get the default configuration (Blue+Topaz+Emerald)."
>>> I don't what to create a new theme, I just want the app Red instead of
>>> Blue. I am unsure how to continue.
>>>
>>> Apologies if I am not explaining my problem adequately.
>>>
>>> Cheers,
>>>
>>> David
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Tue, 2 Mar 2021 at 16:23, Carlos Rovira 
>>> wrote:
>>>
 Hi,

 primary themes has the primary and default colors
 secondary themes has only secondary styles for components that use that
 since not all use secondary
 emphasized themes are the same as secondary but for emphasized. Even
 less components use it.

 So, using Jewel theme you have all in one, but you need to configure
 SASS variables and recompile or you just get the default configuration
 (Blue+Topaz+Emerald). So to avoid the need for compilation we created all
 combinations to mix 3 themes. That's 144 project for themes, so you can
 choose the 3 you want.

 As Bill says for some components you need to configure emphasis
 property to "primary", "secondary" or "emphasized".

 HTH



 El mar, 2 mar 2021 a las 16:17, Bilbosax ()
 escribió:

> Hi dslotemaker, I certainly am no expert at Royale, but in your
> components,
> are you using the "emphasis" property?  If you don't, a lot of the
> default
> colors in some of the themes are grey.  So in a button or combobox, try
> adding emphasis="primary" to get components with the theme colors you
> are
> looking for. Like this:
>
> 
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>


 --
 Carlos Rovira
 Apache Member & Apache Royale PMC
 *Apache Software Foundation*
 http://about.me/carlosrovira


>>>
>>> --
>>>
>>> *David Slotemaker de Bruïne*
>>> *Head of Educational Robotics*
>>>
>>>
>>>
>>> Av. Sarriá, 130 - 08017 Barcelona
>>> 
>>>
>>>
>>> T. +34 932 523 729 ext. 135
>>>
>>> dslotema...@vicensvives.com
>>>
>>
>>
>> --
>> Carlos Rovira
>> Apache Member & Apache Royale PMC
>> *Apache Software Foundation*
>> http://about.me/carlosrovira
>>
>>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>

-- 

*David Slotemaker de Bruïne*
*Head of Educational Robotics*



Av. Sarriá, 130 - 08017 Barcelona



T. +34 932 523 729 ext. 135

dslotema...@vicensvives.com


Re: Jewel Themes

2021-03-02 Thread Carlos Rovira
 Hi David,

If you don't use JewelTheme you go with a combination of three themes
chosen from the 144 themes available (or creating a new one). So
regarding this:

Jewel-Dark-NoFlat-Secondary-Red-Theme

I said "Dark" themes are not ready, so please don't use that yet
"Secondary" is complement, but not the main one. You need to choose a
"Primary" instead
Then "Secondary" and "Emphasized" will be the theme complements.

For example:

- Jewel-Light-NoFlat-Primary-Blue-Theme
- Jewel-Light-NoFlat-Secondary-Topaz-Theme
- Jewel-Light-NoFlat-Emphasized-Emerald-Theme

Using this set, will be the same as using JewelTheme in the current
configuration.

If you change _theme.sass in JewelTheme and compile it using SASS compiler
you can get as well the final CSS combined.

_theme.sass is this code:

//Theme variables (Flat/No Flat - Dark/Light - Primary/Secondary/Emphasized
Color
$flat: false
$dark: false
$primary-color: $blue
$secondary-color: $topaz
$emphasized-color: $emerald

So changing it and compiling SASS generate all 144 combinations.


El mar, 2 mar 2021 a las 16:36, David Slotemaker de Bruine (<
dslotema...@vicensvives.com>) escribió:

> Thanks Bill and Carlos,
>
> I understand the  emphasis property like "primary", "secondary" or
> "emphasized". That's not the problem,  currently there is NO formatting or
> styles on the Cards, Application Bar etc. I am guessing because I no longer
> point to the JewelTheme folder only the
> Jewel-Dark-NoFlat-Secondary-Red-Theme in my compiler line arguments.
>
> @Carlos, in regards to "but you need to configure SASS variables and
> recompile or you just get the default configuration (Blue+Topaz+Emerald)."
> I don't what to create a new theme, I just want the app Red instead of
> Blue. I am unsure how to continue.
>
> Apologies if I am not explaining my problem adequately.
>
> Cheers,
>
> David
>
>
>
>
>
>
> On Tue, 2 Mar 2021 at 16:23, Carlos Rovira 
> wrote:
>
>> Hi,
>>
>> primary themes has the primary and default colors
>> secondary themes has only secondary styles for components that use that
>> since not all use secondary
>> emphasized themes are the same as secondary but for emphasized. Even less
>> components use it.
>>
>> So, using Jewel theme you have all in one, but you need to configure SASS
>> variables and recompile or you just get the default configuration
>> (Blue+Topaz+Emerald). So to avoid the need for compilation we created all
>> combinations to mix 3 themes. That's 144 project for themes, so you can
>> choose the 3 you want.
>>
>> As Bill says for some components you need to configure emphasis property
>> to "primary", "secondary" or "emphasized".
>>
>> HTH
>>
>>
>>
>> El mar, 2 mar 2021 a las 16:17, Bilbosax ()
>> escribió:
>>
>>> Hi dslotemaker, I certainly am no expert at Royale, but in your
>>> components,
>>> are you using the "emphasis" property?  If you don't, a lot of the
>>> default
>>> colors in some of the themes are grey.  So in a button or combobox, try
>>> adding emphasis="primary" to get components with the theme colors you are
>>> looking for. Like this:
>>>
>>> 
>>>
>>>
>>>
>>> --
>>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>>
>>
>>
>> --
>> Carlos Rovira
>> Apache Member & Apache Royale PMC
>> *Apache Software Foundation*
>> http://about.me/carlosrovira
>>
>>
>
> --
>
> *David Slotemaker de Bruïne*
> *Head of Educational Robotics*
>
>
>
> Av. Sarriá, 130 - 08017 Barcelona
> 
>
>
> T. +34 932 523 729 ext. 135
>
> dslotema...@vicensvives.com
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Jewel Themes

2021-03-02 Thread Carlos Rovira
Finally

to get app in red as the main color use:

Jewel-Light-NoFlat-Primary-Red-Theme

but choose other two colors for "secondary" and "emphasized" too to get the
most of Jewel in theme capabilities

El mar, 2 mar 2021 a las 16:59, Carlos Rovira ()
escribió:

>  Hi David,
>
> If you don't use JewelTheme you go with a combination of three themes
> chosen from the 144 themes available (or creating a new one). So
> regarding this:
>
> Jewel-Dark-NoFlat-Secondary-Red-Theme
>
> I said "Dark" themes are not ready, so please don't use that yet
> "Secondary" is complement, but not the main one. You need to choose a
> "Primary" instead
> Then "Secondary" and "Emphasized" will be the theme complements.
>
> For example:
>
> - Jewel-Light-NoFlat-Primary-Blue-Theme
> - Jewel-Light-NoFlat-Secondary-Topaz-Theme
> - Jewel-Light-NoFlat-Emphasized-Emerald-Theme
>
> Using this set, will be the same as using JewelTheme in the current
> configuration.
>
> If you change _theme.sass in JewelTheme and compile it using SASS compiler
> you can get as well the final CSS combined.
>
> _theme.sass is this code:
>
> //Theme variables (Flat/No Flat - Dark/Light -
> Primary/Secondary/Emphasized Color
> $flat: false
> $dark: false
> $primary-color: $blue
> $secondary-color: $topaz
> $emphasized-color: $emerald
>
> So changing it and compiling SASS generate all 144 combinations.
>
>
> El mar, 2 mar 2021 a las 16:36, David Slotemaker de Bruine (<
> dslotema...@vicensvives.com>) escribió:
>
>> Thanks Bill and Carlos,
>>
>> I understand the  emphasis property like "primary", "secondary" or
>> "emphasized". That's not the problem,  currently there is NO formatting or
>> styles on the Cards, Application Bar etc. I am guessing because I no longer
>> point to the JewelTheme folder only the
>> Jewel-Dark-NoFlat-Secondary-Red-Theme in my compiler line arguments.
>>
>> @Carlos, in regards to "but you need to configure SASS variables and
>> recompile or you just get the default configuration (Blue+Topaz+Emerald)."
>> I don't what to create a new theme, I just want the app Red instead of
>> Blue. I am unsure how to continue.
>>
>> Apologies if I am not explaining my problem adequately.
>>
>> Cheers,
>>
>> David
>>
>>
>>
>>
>>
>>
>> On Tue, 2 Mar 2021 at 16:23, Carlos Rovira 
>> wrote:
>>
>>> Hi,
>>>
>>> primary themes has the primary and default colors
>>> secondary themes has only secondary styles for components that use that
>>> since not all use secondary
>>> emphasized themes are the same as secondary but for emphasized. Even
>>> less components use it.
>>>
>>> So, using Jewel theme you have all in one, but you need to configure
>>> SASS variables and recompile or you just get the default configuration
>>> (Blue+Topaz+Emerald). So to avoid the need for compilation we created all
>>> combinations to mix 3 themes. That's 144 project for themes, so you can
>>> choose the 3 you want.
>>>
>>> As Bill says for some components you need to configure emphasis property
>>> to "primary", "secondary" or "emphasized".
>>>
>>> HTH
>>>
>>>
>>>
>>> El mar, 2 mar 2021 a las 16:17, Bilbosax ()
>>> escribió:
>>>
 Hi dslotemaker, I certainly am no expert at Royale, but in your
 components,
 are you using the "emphasis" property?  If you don't, a lot of the
 default
 colors in some of the themes are grey.  So in a button or combobox, try
 adding emphasis="primary" to get components with the theme colors you
 are
 looking for. Like this:

 



 --
 Sent from: http://apache-royale-users.20374.n8.nabble.com/

>>>
>>>
>>> --
>>> Carlos Rovira
>>> Apache Member & Apache Royale PMC
>>> *Apache Software Foundation*
>>> http://about.me/carlosrovira
>>>
>>>
>>
>> --
>>
>> *David Slotemaker de Bruïne*
>> *Head of Educational Robotics*
>>
>>
>>
>> Av. Sarriá, 130 - 08017 Barcelona
>> 
>>
>>
>> T. +34 932 523 729 ext. 135
>>
>> dslotema...@vicensvives.com
>>
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Jewel Themes

2021-03-02 Thread David Slotemaker de Bruine
Thanks Bill and Carlos,

I understand the  emphasis property like "primary", "secondary" or
"emphasized". That's not the problem,  currently there is NO formatting or
styles on the Cards, Application Bar etc. I am guessing because I no longer
point to the JewelTheme folder only the
Jewel-Dark-NoFlat-Secondary-Red-Theme in my compiler line arguments.

@Carlos, in regards to "but you need to configure SASS variables and
recompile or you just get the default configuration (Blue+Topaz+Emerald)."
I don't what to create a new theme, I just want the app Red instead of
Blue. I am unsure how to continue.

Apologies if I am not explaining my problem adequately.

Cheers,

David






On Tue, 2 Mar 2021 at 16:23, Carlos Rovira  wrote:

> Hi,
>
> primary themes has the primary and default colors
> secondary themes has only secondary styles for components that use that
> since not all use secondary
> emphasized themes are the same as secondary but for emphasized. Even less
> components use it.
>
> So, using Jewel theme you have all in one, but you need to configure SASS
> variables and recompile or you just get the default configuration
> (Blue+Topaz+Emerald). So to avoid the need for compilation we created all
> combinations to mix 3 themes. That's 144 project for themes, so you can
> choose the 3 you want.
>
> As Bill says for some components you need to configure emphasis property
> to "primary", "secondary" or "emphasized".
>
> HTH
>
>
>
> El mar, 2 mar 2021 a las 16:17, Bilbosax ()
> escribió:
>
>> Hi dslotemaker, I certainly am no expert at Royale, but in your
>> components,
>> are you using the "emphasis" property?  If you don't, a lot of the default
>> colors in some of the themes are grey.  So in a button or combobox, try
>> adding emphasis="primary" to get components with the theme colors you are
>> looking for. Like this:
>>
>> 
>>
>>
>>
>> --
>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>

-- 

*David Slotemaker de Bruïne*
*Head of Educational Robotics*



Av. Sarriá, 130 - 08017 Barcelona



T. +34 932 523 729 ext. 135

dslotema...@vicensvives.com


Re: Jewel Themes

2021-03-02 Thread Carlos Rovira
Hi,

primary themes has the primary and default colors
secondary themes has only secondary styles for components that use that
since not all use secondary
emphasized themes are the same as secondary but for emphasized. Even less
components use it.

So, using Jewel theme you have all in one, but you need to configure SASS
variables and recompile or you just get the default configuration
(Blue+Topaz+Emerald). So to avoid the need for compilation we created all
combinations to mix 3 themes. That's 144 project for themes, so you can
choose the 3 you want.

As Bill says for some components you need to configure emphasis property to
"primary", "secondary" or "emphasized".

HTH



El mar, 2 mar 2021 a las 16:17, Bilbosax ()
escribió:

> Hi dslotemaker, I certainly am no expert at Royale, but in your components,
> are you using the "emphasis" property?  If you don't, a lot of the default
> colors in some of the themes are grey.  So in a button or combobox, try
> adding emphasis="primary" to get components with the theme colors you are
> looking for. Like this:
>
> 
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Jewel Themes

2021-03-02 Thread Bilbosax
Hi dslotemaker, I certainly am no expert at Royale, but in your components,
are you using the "emphasis" property?  If you don't, a lot of the default
colors in some of the themes are grey.  So in a button or combobox, try
adding emphasis="primary" to get components with the theme colors you are
looking for. Like this:





--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: Jewel Themes

2021-03-02 Thread David Slotemaker de Bruine
Hi again,

I compared the default.css in JewelTheme and
Jewel-Dark-NoFlat-Secondary-Red-Theme, they both contain different tags.
Perhaps I need to have them both in the Compiler line?

David

On Tue, 2 Mar 2021 at 13:55, David Slotemaker de Bruine <
dslotema...@vicensvives.com> wrote:

> OK, Great. But what does that mean I need to change to get it to compile
> correctly?
>
> On Tue, 2 Mar 2021 at 13:50, Carlos Rovira 
> wrote:
>
>> Hi David,
>>
>> I'm checking the nighty and I can see the .css in each theme generated in
>> /src/main/resources/defaults.css
>> so I think you have the CSS to be used directly
>>
>> El mar, 2 mar 2021 a las 13:34, David Slotemaker de Bruine (<
>> dslotema...@vicensvives.com>) escribió:
>>
>>> Hi Carlos,
>>>
>>> In the compile line I changed "JewelTheme" in the path to
>>> "Jewel-Dark-NoFlat-Secondary-Red-Theme" which exists in the SDK directory,
>>> but after compiling I get what looks like the basic ApacheRoyal Theme, no
>>> colors, just grey datagrid headers and grey comboboxes.
>>>
>>> Do the themes in the SDK need to be compiled first?
>>>
>>> Cheers,
>>>
>>> David
>>>
>>> On Tue, 2 Mar 2021 at 12:09, Carlos Rovira 
>>> wrote:
>>>
 Hi,

 I use to work with Maven and themes are added as dependencies. So
 looking at other sources like TDJ, when I build using VSCode & AS3:

 https://github.com/BowlerHatLLC/vscode-as3mxml/wiki/asconfig.json#theme

 I get this:

 MXMLJSC

 +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
 --debug=false
 +configname=royale
 --targets=JSRoyale
 --source-path+=src/main/resources
 --source-map=true
 --html-template=src/main/resources/jewel-example-index-template.html
 *--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css*
 -js-dynamic-access-unknown-members=true

 I know Josh added in asconfig the capability to add more than one
 theme, so I think you can use an array for multiple CSS here, but didn't
 try it.




 El mar, 2 mar 2021 a las 11:55, David Slotemaker de Bruine (<
 dslotema...@vicensvives.com>) escribió:

> Hi Carlos,
>
> Thanks for the overview, do you have an example of how to use the
> -theme compiler argument? I checked here:
>
> https://apache.github.io/royale-docs/compiler/compiler-options.html
>
>but there is no mention of -theme.
>
> Cheers,
>
> David
>
>
>
> On Tue, 2 Mar 2021 at 11:40, Carlos Rovira 
> wrote:
>
>> Hi David,
>>
>> you use "-theme" compiler option to add one the jewel theme css that
>> gives you primary, secondary and emphasized colors all-in-one or choose a
>> combination of concrete jewel themes one for each of the three colors
>> (separating it with ",").
>>
>> the loadCSS function allows you to override the default theme at
>> runtime you choose so each rule in the browser is override that way.
>>
>> The exclude-defaults-css-files for MXRoyale is needed since MXRoyale
>> has it's own CSS rules that will be mixed with Jewel rules generating
>> unexpected results. One day I expect to separate RPC classes from 
>> MXRoyale
>> so we can not use MX library with CSS included and get rid of that line.
>> Other than that, it's ok to use MXRoyale for RPC classes with Jewel 
>> since I
>> think we all are using it that way.
>>
>> HTH
>>
>>
>> El mar, 2 mar 2021 a las 10:52, Carlos Rovira (<
>> carlosrov...@apache.org>) escribió:
>>
>>> Hi David,
>>>
>>> just fixed the link to jewel themes in docs [1]
>>>
>>> I'll answer other points as I have more time
>>>
>>> HTH
>>>
>>> [1] https://apache.github.io/royale-docs/component-sets/jewel/themes
>>>
>>>
>>>
>>> El mar, 2 mar 2021 a las 8:55, David Slotemaker de Bruine (<
>>> dslotema...@vicensvives.com>) escribió:
>>>
 Hi,

 I want to implement Jewel themes like in TDJ. The docs currently
 point to a 404 page:


 https://apache.github.io/royale-docs/component-sets/jewel/jewel-themes

 Looking at the source code of TDJ I see you can call an new theme
 with:

 loadCSS("assets/themes/Jewel-Light-" + flatState + "-" + emphasis +
 "-" + color + "-Theme/defaults.css")

 For some reason this is not available to me when compiling, I think
 it might be due to my compiler settings:
 "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc"

 -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
 -html-template=src/resources/jewel-index-template.html
-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
 -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
 

Re: Jewel Themes

2021-03-02 Thread David Slotemaker de Bruine
OK, Great. But what does that mean I need to change to get it to compile
correctly?

On Tue, 2 Mar 2021 at 13:50, Carlos Rovira  wrote:

> Hi David,
>
> I'm checking the nighty and I can see the .css in each theme generated in
> /src/main/resources/defaults.css
> so I think you have the CSS to be used directly
>
> El mar, 2 mar 2021 a las 13:34, David Slotemaker de Bruine (<
> dslotema...@vicensvives.com>) escribió:
>
>> Hi Carlos,
>>
>> In the compile line I changed "JewelTheme" in the path to
>> "Jewel-Dark-NoFlat-Secondary-Red-Theme" which exists in the SDK directory,
>> but after compiling I get what looks like the basic ApacheRoyal Theme, no
>> colors, just grey datagrid headers and grey comboboxes.
>>
>> Do the themes in the SDK need to be compiled first?
>>
>> Cheers,
>>
>> David
>>
>> On Tue, 2 Mar 2021 at 12:09, Carlos Rovira 
>> wrote:
>>
>>> Hi,
>>>
>>> I use to work with Maven and themes are added as dependencies. So
>>> looking at other sources like TDJ, when I build using VSCode & AS3:
>>>
>>> https://github.com/BowlerHatLLC/vscode-as3mxml/wiki/asconfig.json#theme
>>>
>>> I get this:
>>>
>>> MXMLJSC
>>>
>>> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
>>> --debug=false
>>> +configname=royale
>>> --targets=JSRoyale
>>> --source-path+=src/main/resources
>>> --source-map=true
>>> --html-template=src/main/resources/jewel-example-index-template.html
>>> *--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css*
>>> -js-dynamic-access-unknown-members=true
>>>
>>> I know Josh added in asconfig the capability to add more than one theme,
>>> so I think you can use an array for multiple CSS here, but didn't try it.
>>>
>>>
>>>
>>>
>>> El mar, 2 mar 2021 a las 11:55, David Slotemaker de Bruine (<
>>> dslotema...@vicensvives.com>) escribió:
>>>
 Hi Carlos,

 Thanks for the overview, do you have an example of how to use the
 -theme compiler argument? I checked here:

 https://apache.github.io/royale-docs/compiler/compiler-options.html

but there is no mention of -theme.

 Cheers,

 David



 On Tue, 2 Mar 2021 at 11:40, Carlos Rovira 
 wrote:

> Hi David,
>
> you use "-theme" compiler option to add one the jewel theme css that
> gives you primary, secondary and emphasized colors all-in-one or choose a
> combination of concrete jewel themes one for each of the three colors
> (separating it with ",").
>
> the loadCSS function allows you to override the default theme at
> runtime you choose so each rule in the browser is override that way.
>
> The exclude-defaults-css-files for MXRoyale is needed since MXRoyale
> has it's own CSS rules that will be mixed with Jewel rules generating
> unexpected results. One day I expect to separate RPC classes from MXRoyale
> so we can not use MX library with CSS included and get rid of that line.
> Other than that, it's ok to use MXRoyale for RPC classes with Jewel since 
> I
> think we all are using it that way.
>
> HTH
>
>
> El mar, 2 mar 2021 a las 10:52, Carlos Rovira (<
> carlosrov...@apache.org>) escribió:
>
>> Hi David,
>>
>> just fixed the link to jewel themes in docs [1]
>>
>> I'll answer other points as I have more time
>>
>> HTH
>>
>> [1] https://apache.github.io/royale-docs/component-sets/jewel/themes
>>
>>
>>
>> El mar, 2 mar 2021 a las 8:55, David Slotemaker de Bruine (<
>> dslotema...@vicensvives.com>) escribió:
>>
>>> Hi,
>>>
>>> I want to implement Jewel themes like in TDJ. The docs currently
>>> point to a 404 page:
>>>
>>>
>>> https://apache.github.io/royale-docs/component-sets/jewel/jewel-themes
>>>
>>> Looking at the source code of TDJ I see you can call an new theme
>>> with:
>>>
>>> loadCSS("assets/themes/Jewel-Light-" + flatState + "-" + emphasis +
>>> "-" + color + "-Theme/defaults.css")
>>>
>>> For some reason this is not available to me when compiling, I think
>>> it might be due to my compiler settings:
>>> "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc"
>>>
>>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>>> -html-template=src/resources/jewel-index-template.html
>>>-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>>> +configname=flex   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>>
>>> I am using mx:RemoteObjects and I think we added that line so there
>>> isn't any conflict?
>>>
>>> What should I do.
>>>
>>> David
>>>
>>>
>>>
>>>
>>
>> --
>> Carlos Rovira
>> Apache Member & Apache Royale PMC
>> *Apache Software Foundation*
>> http://about.me/carlosrovira
>>
>>
>
> --
> 

Re: Jewel Themes

2021-03-02 Thread Carlos Rovira
Hi David,

I'm checking the nighty and I can see the .css in each theme generated in
/src/main/resources/defaults.css
so I think you have the CSS to be used directly

El mar, 2 mar 2021 a las 13:34, David Slotemaker de Bruine (<
dslotema...@vicensvives.com>) escribió:

> Hi Carlos,
>
> In the compile line I changed "JewelTheme" in the path to
> "Jewel-Dark-NoFlat-Secondary-Red-Theme" which exists in the SDK directory,
> but after compiling I get what looks like the basic ApacheRoyal Theme, no
> colors, just grey datagrid headers and grey comboboxes.
>
> Do the themes in the SDK need to be compiled first?
>
> Cheers,
>
> David
>
> On Tue, 2 Mar 2021 at 12:09, Carlos Rovira 
> wrote:
>
>> Hi,
>>
>> I use to work with Maven and themes are added as dependencies. So looking
>> at other sources like TDJ, when I build using VSCode & AS3:
>>
>> https://github.com/BowlerHatLLC/vscode-as3mxml/wiki/asconfig.json#theme
>>
>> I get this:
>>
>> MXMLJSC
>>
>> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
>> --debug=false
>> +configname=royale
>> --targets=JSRoyale
>> --source-path+=src/main/resources
>> --source-map=true
>> --html-template=src/main/resources/jewel-example-index-template.html
>> *--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css*
>> -js-dynamic-access-unknown-members=true
>>
>> I know Josh added in asconfig the capability to add more than one theme,
>> so I think you can use an array for multiple CSS here, but didn't try it.
>>
>>
>>
>>
>> El mar, 2 mar 2021 a las 11:55, David Slotemaker de Bruine (<
>> dslotema...@vicensvives.com>) escribió:
>>
>>> Hi Carlos,
>>>
>>> Thanks for the overview, do you have an example of how to use the -theme
>>> compiler argument? I checked here:
>>>
>>> https://apache.github.io/royale-docs/compiler/compiler-options.html
>>>
>>>but there is no mention of -theme.
>>>
>>> Cheers,
>>>
>>> David
>>>
>>>
>>>
>>> On Tue, 2 Mar 2021 at 11:40, Carlos Rovira 
>>> wrote:
>>>
 Hi David,

 you use "-theme" compiler option to add one the jewel theme css that
 gives you primary, secondary and emphasized colors all-in-one or choose a
 combination of concrete jewel themes one for each of the three colors
 (separating it with ",").

 the loadCSS function allows you to override the default theme at
 runtime you choose so each rule in the browser is override that way.

 The exclude-defaults-css-files for MXRoyale is needed since MXRoyale
 has it's own CSS rules that will be mixed with Jewel rules generating
 unexpected results. One day I expect to separate RPC classes from MXRoyale
 so we can not use MX library with CSS included and get rid of that line.
 Other than that, it's ok to use MXRoyale for RPC classes with Jewel since I
 think we all are using it that way.

 HTH


 El mar, 2 mar 2021 a las 10:52, Carlos Rovira ()
 escribió:

> Hi David,
>
> just fixed the link to jewel themes in docs [1]
>
> I'll answer other points as I have more time
>
> HTH
>
> [1] https://apache.github.io/royale-docs/component-sets/jewel/themes
>
>
>
> El mar, 2 mar 2021 a las 8:55, David Slotemaker de Bruine (<
> dslotema...@vicensvives.com>) escribió:
>
>> Hi,
>>
>> I want to implement Jewel themes like in TDJ. The docs currently
>> point to a 404 page:
>>
>> https://apache.github.io/royale-docs/component-sets/jewel/jewel-themes
>>
>> Looking at the source code of TDJ I see you can call an new theme
>> with:
>>
>> loadCSS("assets/themes/Jewel-Light-" + flatState + "-" + emphasis +
>> "-" + color + "-Theme/defaults.css")
>>
>> For some reason this is not available to me when compiling, I think
>> it might be due to my compiler settings:
>> "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc"
>>
>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>> -html-template=src/resources/jewel-index-template.html
>>-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>> +configname=flex   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>
>> I am using mx:RemoteObjects and I think we added that line so there
>> isn't any conflict?
>>
>> What should I do.
>>
>> David
>>
>>
>>
>>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>

 --
 Carlos Rovira
 Apache Member & Apache Royale PMC
 *Apache Software Foundation*
 http://about.me/carlosrovira


>>>
>>> --
>>>
>>> *David Slotemaker de Bruïne*
>>> *Head of Educational Robotics*
>>>
>>>
>>>
>>> Av. Sarriá, 130 - 08017 Barcelona
>>> 

Re: Jewel Themes

2021-03-02 Thread David Slotemaker de Bruine
Hi Carlos,

In the compile line I changed "JewelTheme" in the path to
"Jewel-Dark-NoFlat-Secondary-Red-Theme" which exists in the SDK directory,
but after compiling I get what looks like the basic ApacheRoyal Theme, no
colors, just grey datagrid headers and grey comboboxes.

Do the themes in the SDK need to be compiled first?

Cheers,

David

On Tue, 2 Mar 2021 at 12:09, Carlos Rovira  wrote:

> Hi,
>
> I use to work with Maven and themes are added as dependencies. So looking
> at other sources like TDJ, when I build using VSCode & AS3:
>
> https://github.com/BowlerHatLLC/vscode-as3mxml/wiki/asconfig.json#theme
>
> I get this:
>
> MXMLJSC
>
> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
> --debug=false
> +configname=royale
> --targets=JSRoyale
> --source-path+=src/main/resources
> --source-map=true
> --html-template=src/main/resources/jewel-example-index-template.html
> *--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css*
> -js-dynamic-access-unknown-members=true
>
> I know Josh added in asconfig the capability to add more than one theme,
> so I think you can use an array for multiple CSS here, but didn't try it.
>
>
>
>
> El mar, 2 mar 2021 a las 11:55, David Slotemaker de Bruine (<
> dslotema...@vicensvives.com>) escribió:
>
>> Hi Carlos,
>>
>> Thanks for the overview, do you have an example of how to use the -theme
>> compiler argument? I checked here:
>>
>> https://apache.github.io/royale-docs/compiler/compiler-options.html
>>
>>but there is no mention of -theme.
>>
>> Cheers,
>>
>> David
>>
>>
>>
>> On Tue, 2 Mar 2021 at 11:40, Carlos Rovira 
>> wrote:
>>
>>> Hi David,
>>>
>>> you use "-theme" compiler option to add one the jewel theme css that
>>> gives you primary, secondary and emphasized colors all-in-one or choose a
>>> combination of concrete jewel themes one for each of the three colors
>>> (separating it with ",").
>>>
>>> the loadCSS function allows you to override the default theme at runtime
>>> you choose so each rule in the browser is override that way.
>>>
>>> The exclude-defaults-css-files for MXRoyale is needed since MXRoyale has
>>> it's own CSS rules that will be mixed with Jewel rules generating
>>> unexpected results. One day I expect to separate RPC classes from MXRoyale
>>> so we can not use MX library with CSS included and get rid of that line.
>>> Other than that, it's ok to use MXRoyale for RPC classes with Jewel since I
>>> think we all are using it that way.
>>>
>>> HTH
>>>
>>>
>>> El mar, 2 mar 2021 a las 10:52, Carlos Rovira ()
>>> escribió:
>>>
 Hi David,

 just fixed the link to jewel themes in docs [1]

 I'll answer other points as I have more time

 HTH

 [1] https://apache.github.io/royale-docs/component-sets/jewel/themes



 El mar, 2 mar 2021 a las 8:55, David Slotemaker de Bruine (<
 dslotema...@vicensvives.com>) escribió:

> Hi,
>
> I want to implement Jewel themes like in TDJ. The docs currently point
> to a 404 page:
>
> https://apache.github.io/royale-docs/component-sets/jewel/jewel-themes
>
> Looking at the source code of TDJ I see you can call an new theme with:
>
> loadCSS("assets/themes/Jewel-Light-" + flatState + "-" + emphasis +
> "-" + color + "-Theme/defaults.css")
>
> For some reason this is not available to me when compiling, I think it
> might be due to my compiler settings:
> "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc"
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -html-template=src/resources/jewel-index-template.html
>-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> +configname=flex   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>
> I am using mx:RemoteObjects and I think we added that line so there
> isn't any conflict?
>
> What should I do.
>
> David
>
>
>
>

 --
 Carlos Rovira
 Apache Member & Apache Royale PMC
 *Apache Software Foundation*
 http://about.me/carlosrovira


>>>
>>> --
>>> Carlos Rovira
>>> Apache Member & Apache Royale PMC
>>> *Apache Software Foundation*
>>> http://about.me/carlosrovira
>>>
>>>
>>
>> --
>>
>> *David Slotemaker de Bruïne*
>> *Head of Educational Robotics*
>>
>>
>>
>> Av. Sarriá, 130 - 08017 Barcelona
>> 
>>
>>
>> T. +34 932 523 729 ext. 135
>>
>> dslotema...@vicensvives.com
>>
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>

-- 

*David Slotemaker de Bruïne*
*Head of Educational Robotics*



Av. Sarriá, 130 - 08017 Barcelona



T. +34 932 523 729 ext. 135

dslotema...@vicensvives.com


Re: Jewel Themes

2021-03-02 Thread Carlos Rovira
Hi,

I use to work with Maven and themes are added as dependencies. So looking
at other sources like TDJ, when I build using VSCode & AS3:

https://github.com/BowlerHatLLC/vscode-as3mxml/wiki/asconfig.json#theme

I get this:

MXMLJSC
+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
--debug=false
+configname=royale
--targets=JSRoyale
--source-path+=src/main/resources
--source-map=true
--html-template=src/main/resources/jewel-example-index-template.html
*--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css*
-js-dynamic-access-unknown-members=true

I know Josh added in asconfig the capability to add more than one theme, so
I think you can use an array for multiple CSS here, but didn't try it.




El mar, 2 mar 2021 a las 11:55, David Slotemaker de Bruine (<
dslotema...@vicensvives.com>) escribió:

> Hi Carlos,
>
> Thanks for the overview, do you have an example of how to use the -theme
> compiler argument? I checked here:
>
> https://apache.github.io/royale-docs/compiler/compiler-options.html
>
>but there is no mention of -theme.
>
> Cheers,
>
> David
>
>
>
> On Tue, 2 Mar 2021 at 11:40, Carlos Rovira 
> wrote:
>
>> Hi David,
>>
>> you use "-theme" compiler option to add one the jewel theme css that
>> gives you primary, secondary and emphasized colors all-in-one or choose a
>> combination of concrete jewel themes one for each of the three colors
>> (separating it with ",").
>>
>> the loadCSS function allows you to override the default theme at runtime
>> you choose so each rule in the browser is override that way.
>>
>> The exclude-defaults-css-files for MXRoyale is needed since MXRoyale has
>> it's own CSS rules that will be mixed with Jewel rules generating
>> unexpected results. One day I expect to separate RPC classes from MXRoyale
>> so we can not use MX library with CSS included and get rid of that line.
>> Other than that, it's ok to use MXRoyale for RPC classes with Jewel since I
>> think we all are using it that way.
>>
>> HTH
>>
>>
>> El mar, 2 mar 2021 a las 10:52, Carlos Rovira ()
>> escribió:
>>
>>> Hi David,
>>>
>>> just fixed the link to jewel themes in docs [1]
>>>
>>> I'll answer other points as I have more time
>>>
>>> HTH
>>>
>>> [1] https://apache.github.io/royale-docs/component-sets/jewel/themes
>>>
>>>
>>>
>>> El mar, 2 mar 2021 a las 8:55, David Slotemaker de Bruine (<
>>> dslotema...@vicensvives.com>) escribió:
>>>
 Hi,

 I want to implement Jewel themes like in TDJ. The docs currently point
 to a 404 page:

 https://apache.github.io/royale-docs/component-sets/jewel/jewel-themes

 Looking at the source code of TDJ I see you can call an new theme with:

 loadCSS("assets/themes/Jewel-Light-" + flatState + "-" + emphasis + "-"
 + color + "-Theme/defaults.css")

 For some reason this is not available to me when compiling, I think it
 might be due to my compiler settings:
 "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc"

 -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
 -html-template=src/resources/jewel-index-template.html
-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
 -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
 +configname=flex   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc

 I am using mx:RemoteObjects and I think we added that line so there
 isn't any conflict?

 What should I do.

 David




>>>
>>> --
>>> Carlos Rovira
>>> Apache Member & Apache Royale PMC
>>> *Apache Software Foundation*
>>> http://about.me/carlosrovira
>>>
>>>
>>
>> --
>> Carlos Rovira
>> Apache Member & Apache Royale PMC
>> *Apache Software Foundation*
>> http://about.me/carlosrovira
>>
>>
>
> --
>
> *David Slotemaker de Bruïne*
> *Head of Educational Robotics*
>
>
>
> Av. Sarriá, 130 - 08017 Barcelona
> 
>
>
> T. +34 932 523 729 ext. 135
>
> dslotema...@vicensvives.com
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Jewel Themes

2021-03-02 Thread David Slotemaker de Bruine
Hi Carlos,

Thanks for the overview, do you have an example of how to use the -theme
compiler argument? I checked here:

https://apache.github.io/royale-docs/compiler/compiler-options.html

   but there is no mention of -theme.

Cheers,

David



On Tue, 2 Mar 2021 at 11:40, Carlos Rovira  wrote:

> Hi David,
>
> you use "-theme" compiler option to add one the jewel theme css that gives
> you primary, secondary and emphasized colors all-in-one or choose a
> combination of concrete jewel themes one for each of the three colors
> (separating it with ",").
>
> the loadCSS function allows you to override the default theme at runtime
> you choose so each rule in the browser is override that way.
>
> The exclude-defaults-css-files for MXRoyale is needed since MXRoyale has
> it's own CSS rules that will be mixed with Jewel rules generating
> unexpected results. One day I expect to separate RPC classes from MXRoyale
> so we can not use MX library with CSS included and get rid of that line.
> Other than that, it's ok to use MXRoyale for RPC classes with Jewel since I
> think we all are using it that way.
>
> HTH
>
>
> El mar, 2 mar 2021 a las 10:52, Carlos Rovira ()
> escribió:
>
>> Hi David,
>>
>> just fixed the link to jewel themes in docs [1]
>>
>> I'll answer other points as I have more time
>>
>> HTH
>>
>> [1] https://apache.github.io/royale-docs/component-sets/jewel/themes
>>
>>
>>
>> El mar, 2 mar 2021 a las 8:55, David Slotemaker de Bruine (<
>> dslotema...@vicensvives.com>) escribió:
>>
>>> Hi,
>>>
>>> I want to implement Jewel themes like in TDJ. The docs currently point
>>> to a 404 page:
>>>
>>> https://apache.github.io/royale-docs/component-sets/jewel/jewel-themes
>>>
>>> Looking at the source code of TDJ I see you can call an new theme with:
>>>
>>> loadCSS("assets/themes/Jewel-Light-" + flatState + "-" + emphasis + "-"
>>> + color + "-Theme/defaults.css")
>>>
>>> For some reason this is not available to me when compiling, I think it
>>> might be due to my compiler settings:
>>> "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc"
>>>
>>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>>> -html-template=src/resources/jewel-index-template.html
>>>-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>>> +configname=flex   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>>
>>> I am using mx:RemoteObjects and I think we added that line so there
>>> isn't any conflict?
>>>
>>> What should I do.
>>>
>>> David
>>>
>>>
>>>
>>>
>>
>> --
>> Carlos Rovira
>> Apache Member & Apache Royale PMC
>> *Apache Software Foundation*
>> http://about.me/carlosrovira
>>
>>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>

-- 

*David Slotemaker de Bruïne*
*Head of Educational Robotics*



Av. Sarriá, 130 - 08017 Barcelona



T. +34 932 523 729 ext. 135

dslotema...@vicensvives.com


Re: Jewel Themes

2021-03-02 Thread Carlos Rovira
Hi David,

you use "-theme" compiler option to add one the jewel theme css that gives
you primary, secondary and emphasized colors all-in-one or choose a
combination of concrete jewel themes one for each of the three colors
(separating it with ",").

the loadCSS function allows you to override the default theme at runtime
you choose so each rule in the browser is override that way.

The exclude-defaults-css-files for MXRoyale is needed since MXRoyale has
it's own CSS rules that will be mixed with Jewel rules generating
unexpected results. One day I expect to separate RPC classes from MXRoyale
so we can not use MX library with CSS included and get rid of that line.
Other than that, it's ok to use MXRoyale for RPC classes with Jewel since I
think we all are using it that way.

HTH


El mar, 2 mar 2021 a las 10:52, Carlos Rovira ()
escribió:

> Hi David,
>
> just fixed the link to jewel themes in docs [1]
>
> I'll answer other points as I have more time
>
> HTH
>
> [1] https://apache.github.io/royale-docs/component-sets/jewel/themes
>
>
>
> El mar, 2 mar 2021 a las 8:55, David Slotemaker de Bruine (<
> dslotema...@vicensvives.com>) escribió:
>
>> Hi,
>>
>> I want to implement Jewel themes like in TDJ. The docs currently point to
>> a 404 page:
>>
>> https://apache.github.io/royale-docs/component-sets/jewel/jewel-themes
>>
>> Looking at the source code of TDJ I see you can call an new theme with:
>>
>> loadCSS("assets/themes/Jewel-Light-" + flatState + "-" + emphasis + "-" +
>> color + "-Theme/defaults.css")
>>
>> For some reason this is not available to me when compiling, I think it
>> might be due to my compiler settings:
>> "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc"
>>
>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>> -html-template=src/resources/jewel-index-template.html
>>-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>> +configname=flex   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>
>> I am using mx:RemoteObjects and I think we added that line so there isn't
>> any conflict?
>>
>> What should I do.
>>
>> David
>>
>>
>>
>>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Jewel Themes

2021-03-02 Thread David Slotemaker de Bruine
https://apache.github.io/royale-docs/features/styles-skins-themes

at the bottom. "Jewel Themes"

On Tue, 2 Mar 2021 at 10:43, Andrew Wetmore  wrote:

> Hi, David:
>
> On what page does that broken link appear?
>
> Andrew
>
> On Tue, Mar 2, 2021 at 3:55 AM David Slotemaker de Bruine <
> dslotema...@vicensvives.com> wrote:
>
>> Hi,
>>
>> I want to implement Jewel themes like in TDJ. The docs currently point to
>> a 404 page:
>>
>> https://apache.github.io/royale-docs/component-sets/jewel/jewel-themes
>>
>> Looking at the source code of TDJ I see you can call an new theme with:
>>
>> loadCSS("assets/themes/Jewel-Light-" + flatState + "-" + emphasis + "-" +
>> color + "-Theme/defaults.css")
>>
>> For some reason this is not available to me when compiling, I think it
>> might be due to my compiler settings:
>> "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc"
>>
>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>> -html-template=src/resources/jewel-index-template.html
>>-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>> +configname=flex   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>
>> I am using mx:RemoteObjects and I think we added that line so there isn't
>> any conflict?
>>
>> What should I do.
>>
>> David
>>
>>
>>
>>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
>
>
>
>

-- 

*David Slotemaker de Bruïne*
*Head of Educational Robotics*



Av. Sarriá, 130 - 08017 Barcelona



T. +34 932 523 729 ext. 135

dslotema...@vicensvives.com


Re: Jewel Themes

2021-03-02 Thread Carlos Rovira
Hi David,

just fixed the link to jewel themes in docs [1]

I'll answer other points as I have more time

HTH

[1] https://apache.github.io/royale-docs/component-sets/jewel/themes



El mar, 2 mar 2021 a las 8:55, David Slotemaker de Bruine (<
dslotema...@vicensvives.com>) escribió:

> Hi,
>
> I want to implement Jewel themes like in TDJ. The docs currently point to
> a 404 page:
>
> https://apache.github.io/royale-docs/component-sets/jewel/jewel-themes
>
> Looking at the source code of TDJ I see you can call an new theme with:
>
> loadCSS("assets/themes/Jewel-Light-" + flatState + "-" + emphasis + "-" +
> color + "-Theme/defaults.css")
>
> For some reason this is not available to me when compiling, I think it
> might be due to my compiler settings:
> "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc"
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -html-template=src/resources/jewel-index-template.html
>-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> +configname=flex   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>
> I am using mx:RemoteObjects and I think we added that line so there isn't
> any conflict?
>
> What should I do.
>
> David
>
>
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Jewel Themes

2021-03-02 Thread Andrew Wetmore
Hi, David:

On what page does that broken link appear?

Andrew

On Tue, Mar 2, 2021 at 3:55 AM David Slotemaker de Bruine <
dslotema...@vicensvives.com> wrote:

> Hi,
>
> I want to implement Jewel themes like in TDJ. The docs currently point to
> a 404 page:
>
> https://apache.github.io/royale-docs/component-sets/jewel/jewel-themes
>
> Looking at the source code of TDJ I see you can call an new theme with:
>
> loadCSS("assets/themes/Jewel-Light-" + flatState + "-" + emphasis + "-" +
> color + "-Theme/defaults.css")
>
> For some reason this is not available to me when compiling, I think it
> might be due to my compiler settings:
> "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc"
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -html-template=src/resources/jewel-index-template.html
>-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> +configname=flex   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>
> I am using mx:RemoteObjects and I think we added that line so there isn't
> any conflict?
>
> What should I do.
>
> David
>
>
>
>

-- 
Andrew Wetmore

http://cottage14.blogspot.com/


Re: Jewel Themes Dynamic Switching

2020-01-13 Thread Carlos Rovira
Hi,

just let you know that I posted a new update for Tour De Jewel yesterday
where you can find Flat (Light) themes added to Tour De Jewel.

https://twitter.com/ApacheRoyale/status/1216476271955398659

As always, you can share and retweet to make it reach more people!

Hope you like it :)

Carlos



El mar., 7 ene. 2020 a las 13:13, Carlos Rovira ()
escribió:

> Hi Yishay,
>
> CSS files are copied to the resources/assets folder in the Tour De Jewel
> Application. Then I use "loadCSS" method function (present in Core) to load
> the CSS. In TDJ I remove as well the older themes to avoid have it linked.
>
>
> El dom., 5 ene. 2020 a las 12:44, Yishay Weiss ()
> escribió:
>
>> That looks really cool. Does this mean you can choose in runtime which
>> css to load into your application? In other words is all css preloaded or
>> is there a server call being made?
>>
>>
>>
>> *From:* Carlos Rovira 
>> *Sent:* Saturday, January 4, 2020 10:20:39 PM
>> *To:* users@royale.apache.org 
>> *Subject:* Jewel Themes Dynamic Switching
>>
>>
>>
>> Hi,
>>
>>
>>
>> if you are interested in jewel themes dynamic switching at runtime check
>> this tweet:
>>
>>
>>
>> https://twitter.com/carlosrovira/status/1213553124658561026
>>
>>
>>
>> And don't forget to retweet and share! ;)
>>
>>
>>
>> Best,
>>
>>
>>
>> --
>>
>> Carlos Rovira
>>
>> http://about.me/carlosrovira
>>
>>
>>
>> *From: *Carlos Rovira 
>> *Sent: *Saturday, January 4, 2020 10:20 PM
>> *To: *users@royale.apache.org
>> *Subject: *Jewel Themes Dynamic Switching
>>
>>
>>
>> Hi,
>>
>>
>>
>> if you are interested in jewel themes dynamic switching at runtime check
>> this tweet:
>>
>>
>>
>> https://twitter.com/carlosrovira/status/1213553124658561026
>>
>>
>>
>> And don't forget to retweet and share! ;)
>>
>>
>>
>> Best,
>>
>>
>>
>> --
>>
>> Carlos Rovira
>>
>> http://about.me/carlosrovira
>>
>>
>>
>>
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Jewel Themes Dynamic Switching

2020-01-07 Thread Carlos Rovira
Hi Yishay,

CSS files are copied to the resources/assets folder in the Tour De Jewel
Application. Then I use "loadCSS" method function (present in Core) to load
the CSS. In TDJ I remove as well the older themes to avoid have it linked.


El dom., 5 ene. 2020 a las 12:44, Yishay Weiss ()
escribió:

> That looks really cool. Does this mean you can choose in runtime which css
> to load into your application? In other words is all css preloaded or is
> there a server call being made?
>
>
>
> *From:* Carlos Rovira 
> *Sent:* Saturday, January 4, 2020 10:20:39 PM
> *To:* users@royale.apache.org 
> *Subject:* Jewel Themes Dynamic Switching
>
>
>
> Hi,
>
>
>
> if you are interested in jewel themes dynamic switching at runtime check
> this tweet:
>
>
>
> https://twitter.com/carlosrovira/status/1213553124658561026
>
>
>
> And don't forget to retweet and share! ;)
>
>
>
> Best,
>
>
>
> --
>
> Carlos Rovira
>
> http://about.me/carlosrovira
>
>
>
> *From: *Carlos Rovira 
> *Sent: *Saturday, January 4, 2020 10:20 PM
> *To: *users@royale.apache.org
> *Subject: *Jewel Themes Dynamic Switching
>
>
>
> Hi,
>
>
>
> if you are interested in jewel themes dynamic switching at runtime check
> this tweet:
>
>
>
> https://twitter.com/carlosrovira/status/1213553124658561026
>
>
>
> And don't forget to retweet and share! ;)
>
>
>
> Best,
>
>
>
> --
>
> Carlos Rovira
>
> http://about.me/carlosrovira
>
>
>
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira


RE: Jewel Themes Dynamic Switching

2020-01-05 Thread Yishay Weiss
That looks really cool. Does this mean you can choose in runtime which css to 
load into your application? In other words is all css preloaded or is there a 
server call being made?


From: Carlos Rovira 
Sent: Saturday, January 4, 2020 10:20:39 PM
To: users@royale.apache.org 
Subject: Jewel Themes Dynamic Switching

Hi,

if you are interested in jewel themes dynamic switching at runtime check this 
tweet:

https://twitter.com/carlosrovira/status/1213553124658561026

And don't forget to retweet and share! ;)

Best,

--
Carlos Rovira
http://about.me/carlosrovira

From: Carlos Rovira
Sent: Saturday, January 4, 2020 10:20 PM
To: users@royale.apache.org
Subject: Jewel Themes Dynamic Switching

Hi,

if you are interested in jewel themes dynamic switching at runtime check this 
tweet:

https://twitter.com/carlosrovira/status/1213553124658561026

And don't forget to retweet and share! ;)

Best,

--
Carlos Rovira
http://about.me/carlosrovira




Re: Jewel Themes

2018-06-19 Thread Carlos Rovira
Ok Ale,

I think you have two options here:

1.- ask Josh on how to deal with multiple themes in AS3 extension. I'm sure
this is possible since maven does. So I figure is a matter of find the
right syntax. For me is hard to figure since I'm not using it.

2.- You can use maven. That's what I use and works great. The benefits from
this path is that all Royale Jewel examples are done with maven so you have
lots of examples working. In the other hand you ensure your build is
consistent in CI server, IDEs, ... In fact, I don't know the benefits of
IDE building over maven. I build in VSCode with CMD+SHIFT+B, and use to
generate my own Royale snapshot SDK with latest thing I'm developing...

Hope others could bring some more light here in order to help you with more
options

thanks


2018-06-19 10:06 GMT+02:00 Ale :

> Hi Carlos,
>
> The "," solution doesn't work, neither do an array. I tried both.
>
> The "," is not able to open the file as it omits the "," and try to open a
> file which is composed by the name of the two given. The array solution
> doesn't work because it expects an string as the argument of the option
> "theme".
>
> Thanks, Ale
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Jewel Themes

2018-06-19 Thread Ale
Hi Carlos,

The "," solution doesn't work, neither do an array. I tried both. 

The "," is not able to open the file as it omits the "," and try to open a
file which is composed by the name of the two given. The array solution
doesn't work because it expects an string as the argument of the option
"theme".

Thanks, Ale



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: Jewel Themes

2018-06-18 Thread Carlos Rovira
Hi Ale,

I think theme compiler option can be chained with a ","
can you try to write "theme":,," ?

If this don't work hope others using IDEs can give some clue here

thanks

Carlos


2018-06-18 11:49 GMT+02:00 Ale :

> Hi Carlos,
>
> The line in the /asconfig.json/ file (compilerOptions) is:
>
> /"theme":
> "${royalelib}/themes/Jewel-Light-NoFlat-Primary-Turquoise-Theme/src/main/
> resources/defaults.css"/
>
> Thanks, Ale
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Jewel Themes

2018-06-18 Thread Ale
Hi Carlos,

The line in the /asconfig.json/ file (compilerOptions) is:

/"theme":
"${royalelib}/themes/Jewel-Light-NoFlat-Primary-Turquoise-Theme/src/main/resources/defaults.css"/

Thanks, Ale



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/