summaryrefslogtreecommitdiff
path: root/lib/tpl/default/style.ini
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-10-30 20:33:21 +0100
committerAndreas Gohr <andi@splitbrain.org>2005-10-30 20:33:21 +0100
commit6e69c1ba2d33f6a576534fc6d05a66cb1554c7d0 (patch)
tree21f7f84f2d3964d66684b070d77ef9b403b3da50 /lib/tpl/default/style.ini
parent1c2d1019f48fa6b2dbc154f7534341ad0869a5d7 (diff)
downloadrpg-6e69c1ba2d33f6a576534fc6d05a66cb1554c7d0.tar.gz
rpg-6e69c1ba2d33f6a576534fc6d05a66cb1554c7d0.tar.bz2
CSS replacement support
Template authors now can use placeholders in their stylesheets which will be replaced by the central CSS dispatcher. Placeholders and their replacements are defined in a style.ini file in the Template directory. This makes changing a colorset very easy. darcs-hash:20051030193321-7ad00-bc66f405fd2e2b18cfcc5dc28feef04671eb6558.gz
Diffstat (limited to 'lib/tpl/default/style.ini')
-rw-r--r--lib/tpl/default/style.ini28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/tpl/default/style.ini b/lib/tpl/default/style.ini
new file mode 100644
index 000000000..f5f10d0a4
--- /dev/null
+++ b/lib/tpl/default/style.ini
@@ -0,0 +1,28 @@
+; This file is used to configure some placeholder values used in
+; the stylesheets. Changing this file is the simplest method to
+; give your wiki a new look.
+;
+; Please see http://www.php.net/manual/en/function.parse-ini-file.php
+; for limitations of the ini format used here
+
+; various shades of gray, mainly used for backgrounds and texts
+__white__ = "#fff"
+__lightgray__ = "#f5f5f5"
+__mediumgray__ = "#ccc"
+__darkgray__ = "#666"
+__black__ = "#000"
+
+; these are the shades of blue
+__lighter__ = "#f7f9fa"
+__light__ = "#eef3f8"
+__medium__ = "#dee7ec"
+__dark__ = "#8cacbb"
+__darker__ = "#638c9c"
+
+; these are used for links
+__extern__ = "#436976"
+__existing__ = "#090"
+__missing__ = "#f30"
+
+; highlighting search snippets
+__highlight__ = "#ff9"