How to add theme to my project?

n3tmaster
Posts: 14
Joined: 29 Nov 2013, 16:35

10 May 2016, 18:42

Hi guys,

I just bought Adamantium Theme and Layout, I would integrate it into my J2ee project based on PrimeFaces 5.2 but .. I don't known how.
I looked for tutorial but I couldn't find anything.

Any idea?

Thank you in advance

Leandro


n3tmaster
Posts: 14
Joined: 29 Nov 2013, 16:35

16 May 2016, 12:48

Thank you!

aragorn
Posts: 3743
Joined: 29 Jun 2013, 12:38

16 May 2016, 15:44

You're welcome ;)

n3tmaster
Posts: 14
Joined: 29 Nov 2013, 16:35

17 May 2016, 11:31

Hi.. I followed the instructions by movie you posted but my NetBeans isn't able to perform LESS compilation in order to create theme and layout maps.
I checked my netbeans configuration and I set LESS compiler path.. but NetBeans won't compile the adamantium css files..

:shock:

aragorn
Posts: 3743
Joined: 29 Jun 2013, 12:38

17 May 2016, 12:24

Can you please attach netbeans configuration? Do you get an error on browser or Netbeans?

Please check;
- Netbeans > Tools > Options > HTML/JS > CSS Preprocessors > Less Path --> Exp; C:\Users\...\AppData\Roaming\npm\lessc.cmd
- Properties (click right to your project folder) > CSS Preprocessors > LESS >
Image

n3tmaster
Posts: 14
Joined: 29 Nov 2013, 16:35

17 May 2016, 12:46

my NetBeans HTML/JS options

Image


my project properties:

Image

Thank you !

aragorn
Posts: 3743
Joined: 29 Jun 2013, 12:38

17 May 2016, 12:56

For Less Path, can you find lessc.cmd?

n3tmaster
Posts: 14
Joined: 29 Nov 2013, 16:35

17 May 2016, 13:14

yes the path is right (i'm under OSX El Capitain)

aragorn
Posts: 3743
Joined: 29 Jun 2013, 12:38

18 May 2016, 12:26

Can you please try to produce theme.css and layout css with lessc in command-line?
http://lesscss.org/#using-less-command-line-usage

Exp;
For theme.css;
C:\PROJECT_PATH\webapp>lessc resources/less/theme/theme.less resources/primefaces-adamantium/theme.css
For layout css;
C:\PROJECT_PATH\webapp>lessc resources/less/layout/adamantium-layout.less resources/adamantium-layout/css/adamantium-layout.css
C:\PROJECT_PATH\webapp>lessc resources/less/layout/adamantium-dark-layout.less resources/adamantium-layout/css/adamantium-dark-layout.css

Locked

Return to “Adamantium”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests