The aim of this application is to make it easier to customize Admin theme and Admin Template.
Admin Designer is not maintained anymore, the easiest way to customize the theme is making the changes directly in admin-theme project.
This the same Admin Showcase application with admin template
and admin theme
bundled inside instead of being project dependencies.
It uses ThornTail to run the exploded
application so one can change the theme or template and see the modifications without needing to restart the application.
The initial idea was to speed AdminFaces development but it turns out that it can easy contributions
from non Java developers (like designers and frontend developers) as the project is about front end components and layout.
Also another great feature of Admin Designer is the possibility to download the customized project as a maven project.
❗
|
The downloaded project is the Admin Starter with modified admin theme and template embedded in the project.
|
-
First download Admin Designer from github releases here;
-
Now in application root directory start it by running the command:
./mvnw thorntail:run (or mvnw.cmd thorntail:run) (1)
-
To use
mvnw
(maven wrapper) you just need Java installed (JAVA_HOME pointing to aJDK
).
-
-
Edit any less file in directory
src/main/resources/less
. -
Now to compile the application using:
./mvnw compile (or mvnw.cmd compile)
💡If you don’t want to compile every time you change a less file, use the flag -Dlesscss.watch=true
. Or use a tool like brackets with less extension installed. -
Finally when you’re done you can download the customized
theme
ortemplate
packed as jar files or even download it as a zipped maven project;
The changes made to less files should be visible in running application http://localhost:8080/showcase
ℹ️
|
There is no need to stop and run the application again. |
You can see this workflow in the following video: https://youtu.be/X1UEpN942s0