mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-08 13:56:07 +00:00
Deprecate $:/tags/stylesheet
in favour of $:/tags/Stylesheet
A warning message appears at the top of the story river if any `$:/tags/stylesheet` tags are found. Fixing the first half of #824
This commit is contained in:
@@ -14,6 +14,6 @@ To add this plugin to your own TiddlyWiki5, just drag this link to the browser w
|
||||
|
||||
! Adding Themes
|
||||
|
||||
You can add themes from highlight.js by copying the CSS to a new tiddler and tagging it with [[$:/tags/stylesheet]]. The available themes can be found on GitHub:
|
||||
You can add themes from highlight.js by copying the CSS to a new tiddler and tagging it with [[$:/tags/Stylesheet]]. The available themes can be found on GitHub:
|
||||
|
||||
https://github.com/isagalaev/highlight.js/tree/master/src/styles
|
||||
|
@@ -31,7 +31,7 @@ These are the available system tags
|
||||
* {{$:/tags/Palette||$:/core/ui/TagTemplate}} for colour palettes
|
||||
* {{$:/tags/RawMarkup||$:/core/ui/TagTemplate}} for raw markup to be included in the generated HTML file
|
||||
* {{$:/tags/SideBar||$:/core/ui/TagTemplate}} for sidebar tabs
|
||||
* {{$:/tags/stylesheet||$:/core/ui/TagTemplate}} to indicate that a tiddler should be applied as a CSS stylesheet
|
||||
* {{$:/tags/Stylesheet||$:/core/ui/TagTemplate}} to indicate that a tiddler should be applied as a CSS stylesheet
|
||||
* {{$:/tags/TiddlerInfo||$:/core/ui/TagTemplate}} for tiddler info panel tabs
|
||||
* {{$:/tags/TiddlerInfo/Advanced||$:/core/ui/TagTemplate}} for tabs under the advanced tiddler tab
|
||||
* {{$:/tags/TopLeftBar||$:/core/ui/TagTemplate}} for the top left bar
|
||||
|
@@ -20,7 +20,7 @@ The system tiddlers provided as part of the core are named according to the foll
|
||||
|`$:/plugins/*` |lowercase |Plugin tiddlers, and plugin content |
|
||||
|`$:/snippets/*` |//inconsistent// |Reusable snippets (will be replaced by macros) |
|
||||
|`$:/state/*` |lowercase |User interface state tiddlers |
|
||||
|`$:/tags/*` |~CamelCase |User interface configuration tags (currently `$:/tags/stylesheet` is inconsistent) |
|
||||
|`$:/tags/*` |~CamelCase |User interface configuration tags |
|
||||
|`$:/temp/*` |lowercase |Temporary tiddlers that shouldn't be saved |
|
||||
|`$:/themes/*` |lowercase |Theme plugins |
|
||||
|
||||
|
@@ -6,7 +6,7 @@ type: text/vnd.tiddlywiki
|
||||
|
||||
The usual way of modifying the appearance of a TiddlyWiki is to use one of the available themes, or to modify the [[colour palette|ColourPalettes]].
|
||||
|
||||
You can also use custom CSS stylesheets by tagging tiddlers with `$:/tags/stylesheet`. For example, create a tiddler with the tag `$:/tags/stylesheet` and the following content in order to change the page background colour to red:
|
||||
You can also use custom CSS stylesheets by tagging tiddlers with `$:/tags/Stylesheet`. For example, create a tiddler with the tag `$:/tags/Stylesheet` and the following content in order to change the page background colour to red:
|
||||
|
||||
```
|
||||
html body.tc-body {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
title: $:/_tw5.com-styles
|
||||
tags: $:/tags/stylesheet
|
||||
tags: $:/tags/Stylesheet
|
||||
|
||||
@media (min-width: 600px) {
|
||||
|
||||
|
Reference in New Issue
Block a user