From ff9356bc2c6a4cf17b2476331afff7ef2834882a Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Tue, 29 Oct 2013 09:53:55 -0700 Subject: [PATCH] Begin talking about Theme Variables --- docs/your-first-package.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/your-first-package.md b/docs/your-first-package.md index 09c0870d2..7eb95f518 100644 --- a/docs/your-first-package.md +++ b/docs/your-first-package.md @@ -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