mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Add a faint background to freelinks
This commit is contained in:
parent
1ed884cef4
commit
1c91f72baa
8
plugins/tiddlywiki/freelinks/styles.tid
Normal file
8
plugins/tiddlywiki/freelinks/styles.tid
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
title: $:/plugins/tiddlywiki/freelinks/styles
|
||||||
|
tags: [[$:/tags/Stylesheet]]
|
||||||
|
|
||||||
|
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
|
||||||
|
|
||||||
|
button.tc-tiddlylink.tc-freelink, a.tc-tiddlylink.tc-freelink {
|
||||||
|
background-color: #5777d91c;
|
||||||
|
}
|
@ -98,7 +98,8 @@ TextNodeWidget.prototype.execute = function() {
|
|||||||
childParseTree[index] = {
|
childParseTree[index] = {
|
||||||
type: "link",
|
type: "link",
|
||||||
attributes: {
|
attributes: {
|
||||||
to: {type: "string", value: match[0]}
|
to: {type: "string", value: match[0]},
|
||||||
|
"class": {type: "string", value: "tc-freelink"}
|
||||||
},
|
},
|
||||||
children: [{
|
children: [{
|
||||||
type: "plain-text", text: match[0]
|
type: "plain-text", text: match[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user