Hi, some time ago I had the same problem and Harb helped me (you can search for the thread in the list @users I have made an excerpt for you:
The compiler needs to understand the css in order to compile it. Any features that the compiler does not understand must be added to the compiler. Definitely add this as a Github issue. To use unsupported CSS features, you need a CSS file that doesn't run through the compiler. What I do is add a "defaults.css" file where I put that type of CSS and add the following line to my template html file: <link rel="stylesheet" type="text/css" href="./assets/css/defaults.css"> Must be a plain vanilla CSS file (HTML style) [1] Namespaces are not recognized in normal css. [1] https://www.w3.org/Style/CSS/specs.en.html Hiedra -----Mensaje original----- De: Hugo Ferreira <hferreira...@gmail.com> Enviado el: martes, 1 de febrero de 2022 12:26 Para: Apache Royale Development <d...@royale.apache.org> Asunto: Re: Less and Royale Hi Yishay, It's a workaround that works, thank you (I tried yesterday before my e-mail and I don't know why did not works, perhaps because was night) but is working now. Ansering your question. If I set the default theme with the generated css from less I got a lot of errors. For example: .bg-opacity-100 { --bs-bg-opacity: 1; } The compiler seems not not like -- Yishay Weiss <yishayj...@hotmail.com> escreveu no dia terça, 1/02/2022 à(s) 07:52: > It would be interesting to understand why Royale is complaining, but > as a workaround you might want to have an index-template file that > includes your css. > > From: Hugo Ferreira<mailto:hferreira...@gmail.com> > Sent: Tuesday, February 1, 2022 1:16 AM > To: Apache Royale Development<mailto:d...@royale.apache.org> > Subject: Less and Royale > > Hi, > > I compile a less file that generated a big css file (a lot of > references from bootstrap). > I know that this css file is OK or should be OK, however royale > compiler complains about it while compiling ending with error (using VS Code). > How can I compile and ignore all errors from the main css file ? > >