diff --git a/plugins/tiddlywiki/railroad/files/railroad-diagrams.css b/plugins/tiddlywiki/railroad/files/railroad-diagrams.css index 20c720a50..b7bc23f28 100644 --- a/plugins/tiddlywiki/railroad/files/railroad-diagrams.css +++ b/plugins/tiddlywiki/railroad/files/railroad-diagrams.css @@ -1,25 +1,31 @@ +\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock + /* CSS modified for TiddlyWiki */ + svg.railroad-diagram { - background-color: hsl(30,20%,98%); + background-color: <>; border-radius: 5px; } +/* svg.railroad-diagram:hover { background-color: hsl(30,20%,96%); } +*/ svg.railroad-diagram path, svg.railroad-diagram rect { stroke-width: 2; - stroke: #333; + stroke: <>; } svg.railroad-diagram path { - fill: rgba(0,0,0,0); + fill: <>; } svg.railroad-diagram rect { - fill: hsl(120,100%,90%); + fill: <>; } svg.railroad-diagram text { font: 14px monospace; text-anchor: middle; + fill: <>; } svg.railroad-diagram text.label { text-anchor: start; diff --git a/plugins/tiddlywiki/railroad/files/tiddlywiki.files b/plugins/tiddlywiki/railroad/files/tiddlywiki.files index f479f394d..3a25325e5 100644 --- a/plugins/tiddlywiki/railroad/files/tiddlywiki.files +++ b/plugins/tiddlywiki/railroad/files/tiddlywiki.files @@ -3,7 +3,7 @@ { "file": "railroad-diagrams.css", "fields": { - "type": "text/css", + "type": "text/vnd.tiddlywiki", "title": "$:/plugins/tiddlywiki/railroad/railroad-diagrams.css", "tags": "$:/tags/Stylesheet" }