Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade a custom jQuery UI theme?

I created 2 custom themes with themeroller for JQuery UI 1.7 with themeroller. Now that I update to jQuery UI 1.8.5, I want to make sure that also my themes are updated. How can I automatically re-generate/update my custom themes with themeroller?

like image 359
fbuchinger Avatar asked Sep 27 '10 09:09

fbuchinger


People also ask

What is difference between jQuery and jQuery UI?

JQuery is basically the base of JQuery UI and is the more powerful between the two. It should be used for more advanced work that requires custom code and interactions. For basic user interface needs, using the JQuery UI is very beneficial as it reduces the complexity of coding and speeds up the entire process.

What is jQuery UI custom?

jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.


2 Answers

The jQuery UI theme css file includes an edit link in its comments. This link opens Themeroller with the settings of your custom theme.

  /* * jQuery UI CSS Framework * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Segoe%20UI,%20Arial,%[...]*/ 
like image 104
fbuchinger Avatar answered Sep 20 '22 11:09

fbuchinger


To add to fbuchinger's answer, this didn't work for me at first - one of the colours came through invalid, so the page did not display the theme properly and I was unable to download it.

If you have the same problem, check there is nothing highlighted red (error), correct as required and it should be OK.

And yes I know this would be better as a comment, but I don't have the required 50 reputation to comment.

like image 39
GGG Avatar answered Sep 18 '22 11:09

GGG