Fossil SCM

Document the "pikchr-foreground:" setting in the details.txt file of skins.

drh 2020-11-11 18:23 trunk
Commit 75668f4895f0afe501c2ce6e52d5e99bf8388f0310344819d9e57ec6049b592e
1 file changed +10 -2
--- www/customskin.md
+++ www/customskin.md
@@ -169,22 +169,30 @@
169169
<p>The details.txt file is short list of settings that control
170170
the look and feel, mostly of the timeline. The default
171171
details.txt file looks like this:
172172
173173
<blockquote><pre>
174
+pikchr-foreground: ""
174175
timeline-arrowheads: 1
175176
timeline-circle-nodes: 1
176177
timeline-color-graph-lines: 1
177178
white-foreground: 0
178179
</pre></blockquote>
179180
180
-The first three setings in details.txt control the appearance
181
+The three "timeline-" settings in details.txt control the appearance
181182
of certain aspects of the timeline graph. The number on the
182183
right is a boolean - "1" to activate the feature and "0" to
183184
disable it. The "white-foreground:" setting should be set to
184185
"1" if the page color has light-color text on a darker background,
185
-and "0" if the page has dark text on a light-colored background.</dd>
186
+and "0" if the page has dark text on a light-colored background.
187
+<p>
188
+If the "pikchr-foreground" setting (only available in Fossil 2.14 and
189
+later) is defined and is not an empty string then it specifies a
190
+foreground color to use for [pikchr diagrams](./pikchr.md). The
191
+default pikchr foreground color is black, or white if the
192
+"white-foreground" boolean is set.
193
+</dd>
186194
187195
<dt><b>footer.txt</b> and <b>header.txt</b></dt><dd>
188196
189197
<p>The footer.txt and header.txt files contain the Content Footer
190198
and Content Header respectively. Of these, the Content Header is
191199
--- www/customskin.md
+++ www/customskin.md
@@ -169,22 +169,30 @@
169 <p>The details.txt file is short list of settings that control
170 the look and feel, mostly of the timeline. The default
171 details.txt file looks like this:
172
173 <blockquote><pre>
 
174 timeline-arrowheads: 1
175 timeline-circle-nodes: 1
176 timeline-color-graph-lines: 1
177 white-foreground: 0
178 </pre></blockquote>
179
180 The first three setings in details.txt control the appearance
181 of certain aspects of the timeline graph. The number on the
182 right is a boolean - "1" to activate the feature and "0" to
183 disable it. The "white-foreground:" setting should be set to
184 "1" if the page color has light-color text on a darker background,
185 and "0" if the page has dark text on a light-colored background.</dd>
 
 
 
 
 
 
 
186
187 <dt><b>footer.txt</b> and <b>header.txt</b></dt><dd>
188
189 <p>The footer.txt and header.txt files contain the Content Footer
190 and Content Header respectively. Of these, the Content Header is
191
--- www/customskin.md
+++ www/customskin.md
@@ -169,22 +169,30 @@
169 <p>The details.txt file is short list of settings that control
170 the look and feel, mostly of the timeline. The default
171 details.txt file looks like this:
172
173 <blockquote><pre>
174 pikchr-foreground: ""
175 timeline-arrowheads: 1
176 timeline-circle-nodes: 1
177 timeline-color-graph-lines: 1
178 white-foreground: 0
179 </pre></blockquote>
180
181 The three "timeline-" settings in details.txt control the appearance
182 of certain aspects of the timeline graph. The number on the
183 right is a boolean - "1" to activate the feature and "0" to
184 disable it. The "white-foreground:" setting should be set to
185 "1" if the page color has light-color text on a darker background,
186 and "0" if the page has dark text on a light-colored background.
187 <p>
188 If the "pikchr-foreground" setting (only available in Fossil 2.14 and
189 later) is defined and is not an empty string then it specifies a
190 foreground color to use for [pikchr diagrams](./pikchr.md). The
191 default pikchr foreground color is black, or white if the
192 "white-foreground" boolean is set.
193 </dd>
194
195 <dt><b>footer.txt</b> and <b>header.txt</b></dt><dd>
196
197 <p>The footer.txt and header.txt files contain the Content Footer
198 and Content Header respectively. Of these, the Content Header is
199

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button