ThemeRoller is the most favorable web application developed for jQuery user interface. This application allows us to get our own theme of interest. This attractive web tool is developed by Filament Group.
For getting used of this application, jQuery provides interface shows pre-designed themes gallery could be downloaded as it is. Otherwise, we can select one of them to make changes, if needed. This application will be used for jQuery UI widgets.
We have seen about CSS, how it is used in web page design. But, jQuery Themeroller application will greatly reduce the time to develop a web page from scratch. Not only time but also used to reduce the burden in layout design.
In this article, let us see the following list of items.
In jQuery UI section we can found ThemeRoller interface for getting required theme. With this interface, it provides three tabs, Roll Your Own, Gallery and Help tab, on its left panel.
Roll Your Own handles set of options to be configured with UI. And, Gallery shows a list of pre-rolled themes to be downloaded without any custom changes. And then, Help tab is to show help notes to work with this application.
From the left panel of ThemeRoller UI, as shown in above two screenshots, we can pick required theme using Gallery, and apply changes to this theme by using Roll Your Own.
In this step, we can change the styles to change the theme with our own selected preferences. These changes will create effects on the default styles of displaying user interaction states like, normal, hover and active states. Not only interaction styles but also we can change global theme settings to control common font-related styles and etc.
Implementing changes based on the user selected preferences is a very big challenge, and ThemeRoller implements this by dynamically created CSS which is capable of updating via the use of some server-side languages, like PHP.
On the other hand, we can dynamically import custom patterns, texture by using this application. All such changes will be shown in preview with the right side tile of the jQuery ThemeRoller interface, as shown below for example.
Once, we have selected our own favorite theme from the gallery and made changes on a need basis, we can download by using Download button provided with Roll Your Own tab. It will redirect us to the Download Builder page, where we can prefer with some selected user interface control features, before downloading.
For integrating ThemeRoller for our website, we need to import the following files into the head portion, after ensuring all such files are copied into our website directory.
<link href="css/sunny/jquery-ui-1.10.3.custom.css" rel="stylesheet"> <script src="js/jquery-1.9.1.js"></script> <script src="js/jquery-ui-1.10.3.custom.js"></script>
After that, there will be a sample HTML file index.html for reference to learn how to obtain ThemeRoller effect with our own UI components.
This jQuery code tutorial was published on August 19, 2013.