I’m designing an application that’d require different themes. By ‘theme’ I mean the colors and logo. Is using jQuery themeroller the only option or is there any easier solution to generate themes by providing colors and images?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A simple solution is to give the body (or a div that wraps everything) a css class to indicate the theme.
Then you can specify colours and background images based on theme class.
For example
You could put theme1 and theme2 definitions in separate files if you so wish.
Doing it this way means the theme can be swapped using client-side javascript just by changing the body’s class.