From 1b3929a4db0b7ad33f506cd188f63818e4a1066d Mon Sep 17 00:00:00 2001
From: Donielle Berg
Date: Sat, 19 Mar 2016 19:04:03 -0700
Subject: [PATCH 1/8] Add alt text to images in Components & Docs
Changed files in `src/` this time.
---
src/components/articles/title-text-image.html | 2 +-
src/components/collections/product-card.html | 2 +-
src/components/headers/circle-avatar-title-subtitle.html | 2 +-
src/components/headers/rounded-avatar-title-subtitle.html | 2 +-
src/components/layout/four-column-collapse-two.html | 8 ++++----
src/templates/docs/floats/index.html | 2 +-
src/templates/docs/images/index.html | 8 ++++----
7 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/components/articles/title-text-image.html b/src/components/articles/title-text-image.html
index b54402146..94b7dbcb8 100644
--- a/src/components/articles/title-text-image.html
+++ b/src/components/articles/title-text-image.html
@@ -3,7 +3,7 @@
}}}
Title Text with Image
-
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
diff --git a/src/components/collections/product-card.html b/src/components/collections/product-card.html
index a414a5bb6..67a35a333 100644
--- a/src/components/collections/product-card.html
+++ b/src/components/collections/product-card.html
@@ -2,7 +2,7 @@
"bodyClass" : "bg-white"
}}}
-
+
diff --git a/src/components/headers/circle-avatar-title-subtitle.html b/src/components/headers/circle-avatar-title-subtitle.html
index df22f87fc..b63c91975 100644
--- a/src/components/headers/circle-avatar-title-subtitle.html
+++ b/src/components/headers/circle-avatar-title-subtitle.html
@@ -2,7 +2,7 @@
"bodyClass" : "bg-white"
}}}
-
+
Jasper Whitehouse
Los Angeles
diff --git a/src/components/headers/rounded-avatar-title-subtitle.html b/src/components/headers/rounded-avatar-title-subtitle.html
index 7e44d367e..22914c0c9 100644
--- a/src/components/headers/rounded-avatar-title-subtitle.html
+++ b/src/components/headers/rounded-avatar-title-subtitle.html
@@ -2,7 +2,7 @@
"bodyClass" : "bg-white"
}}}
-
+
Jasper Whitehouse
Los Angeles
diff --git a/src/components/layout/four-column-collapse-two.html b/src/components/layout/four-column-collapse-two.html
index 920329f0a..8f9c43284 100644
--- a/src/components/layout/four-column-collapse-two.html
+++ b/src/components/layout/four-column-collapse-two.html
@@ -2,10 +2,10 @@
"bodyClass" : "bg-white"
}}}
diff --git a/src/templates/docs/floats/index.html b/src/templates/docs/floats/index.html
index af755eeed..08b1ffe15 100644
--- a/src/templates/docs/floats/index.html
+++ b/src/templates/docs/floats/index.html
@@ -62,7 +62,7 @@
Float None
Float With Images
Originally floats were used to wrap text around images as in the example below.
-

+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
diff --git a/src/templates/docs/images/index.html b/src/templates/docs/images/index.html
index 8a7cb47f6..6a18f5ef8 100644
--- a/src/templates/docs/images/index.html
+++ b/src/templates/docs/images/index.html
@@ -20,12 +20,12 @@
Image
This photo is more than 3000 pixels wide. The width is set to 100% to ensure it doesn't bleed off the viewport and always fills its container. In some situations, this will make the image stretch to be larger than it's actual width. To avoid the image stretching past it's width, set max-width instead.
-
<img src="/img/over-canvas.jpg" class="w-100">
-

