jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.47k stars 4.02k forks source link

Feature Request: Bootswatch themes #1526

Closed deepu105 closed 9 years ago

deepu105 commented 9 years ago

Will any one be interested in having a default theme switcher on the generated app using bootswatch.

If so I can submit a PR, I have done a small directive to mimic the below function, I can integrate the same into the footer section of the generated app, so that there is a select element to choose from the list of available bootswatch themes, with the original bootstrap theme as fall back

Might not be much value once you get started fixing a theme, but will be nice to play for those who wanna try out some themes before fixing one right out of box in the generated app

http://jsbin.com/rabij/1/edit?html,js,output

jdubois commented 9 years ago

Yes that was my original idea at the very beginning of the project -> it's just lack of time if I didn't do it. So yes if you have something working that would be great.

deepu105 commented 9 years ago

:+1: will cleanup and do a PR

deepu105 commented 9 years ago

Hi Guys, Added bootswatch support how does it look, theme can be switched directly from the menu

cyborg

image

Flatly

image

deepu105 commented 9 years ago

more screenshots

image

image

image

image

image

gzsombor commented 9 years ago

:+1:

PeterEltgroth commented 9 years ago

:+1:

atomfrede commented 9 years ago

Great work!

piedrahitac commented 9 years ago

Looking good!

I have a question, though... Should this be optional or not?

deepu105 commented 9 years ago

@piedrahitac not sure if its worth adding as an option all together, we were discussing about having it as a dev profile only option here https://github.com/jhipster/generator-jhipster/pull/1529

Im trying to see how to fix token auth issue and also a better way to have the theme menu, may be as a footer menu or a floating side menu

deepu105 commented 9 years ago

changed to fix x-auth issue and moved theme switcher to footer

image

moifort commented 9 years ago

:+1:

Jacek-Kurasiewicz commented 9 years ago

:+1:

MrSandstrom commented 9 years ago

:thumbsup:

deepu105 commented 9 years ago

need to write this as a tip, but this is low priority for now

tejaswibm-roposo commented 2 years ago

@deepu105 - is this theme switcher available for react ?? Could you point to resources that can help me to create a switcher ?

deepu105 commented 2 years ago

This is very old issue JHipster by default allows theme selection during code generation. You can port the theme switcher code from the bootswatch module easily as well

Thanks & Regards, Deepu

On Tue, Mar 15, 2022 at 8:50 PM tejaswibm-roposo @.***> wrote:

@deepu105 https://github.com/deepu105 - is this theme switcher available for react ?? Could you point to resources that can help me to create a switcher ?

— Reply to this email directly, view it on GitHub https://github.com/jhipster/generator-jhipster/issues/1526#issuecomment-1068113101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIOKF22ASFOX57VCECF5D3VACTC5ANCNFSM4BFCB3AQ . You are receiving this because you were mentioned.Message ID: @.***>