From 362cab5343f828d9b84fb69f660c6524098a4fdd Mon Sep 17 00:00:00 2001 From: Maurice Gottlieb Date: Mon, 26 Sep 2011 01:29:41 +0300 Subject: [PATCH] correct typos and use consistent titling "Theming buttons" --- docs/buttons/buttons-themes.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/buttons/buttons-themes.html b/docs/buttons/buttons-themes.html index f28d39fa9be..4d808a8a3f3 100644 --- a/docs/buttons/buttons-themes.html +++ b/docs/buttons/buttons-themes.html @@ -3,7 +3,7 @@ - jQuery Mobile Docs - Button Theming + jQuery Mobile Docs - Theming buttons @@ -23,9 +23,9 @@

Theming buttons

-

Theming

+

Theming buttons

-

jQuery Mobile has a rich theming system that gives you full control of how buttons are styled. When a link is added to a container, it is automatically assigned a theme swatch letter that matches it's parent bar or content box to visually integrate the button into the parent container, like a chameleon. So a button placed inside a content container with a theme of "a" (black in the default theme) will be automatically assigned the button theme of "a" (charcoal in the default theme). Here are examples of the button theme pairings in the default theme. All buttons have the same HTML markup:

+

jQuery Mobile has a rich theming system that gives you full control of how buttons are styled. When a link is added to a container, it is automatically assigned a theme swatch letter that matches its parent bar or content box to visually integrate the button into the parent container, like a chameleon. So a button placed inside a content container with a theme of "a" (black in the default theme) will be automatically assigned the button theme of "a" (charcoal in the default theme). Here are examples of the button theme pairings in the default theme. All buttons have the same HTML markup:

A swatch

Button

B swatch

Button
@@ -34,13 +34,13 @@

Theming

E swatch

Button

Assigning theme swatches

-

Button can be manually assigned any of the button color swatches from the theme to add visual contrast with the container they sit inside by adding the data-theme attribute on the button markup and specifying a swatch letter.

+

Buttons can be manually assigned any of the button color swatches from the theme to add visual contrast with the container they sit inside by adding the data-theme attribute on the button markup and specifying a swatch letter.

			
 <a href="index.html" data-role="button" data-theme="a">Theme a</a>			
 
-

Here are 4 buttons with icons that have a different swatch letter assigned via the data-theme attribute.

+

Here are 5 buttons with icons that have a different swatch letter assigned via the data-theme attribute.

Theme a Theme b