Fossil SCM
Document the "pikchr-foreground:" setting in the details.txt file of skins.
Commit
75668f4895f0afe501c2ce6e52d5e99bf8388f0310344819d9e57ec6049b592e
Parent
ed7c2c1b685c816…
1 file changed
+10
-2
+10
-2
| --- www/customskin.md | ||
| +++ www/customskin.md | ||
| @@ -169,22 +169,30 @@ | ||
| 169 | 169 | <p>The details.txt file is short list of settings that control |
| 170 | 170 | the look and feel, mostly of the timeline. The default |
| 171 | 171 | details.txt file looks like this: |
| 172 | 172 | |
| 173 | 173 | <blockquote><pre> |
| 174 | +pikchr-foreground: "" | |
| 174 | 175 | timeline-arrowheads: 1 |
| 175 | 176 | timeline-circle-nodes: 1 |
| 176 | 177 | timeline-color-graph-lines: 1 |
| 177 | 178 | white-foreground: 0 |
| 178 | 179 | </pre></blockquote> |
| 179 | 180 | |
| 180 | -The first three setings in details.txt control the appearance | |
| 181 | +The three "timeline-" settings in details.txt control the appearance | |
| 181 | 182 | of certain aspects of the timeline graph. The number on the |
| 182 | 183 | right is a boolean - "1" to activate the feature and "0" to |
| 183 | 184 | disable it. The "white-foreground:" setting should be set to |
| 184 | 185 | "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> | |
| 186 | 194 | |
| 187 | 195 | <dt><b>footer.txt</b> and <b>header.txt</b></dt><dd> |
| 188 | 196 | |
| 189 | 197 | <p>The footer.txt and header.txt files contain the Content Footer |
| 190 | 198 | and Content Header respectively. Of these, the Content Header is |
| 191 | 199 |
| --- 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 |