git.iko.soy/typeable/elm-ui
on master help sign in
Change References to Area -> Region
892c646Alexander Trefz
CHANGES-FROM-STYLE-ELEMENTS.md+5−5
@@ -54,16 +54,16 @@ My current thinking is that you have 2 really powerful methods of capturing your
542. **Capture your colors, font sizes, etc.** Create a `Style` module that captures the **values** you use for your styling. Keep your colors there, as well as values for spacing, font names, and font sizes all in one place. You should consider using a scaling function for things like spacing and fontsizes.
542. **Capture your colors, font sizes, etc.** Create a `Style` module that captures the **values** you use for your styling. Keep your colors there, as well as values for spacing, font names, and font sizes all in one place. You should consider using a scaling function for things like spacing and fontsizes.
55
55
56
56
57−## Element.Area
57+## Element.Region
58
58
59−The `Element.Area` module is now how you can do accessibility markup.
59+The `Element.Region` module is now how you can do accessibility markup.
60
60
61You can do this by adding an area notation to an element's attributes.
61You can do this by adding an area notation to an element's attributes.
62
62
63```elm
63```elm
64−import Element.Area as Area
64+import Element.Region as Region
65
65
66−row [ Area.navigation ]
66+row [ Region.navigation ]
67 [ --..my navigation links
67 [ --..my navigation links
68 ]
68 ]
69
69
@@ -71,7 +71,7 @@ row [ Area.navigation ]
71Or you can make something an `<h1>`
71Or you can make something an `<h1>`
72
72
73```
73```
74−el [ Area.heading 1 ] (text "Super important stuff")
74+el [ Region.heading 1 ] (text "Super important stuff")
75
75
76```
76```
77
77