Unfortunately, did not work.
I also tried to create a dummy App.css.

This is my config:
{
"config": "royale",
"copySourcePathAssets": true,
"compilerOptions": {
"debug": false,
"targets": ["JSRoyale"],
"source-path": [
"/Volumes/Data/CloudDrive/Projects/RoyaleFramework/src"
],
"source-map": true,
"html-template": "src/resources/index-template.html",
"library-path": [
"/Volumes/Data/CloudDrive/Projects/RoyaleFramework/bin/RoyaleFramework.swc"
],
"js-library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc",
"/Volumes/Data/CloudDrive/Projects/RoyaleFramework/bin/RoyaleFramework.swc"
]
},
"additionalOptions": "-remove-circulars
-js-output-optimization=skipAsCoercions
-compiler.exclude-defaults-css-files=MXRoyale-0.9.10-js.swc:defaults.css
-keep-as3-metadata+=Transient,MaxLength,Required,TableColumn
-js-dynamic-access-unknown-members=true",
"files":
[
"src/App.mxml"
]
}

Harbs <harbs.li...@gmail.com> escreveu no dia quinta, 28/07/2022 à(s) 13:04:

> That’s coming from one of the Royale themes. Try specifying a theme
> argument pointing to your own css file. In asconfij.json that would be
> inside compilerOptions:
>
> "theme": "src/main.css"
>
> HTH,
> Harbs
>
> > On Jul 28, 2022, at 11:08 AM, Hugo Ferreira <hferreira...@gmail.com>
> wrote:
> >
> > Hi,
> >
> > When I compile my Apache Royale application, the compilar injects a
> > particular style: * { font-size: 12px }
> > This afftects my report engine Texts (Labels) because they don't have a
> > defined style. A text in this report engine is a div (without style)
> inside
> > a td with a style, so the text (div) inherits from the Royale * style,
> > dont' allow me the have different report text styles.
> >
> > There is a way to compile (I'm using VS Code) and ignore this style (*) ?
> >
> > Regards,
> > Hugo.
>
>

Reply via email to