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 <[email protected]> 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 (<[email protected]>)
> 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 (<
>> [email protected]>) 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 <[email protected]>
>>> 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 (<[email protected]>)
>>>> 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:
>>>>>
>>>>> <j:Button localId="myButton" emphasis="primary"/>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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
>>> <https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g>
>>>
>>>
>>> T. +34 932 523 729 ext. 135
>>>
>>> [email protected]
>>>
>>
>>
>> --
>> 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
<https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g>
T. +34 932 523 729 ext. 135
[email protected]