summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-12-13 18:20:09 +0100
committerDave Davenport <qball@gmpclient.org>2016-12-13 18:20:09 +0100
commit9ad56735ea24b223f2056da39202ce9ec40c4aaa (patch)
treeb83970e85064c4e5bccfc8d6cb52efcb73d2ff23
parentc6b3f21d3fc3d61546c0409695ef7a723b8a233f (diff)
Add properties description to theme format description
-rw-r--r--doc/themer.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/themer.md b/doc/themer.md
index 8440b8a5..ce97ceb8 100644
--- a/doc/themer.md
+++ b/doc/themer.md
@@ -107,3 +107,23 @@ The file is structured as follows
```
The global properties has to be at the top of the file, the rest can freeĺy be mixed.
+
+Each property is constructed like:
+```
+{key} : {value} ;
+```
+Key is a simple ascii string.
+Separated from value by a colon ':';
+Value supports the following formats:
+
+ * string: `"{string}"`
+ * integer: `[0-9]+`
+ * double: `[0-9]+\.[0-9]`
+ * boolean: `true|false`
+ * color:
+ * `#[0-9a-fA-F]{6}`: hexidecimal rgb color.
+ * `#[0-9a-fA-F]{8}`: hexidecimal argb color.
+ * `argb:[0-0a-fA-F]{8}`: Old **rofi** argb color style.
+ * `rgba\([0-9]{1,3},[0-9]{1,3}, [0-9]{1,3}, {double}\)`: css style rgba color.
+ * `rgb\([0-9]{1,3},[0-9]{1,3}, [0-9]{1,3}\)`: css style rgb color.
+Each property is closed by a semi-colon ';';