+
<img src="/img/over-canvas.jpg" class="w-100" alt="night sky over land">
+
The image below is 720 pixels wide, it will fill it's container until the container is wider than 720 pixels.
- <img src="/img/under-canvas.jpg" class="mw-100">
-
+ <img src="/img/under-canvas.jpg" class="mw-100" alt="night sky over water">
+
Previous
From de08a5ef2612f7dd051224cce3ae293407f4d5ca Mon Sep 17 00:00:00 2001
From: Donielle Berg
Date: Tue, 22 Mar 2016 14:50:22 -0700
Subject: [PATCH 2/8] Make code snippets in src/templates/docs/ consistent
* all code tags have class `code` and `font-size: .75rem`
* change measure code snippet to have same light gray background as
other doc pages
---
src/templates/docs/borders/index.html | 2 +-
src/templates/docs/debug/index.html | 4 ++--
src/templates/docs/measure/index.html | 2 +-
src/templates/docs/position/index.html | 4 ++--
src/templates/docs/spacing/index.html | 2 +-
src/templates/docs/text-transform/index.html | 2 +-
src/templates/docs/tracking/index.html | 2 +-
src/templates/docs/vertical-align/index.html | 2 +-
8 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/templates/docs/borders/index.html b/src/templates/docs/borders/index.html
index a0a546dae..c119692af 100644
--- a/src/templates/docs/borders/index.html
+++ b/src/templates/docs/borders/index.html
@@ -370,7 +370,7 @@ Reference
src/_borders.css
-
+
/*
BORDER BASE
diff --git a/src/templates/docs/debug/index.html b/src/templates/docs/debug/index.html
index 89cfd5a37..f2a83ea66 100644
--- a/src/templates/docs/debug/index.html
+++ b/src/templates/docs/debug/index.html
@@ -263,7 +263,7 @@ Reference
src/_debug-children.css
-
+
/*
DEBUG CHILDREN
@@ -280,7 +280,7 @@ Reference
src/_debug.css
-
+
<%= srcCSS %>
diff --git a/src/templates/docs/measure/index.html b/src/templates/docs/measure/index.html
index f0378ea6a..48b9a0c7a 100644
--- a/src/templates/docs/measure/index.html
+++ b/src/templates/docs/measure/index.html
@@ -212,7 +212,7 @@ Reference
Choose a Comfortable Measure
-
+
diff --git a/src/templates/docs/position/index.html b/src/templates/docs/position/index.html
index 28b083bde..f8f1d20e0 100644
--- a/src/templates/docs/position/index.html
+++ b/src/templates/docs/position/index.html
@@ -117,7 +117,7 @@ Reference
src/_position.css
-
+
<%= srcCSS %>
@@ -125,7 +125,7 @@ Reference
src/_coordinates.css
-
+
@custom-media --breakpoint-not-small screen and (min-width: 48em);
@custom-media --breakpoint-medium screen and (min-width: 48em) and (max-width: 64em);
@custom-media --breakpoint-large screen and (min-width: 64em);
diff --git a/src/templates/docs/spacing/index.html b/src/templates/docs/spacing/index.html
index fb8d21771..350ab7fb4 100644
--- a/src/templates/docs/spacing/index.html
+++ b/src/templates/docs/spacing/index.html
@@ -195,7 +195,7 @@ Reference
src/_spacing.css
-
+
<%= srcCSS %>
diff --git a/src/templates/docs/text-transform/index.html b/src/templates/docs/text-transform/index.html
index a8758c01b..e19f0842f 100644
--- a/src/templates/docs/text-transform/index.html
+++ b/src/templates/docs/text-transform/index.html
@@ -58,7 +58,7 @@ Uppercase with tracking
src/_text-transform.css
-
+
<%= srcCSS %>
diff --git a/src/templates/docs/tracking/index.html b/src/templates/docs/tracking/index.html
index 92abfbb24..d9602cf04 100644
--- a/src/templates/docs/tracking/index.html
+++ b/src/templates/docs/tracking/index.html
@@ -75,7 +75,7 @@ Reference
src/_letter-spacing.css
-
+
<%= srcCSS %>
diff --git a/src/templates/docs/vertical-align/index.html b/src/templates/docs/vertical-align/index.html
index 90dfc1a7c..91cbf01f9 100644
--- a/src/templates/docs/vertical-align/index.html
+++ b/src/templates/docs/vertical-align/index.html
@@ -112,7 +112,7 @@ Reference
src/_vertical-align.css
-
+
<%= srcCSS %>
From ee0b6ca830f93c869d7c0cd6b39da5dc9191fd87 Mon Sep 17 00:00:00 2001
From: Donielle Berg
Date: Tue, 22 Mar 2016 16:00:01 -0700
Subject: [PATCH 3/8] Fix "Previous" and "Next" ordering on Elements &
Typography docs
---
src/templates/docs/font-family/index.html | 2 +-
src/templates/docs/font-style/index.html | 4 ++--
src/templates/docs/forms/index.html | 4 ++--
src/templates/docs/images/index.html | 4 ++--
src/templates/docs/line-height/index.html | 2 +-
src/templates/docs/links/index.html | 4 ++--
src/templates/docs/measure/index.html | 14 +++++------
src/templates/docs/text-transform/index.html | 25 ++++++++++++++++----
src/templates/docs/type-scale/index.html | 4 ++--
src/templates/docs/vertical-align/index.html | 2 +-
src/templates/docs/white-space/index.html | 4 ++--
11 files changed, 42 insertions(+), 27 deletions(-)
diff --git a/src/templates/docs/font-family/index.html b/src/templates/docs/font-family/index.html
index 9f0dadad1..83861140f 100644
--- a/src/templates/docs/font-family/index.html
+++ b/src/templates/docs/font-family/index.html
@@ -74,7 +74,7 @@ Previous
diff --git a/src/templates/docs/font-style/index.html b/src/templates/docs/font-style/index.html
index 232550f9c..f3e181a5d 100644
--- a/src/templates/docs/font-style/index.html
+++ b/src/templates/docs/font-style/index.html
@@ -58,11 +58,11 @@
Examples
diff --git a/src/templates/docs/forms/index.html b/src/templates/docs/forms/index.html
index 4832d6527..7f7d9cf3e 100644
--- a/src/templates/docs/forms/index.html
+++ b/src/templates/docs/forms/index.html
@@ -46,11 +46,11 @@
Examples
diff --git a/src/templates/docs/images/index.html b/src/templates/docs/images/index.html
index 8a7cb47f6..2c24e57e0 100644
--- a/src/templates/docs/images/index.html
+++ b/src/templates/docs/images/index.html
@@ -29,11 +29,11 @@
Image
diff --git a/src/templates/docs/line-height/index.html b/src/templates/docs/line-height/index.html
index de9ea6cd2..9dca9af34 100644
--- a/src/templates/docs/line-height/index.html
+++ b/src/templates/docs/line-height/index.html
@@ -78,7 +78,7 @@
Solid Leading (1)
Next
diff --git a/src/templates/docs/links/index.html b/src/templates/docs/links/index.html
index f95a64151..f9f6e11b3 100644
--- a/src/templates/docs/links/index.html
+++ b/src/templates/docs/links/index.html
@@ -54,11 +54,11 @@
Examples
diff --git a/src/templates/docs/measure/index.html b/src/templates/docs/measure/index.html
index 48b9a0c7a..9ea4f0776 100644
--- a/src/templates/docs/measure/index.html
+++ b/src/templates/docs/measure/index.html
@@ -198,18 +198,18 @@
Truncation
diff --git a/src/templates/docs/text-transform/index.html b/src/templates/docs/text-transform/index.html
index e19f0842f..0b6cc3627 100644
--- a/src/templates/docs/text-transform/index.html
+++ b/src/templates/docs/text-transform/index.html
@@ -52,7 +52,22 @@ TEXT Transform none
.ttn
Uppercase with tracking
.ttu tracked
+
+
+
src/_text-transform.css
@@ -62,10 +77,10 @@ Uppercase with tracking
<%= srcCSS %>
-
- <%= navDocs %>
-
- <%= siteFooter %>
- <%= googleAnalytics %>
+
+<%= navDocs %>
+
+<%= siteFooter %>
+<%= googleAnalytics %>