Problem Importing stylesheet

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
wby933
Posts: 3
Joined: 08 May 2023, 03:35

16 May 2023, 21:26

Hello,
I'm using Spring Boot with JSF and Primefaces. Templating is working fine, but I cant get the css to be applied.
I get the following error:
get error: Can't find stylesheet to import.
|
6 | @import '../../sass/layout/_layout';
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/main/webapp/resources/sapphire-layout/css/layout-blue.scss 6:9 root stylesheet

currently using Primefaces 12.0, Sapphire 5.1. I followed the folder structure in the tag directory.

Thanks in advance.

olgubasak
Posts: 98
Joined: 05 Jan 2023, 11:05

19 May 2023, 12:42

Hi,

I believe you can resolve the issue by following the documentation I have sent as an attachment. I think updating sass might solve the problem.

Sapphire Documentation: https://www.primefaces.org/sapphire/documentation.xhtml
If you have any further questions or concerns, please don't hesitate to reach out.

Best Regards,
Olgu

wby933
Posts: 3
Joined: 08 May 2023, 03:35

21 May 2023, 18:54

I did follow the instruction in the documentation you cited and it seems to have work for most of them, but not blue. if I use any other color I dont get an error, but if I layout-blue.css I get the error in my initial post.

olgubasak
Posts: 98
Joined: 05 Jan 2023, 11:05

26 May 2023, 08:31

Hi again,
The Sass theme has become open source. I'm sending you the relevant repository below.
Can you try again by adding it to your project and making your updates?

PrimeFaces Sass-theme: https://github.com/primefaces/primefaces-sass-theme

Best Regards,

Post Reply

Return to “Sapphire - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests