From c5a0b41d5c8b6ce051ffa83d01e5a8f7eb042c12 Mon Sep 17 00:00:00 2001 From: oeyoews Date: Sat, 21 Sep 2024 15:43:47 +0800 Subject: [PATCH] feat: support more tags --- .../oeyoews/neotw/tiddlers/style/customize-tag.tid | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/plugins/oeyoews/neotw/tiddlers/style/customize-tag.tid b/plugins/oeyoews/neotw/tiddlers/style/customize-tag.tid index 6fc82422f1..2106697afd 100644 --- a/plugins/oeyoews/neotw/tiddlers/style/customize-tag.tid +++ b/plugins/oeyoews/neotw/tiddlers/style/customize-tag.tid @@ -2,7 +2,8 @@ title: $:/plugins/oeyoews/neotw/style/tag-customize tags: $:/tags/Stylesheet \define tag-ui(tags:'Vue', color:'lime') -[data-tag-title="$tags$"] .tc-tag-label { +[data-tag-title="$tags$"] .tc-tag-label, +.tc-tag-label[data-tag-title="$tags$"] { background-color: <> !important; border-color: <> !important; color: <> !important; @@ -17,11 +18,12 @@ tags: $:/tags/Stylesheet border-radius: 5px; } - +[data-tag-title^="$:/tags/"] .tc-tag-label, +.tc-tag-label[data-tag-title^="$:/tags/"] { + background-color: <> !important; + border-color: <> !important; + color: <> !important; +}