You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Alina Kazi <al...@gmail.com> on 2021/04/07 11:33:10 UTC

Sass Custom Theme

Hi Carlos,
We have created a custom sass locally in our project.
Is there any option I can use current
D:\royaleclone\royale-asjs\frameworks\themes\JewelTheme\target\JewelTheme.swc
and
make changes in the current by extending existing and/or only use it.
We want to generate our own customized theme (a combination of  JewelTheme
and our own theme).
In pom.xml added:
<plugin>
<groupId>org.apache.royale.compiler</groupId>
<artifactId>royale-maven-plugin</artifactId>
<version>${royale.compiler.version}</version>
<extensions>true</extensions>
<configuration>
 <includeFiles>
<include-file>
 <name>assets/*</name>
 <path>../../JewelTheme/src/main/resources/assets/*</path>
</include-file>
<include-file>
 <name>defaults.css</name>
 <path>../src/main/resources/defaults.css</path>
</include-file>
 </includeFiles>
</configuration>
 </plugin>

But project sass isn't able to pick files(imports) from JewelTheme

Your help is highly appreciated in this regard.

Thank you in Advance
Alina Kazi

Re: Sass Custom Theme

Posted by Alina Kazi <al...@gmail.com>.
Hi,

Created a customized library for the theme by copy pasting Jewel theme and
added customized things . It worked

Regards
Alina Kazi

On Wed, Apr 7, 2021 at 4:33 PM Alina Kazi <al...@gmail.com> wrote:

> Hi Carlos,
> We have created a custom sass locally in our project.
> Is there any option I can use current
> D:\royaleclone\royale-asjs\frameworks\themes\JewelTheme\target\JewelTheme.swc and
> make changes in the current by extending existing and/or only use it.
> We want to generate our own customized theme (a combination of  JewelTheme
> and our own theme).
> In pom.xml added:
> <plugin>
> <groupId>org.apache.royale.compiler</groupId>
> <artifactId>royale-maven-plugin</artifactId>
> <version>${royale.compiler.version}</version>
> <extensions>true</extensions>
> <configuration>
>  <includeFiles>
> <include-file>
>  <name>assets/*</name>
>  <path>../../JewelTheme/src/main/resources/assets/*</path>
> </include-file>
> <include-file>
>  <name>defaults.css</name>
>  <path>../src/main/resources/defaults.css</path>
> </include-file>
>  </includeFiles>
> </configuration>
>  </plugin>
>
> But project sass isn't able to pick files(imports) from JewelTheme
>
> Your help is highly appreciated in this regard.
>
> Thank you in Advance
> Alina Kazi
>