1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Tweak docs for #6268

This commit is contained in:
jeremy@jermolene.com 2021-11-25 18:00:32 +00:00
parent 6ea7140e8f
commit 6d1d497a63
3 changed files with 20 additions and 11 deletions

View File

@ -1,15 +1,9 @@
title: $:/snippets/DebugStylesheets
Broken stylesheets will have a red cross next to their name :
<style>[test]{list-style:'❌'}</style>
<ul>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Stylesheet]has[modified]]" counter=n>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Stylesheet]has[modified]]" counter="n">
<style>{{!!text}}[test="<<n>>"]{list-style:disc;}</style>
<li test=<<n>>><$link/></li>
</$list>
</ul>
Replace "list-style:disc;" by "display:none;" to only display the stylesheets with css syntax error.
These may contains [[unclosed block(s)|https://www.w3.org/TR/css-syntax-3/#consume-a-simple-block]], please review and fix them to prevent tiddlywiki's interface from malfunctioning.

View File

@ -0,0 +1,11 @@
created: 20211125175712017
modified: 20211125175906085
tags: [[Using Stylesheets]]
title: Debugging Stylesheets
type: text/vnd.tiddlywiki
The core shadow tiddler $:/snippets/DebugStylesheets contains a simple tool for tracking down certain problems with mismatched brackets and other nested structures.
In the list below, any stylesheets containing an error will be marked with a red cross:
{{$:/snippets/DebugStylesheets}}

View File

@ -1,5 +1,5 @@
created: 20140305091244145
modified: 20210104090402829
modified: 20211125175708977
tags: [[Customise TiddlyWiki]]
title: Using Stylesheets
type: text/vnd.tiddlywiki
@ -16,9 +16,9 @@ type: text/vnd.tiddlywiki
The first steps to changing the appearance of ~TiddlyWiki are to choose and apply:
* One of the available themes: <span class="tc-btn-standard"> {{$:/core/ui/Buttons/theme}} </span>
* Modify the colour palette: <span class="tc-btn-standard"> {{$:/core/ui/Buttons/palette}} </span>
* Experiment with the <$button actions=<<openCpTheme>> ><<.icon $:/core/images/options-button>> ControlPanel</$button>
* One of the available themes: {{$:/core/ui/Buttons/theme}}
* Modify the colour palette: {{$:/core/ui/Buttons/palette}}
* Experiment with the <$button actions=<<openCpTheme>> class="tc-btn-invisible"><<.icon $:/core/images/options-button>> ~ControlPanel</$button>
! Work with Stylesheets
@ -73,3 +73,7 @@ A stylesheet tiddler is processed such that it is first wikified and then the te
!! Stylesheet Macros
The ~TiddlyWiki core provides several [[global macros that are helpful in constructing stylesheets|Stylesheet Macros]].
!! See Also
* <<list-links "[tag[Using Stylesheets]]">>