List themes

Assigning theme swatches to lists

All the standard button swatches can be applied to lists. Here is an example of the default list theme "c" (silver in the default theme) with default divider swatch "b" (blue in default theme).

<ul data-role="listview" data-inset="true">

The list item color scheme can be changed to any button color theme swatch by adding the data-theme attribute to the list, and setting the letter theme swatch. Here is the same list above with the "a" swatch applied.

<ul data-role="listview" data-inset="true" data-theme="a">

Theming dividers

The theme for list dividers can be set by adding the data-dividertheme to the list and specifying a swatch letter. Here is an example of the same list above with swatch "d" set on the dividers.

<ul data-role="listview" data-inset="true" data-theme="a" data-dividertheme="d">

Theming count bubbles

The theme for count bubbles can be set by adding the data-counttheme to the list and specifying a swatch letter. Here is an example with swatch "e" set on the dividers.

<ul data-role="listview" data-inset="true" data-theme="a" data-dividertheme="d" data-counttheme="e">

Examples of all basic list swatches

A swatch

B swatch

C swatch

D swatch

E swatch

Theme variations

A page, A lists, D dividers

B page, C lists, D dividers

D page, C lists, E dividers