Changing default theme in Jhipster project

blganesh101 picture blganesh101 · May 27, 2016 · Viewed 8.9k times · Source

Hi I am new to jhipster. I could get the default project working fine and it is very good. What I want to change is the default bootstrap theme.
I have already tried

bower install flat-admin-bootstrap-templates --save

but somehow it does not change anything.

I tried bootswatch as well, but I am not sure how to keep one theme always selected by default. I am sure i can do this by changing code. But i am sure there is another easier way.

Could someone throw some light. How do i change the default theme?

Answer

Gaël Marziou picture Gaël Marziou · May 28, 2016

As of JHipster 6, Bootswatch theme selection is included in questions when generating a new project: 'Would you like to use a Bootswatch theme (https://bootswatch.com/)?'

For older versions, try one of the themes available in JHipster's module market.

You can also read this tip about bootswatch which is no longer valid for JHipster 3.x but give you an idea of the steps that are executed by the modules above.