Begin talking about Theme Variables

This commit is contained in:
Garen Torikian 2013-10-29 09:53:55 -07:00 committed by Ben Ogle
parent b523decc7e
commit ff9356bc2c

View File

@ -281,8 +281,16 @@ else
rootView.vertical.append(this)
```
## Coloring UI Elements
For packages that create new UI elements, adhering to the style guide is just one
part to keeping visual consistency. Packages dealing with color, padding, margins,
and other spatial cues should rely on [Theme Variables][theme-vars], instead of
rolling their own CSS. Theme
[bundled-libs]: ../creating-a-package.html#included-libraries
[styleguide]: https://github.com/atom/styleguide
[space-pen]: https://github.com/atom/space-pen
[node]: http://nodejs.org/
[path]: http://nodejs.org/docs/latest/api/path.html
[theme-vars]: ../theme-variables.html