From a8f20cb0df79bea20f9b64a271803fc3e87b35ea Mon Sep 17 00:00:00 2001 From: Aloshi Date: Tue, 14 Aug 2012 08:31:38 -0500 Subject: [PATCH] Fixed THEMES.md formatting (again!). --- THEMES.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/THEMES.md b/THEMES.md index cb3b0c98b..0189cf2fb 100644 --- a/THEMES.md +++ b/THEMES.md @@ -33,7 +33,7 @@ All themes must be enclosed in a `` tag. Components ========== -A theme is made up of components, which have various types. At the moment, the only type is `image`. Components can be nested for your own organization. In the future, you may be able to get data from a parent. +A theme is made up of components, which have various types. At the moment, the only type is `image`. Components can be nested for your own organization. Components are rendered in the order they are defined - that means you'll want to define the background first, a header image second, etc. The "image" component @@ -42,12 +42,11 @@ Used to display an image. `` - path to the image file. Most common file types are supported, and . and ~ are properly expanded. -`` - the position, as two screen percentage, at which to display the image. +`` - the position, as two screen percentages, at which to display the image. `` - the dimensions, as two screen percentages, that the image will be resized to. Make one axis 0 to keep the aspect ratio. -`` - the point on the image that defines, as an image percentage. "0.5 0.5", the center of the image, by default. - +`` - the point on the image that `` defines, as an image percentage. "0.5 0.5", the center of the image, by default. `` - if present, the image is tiled instead of resized. Tiling isn't exact at the moment, but good enough for backgrounds. @@ -79,7 +78,15 @@ List of variables Variables can be used in position and dimension definitions. They can be added, subtracted, multiplied, and divided. Parenthesis are valid. They are a percentage of the screen. `$headerHeight` - height of the system name header. + `$infoWidth` - where the center of the horizontal divider is drawn. + +Bugs +==== + +Hexidecimal colors might be read in backwards. Woops. I'll get around to fixing this eventually. + + -Aloshi http://www.aloshi.com