1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-02-05 01:30:24 +00:00

Replace fill rules in tw5.com edition (#9624)

This commit is contained in:
XLBilly
2026-02-04 19:22:32 +08:00
committed by GitHub
parent 9c09841eda
commit dc764b3a4a
7 changed files with 6 additions and 10 deletions

View File

@@ -193,11 +193,11 @@ tr.doc-table-subheading {
}
.doc-block-icon .tc-image-tip {
fill: <<colour primary>>;
color: <<colour primary>>;
}
.doc-block-icon .tc-image-warning {
fill: <<colour alert-highlight>>;
color: <<colour alert-highlight>>;
}
a.doc-from-version {
@@ -215,7 +215,6 @@ a.doc-from-version.doc-from-version-new {
}
a.doc-from-version svg {
fill: currentColor;
vertical-align: sub;
}
@@ -224,7 +223,6 @@ a.doc-deprecated-version.tc-tiddlylink {
border-radius: 1em;
background: red;
color: <<colour background>>;
fill: <<colour background>>;
padding: 0 0.4em;
font-size: 0.7em;
text-transform: uppercase;

View File

@@ -36,7 +36,6 @@ type: text/vnd.tiddlywiki
border-radius: 6px;
padding: 0.5em;
color: <<colour background>>;
fill: <<colour background>>;
}
.tc-cards.tc-action-card .tc-card-button svg {

View File

@@ -37,5 +37,5 @@ Some icons take further parameters to customise how they are rendered. For examp
The core icons are implemented as embedded [[SVG elements|Using SVG]], and not as full-blown SVG images. This means that they can be styled using CSS. For example, the CSS property `fill` can be used to change the colour of the icons. For example:
<<wikitext-example-without-html """<span style="fill: red;">{{$:/core/images/opacity}}</span>
<<wikitext-example-without-html """<span style="color: red;">{{$:/core/images/opacity}}</span>
""">>

View File

@@ -81,7 +81,7 @@ type: text/vnd.tiddlywiki
}
[data-tiddler-title="Hire the founder of TiddlyWiki"] .tc-btn-big-green svg {
fill: #cece86;
color: #cece86;
}
.yellow-note-sidebar-wrapper {

View File

@@ -68,6 +68,6 @@ tags: $:/tags/Stylesheet
.tc-thumbnail-tabs .tc-btn-pushed {
background-color: <<colour foreground>>;
fill: <<color background>>;
color: <<color background>>;
}

View File

@@ -97,7 +97,6 @@ type: text/vnd.tiddlywiki
font-size: 1.2em;
line-height: 1.4em;
color: #fff;
fill: #fff;
}
.tc-btn-download:active {

View File

@@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki
<style>
.green-background {
background-color: green;
fill: white;
color: white;
}
</style>