not able to use Omega3.0 templates with my project.

siris
Posts: 240
Joined: 29 Jul 2019, 13:57

04 Jun 2021, 13:09

Please download zip from scratch and compile sass. Scss files are compiled together. When I downloaded the zip and tried it, I couldn't see a issue.

siris
Posts: 240
Joined: 29 Jul 2019, 13:57

07 Jun 2021, 16:32

Hi,

Omega remastered and version 3.1.0 released! Please try with new version.

erickdeoliveiraleal
Posts: 74
Joined: 25 Mar 2013, 13:00

10 Jun 2021, 20:16

I'm also having problems to use new Omega.
First, I have a question: Is 3.1.0 compatible with primefaces 8 and 10?
I tried to upgrade my theme just copying new files as older versions, but it showed a exception message in server "Error loading css, cannot find "theme.css" resource of "primefaces-omega-blue" library"
Then I proceeded as documentation: sass --update src/main/webapp/resources/sass/layout.scss src/main/webapp/resources/omega-layout/css/layout.css --no-source-map
Then it showed a error message in command line:

Code: Select all

Ruby Sass 3.7.4 
C:\Users\02099200173>sass --trace --update C:\Users\02099200173\Downloads\omega-3.1.0\tag\src\main\webapp\resources\sass\layout\_layout.scss C:\Users\02099200173\Downloads\omega-3.1.0\tag\src\main\webapp\resources\omega-layout\css\layout.css --no-source-map
Traceback (most recent call last):
        4: from C:/Ruby27-x64/bin/sass:23:in `<main>'
        3: from C:/Ruby27-x64/bin/sass:23:in `load'
        2: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/bin/sass:13:in `<top (required)>'
        1: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/base.rb:18:in `parse!'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/base.rb:48:in `parse': invalid option: --no-source-map (OptionParser::InvalidOption)
Did you mean?  sourcemap
or if I use sourcemap=none other error appears:

Code: Select all

C:\Users\02099200173>sass --trace --update C:\Users\02099200173\Downloads\omega-3.1.0\tag\src\main\webapp\resources\sass\layout\_layout.scss C:\Users\02099200173\Downloads\omega-3.1.0\tag\src\main\webapp\resources\omega-layout\css\layout.css --sourcemap=none
Traceback (most recent call last):
        6: from C:/Ruby27-x64/bin/sass:23:in `<main>'
        5: from C:/Ruby27-x64/bin/sass:23:in `load'
        4: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/bin/sass:13:in `<top (required)>'
        3: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/base.rb:18:in `parse!'
        2: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/base.rb:50:in `parse'
        1: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/sass_scss.rb:51:in `process_result'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/sass_scss.rb:285:in `watch_or_update': File C:\\Users\\02099200173\\Downloads\\omega-3.1.0\\tag\\src\\main\\webapp\\resources\\omega-layout\\css\\layout.css doesn't exist. (RuntimeError)
    Did you mean: sass --update C:\\Users\\02099200173\\Downloads\\omega-3.1.0\\tag\\src\\main\\webapp\\resources\\sass\\layout\\_layout.scss:C:\\Users\\02099200173\\Downloads\\omega-3.1.0\\tag\\src\\main\\webapp\\resources\\omega-layout\\css\\layout.css
another command I tried:

Code: Select all

C:\Users\02099200173>sass --update --trace  C:\Users\02099200173\Downloads\omega-3.1.0\omega-layout-3.1.0\resources --sourcemap=none
      error C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources/omega-layout/css/layout-blue.scss (Line 12: File to import not found or unreadable: ../../sass/layout/_layout.
Load path: C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources)
      error C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources/omega-layout/css/layout-dark.scss (Line 12: File to import not found or unreadable: ../../sass/layout/_layout.
Load path: C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources)
      error C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources/omega-layout/css/layout-light.scss (Line 12: File to import not found or unreadable: ../../sass/layout/_layout.
Load path: C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources)
Can someone help me? Older versions were much easier :)
It could come compiled as before :D

siris
Posts: 240
Joined: 29 Jul 2019, 13:57

11 Jun 2021, 08:56

Hi,

Sorry for outdated first command in doc. Please compile scss files with

Code: Select all

sass --watch src/main/webapp/resources:src/main/webapp/resources --no-source-map
So you can use theme.css files.

Best Regards,

erickdeoliveiraleal
Posts: 74
Joined: 25 Mar 2013, 13:00

11 Jun 2021, 13:53

thank you

siris
Posts: 240
Joined: 29 Jul 2019, 13:57

14 Jun 2021, 11:20

You're welcome!

Post Reply

Return to “Omega - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest