From 41973582812ba98373908cb59337f191a883b708 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 19 Apr 2012 10:12:29 +0200 Subject: [PATCH] Added dynamic stylesheet tiddlers --- tiddlywiki5/shadows/tiddlycss/BaseColour.tid | 4 ++++ tiddlywiki5/shadows/tiddlycss/StyleSheet.tid | 6 ++++++ tiddlywiki5/tiddlywiki5.recipe | 1 + 3 files changed, 11 insertions(+) create mode 100644 tiddlywiki5/shadows/tiddlycss/BaseColour.tid create mode 100644 tiddlywiki5/shadows/tiddlycss/StyleSheet.tid diff --git a/tiddlywiki5/shadows/tiddlycss/BaseColour.tid b/tiddlywiki5/shadows/tiddlycss/BaseColour.tid new file mode 100644 index 000000000..e5bf58b96 --- /dev/null +++ b/tiddlywiki5/shadows/tiddlycss/BaseColour.tid @@ -0,0 +1,4 @@ +title: BaseColour +type: text/plain + +#ffe8d8 \ No newline at end of file diff --git a/tiddlywiki5/shadows/tiddlycss/StyleSheet.tid b/tiddlywiki5/shadows/tiddlycss/StyleSheet.tid new file mode 100644 index 000000000..e95a65f5f --- /dev/null +++ b/tiddlywiki5/shadows/tiddlycss/StyleSheet.tid @@ -0,0 +1,6 @@ +title: StyleSheet +type: text/x-tiddlywiki-css + +body { + background-color: [[BaseColour]]; +} \ No newline at end of file diff --git a/tiddlywiki5/tiddlywiki5.recipe b/tiddlywiki5/tiddlywiki5.recipe index b63985d8d..eb90bfd51 100644 --- a/tiddlywiki5/tiddlywiki5.recipe +++ b/tiddlywiki5/tiddlywiki5.recipe @@ -5,6 +5,7 @@ style: shadows/css/*.css shadow: shadows/*.tid shadow: shadows/templates/*.tid +shadow: shadows/tiddlycss/*.tid #tiddler: http://wikitext.tiddlyspace.com/fractalveg.jpg # type: image/jpeg