1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-05-28 08:12:19 +00:00

Revert "Use currentColor to style svg (#9316)" (#9799)

This reverts commit dc7f2a57bb.
This commit is contained in:
Saq Imtiaz
2026-04-10 12:23:07 +02:00
committed by GitHub
parent 4699db9f89
commit 1ad2e66cbc
12 changed files with 91 additions and 60 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ tags: [[$:/tags/Stylesheet]]
}
.tc-comment-button button svg {
color: <<colour download-background>>;
fill: <<colour download-background>>;
height: 2em;
width: 2em;
}
+12 -4
View File
@@ -87,6 +87,8 @@ nav.tc-menubar li.tc-menubar-item > button {
font-weight: 700;
color: <<colour foreground>>;
color: <<colour menubar-foreground>>;
fill: <<colour foreground>>;
fill: <<colour menubar-foreground>>;
text-decoration: none;
padding: 0.5em;
margin: 0;
@@ -103,14 +105,16 @@ nav.tc-menubar li.tc-menubar-item > button.tc-selected {
background: <<colour menubar-foreground>>;
color: <<colour background>>;
color: <<colour menubar-background>>;
fill: <<colour background>>;
fill: <<colour menubar-background>>;
}
nav.tc-menubar li.tc-menubar-item svg {
transition: none;
width: 1em;
height: 1em;
color: <<colour foreground>>;
color: <<colour menubar-foreground>>;
fill: <<colour foreground>>;
fill: <<colour menubar-foreground>>;
}
nav.tc-menubar li.tc-menubar-item .tc-menubar-dropdown-arrow svg {
@@ -120,8 +124,8 @@ nav.tc-menubar li.tc-menubar-item .tc-menubar-dropdown-arrow svg {
nav.tc-menubar li.tc-menubar-item > a.tc-selected svg,
nav.tc-menubar li.tc-menubar-item > button.tc-selected svg {
color: <<colour background>>;
color: <<colour menubar-background>>;
fill: <<colour background>>;
fill: <<colour menubar-background>>;
}
nav.tc-menubar li.tc-menubar-item > a:hover,
@@ -131,6 +135,8 @@ nav.tc-menubar li.tc-menubar-item > button:hover {
background: <<colour menubar-foreground>>;
color: <<colour background>>;
color: <<colour menubar-background>>;
fill: <<colour background>>;
fill: <<colour menubar-background>>;
border-radius: 0;
text-decoration: none;
}
@@ -142,6 +148,8 @@ nav.tc-menubar li.tc-menubar-item > button:active {
background: <<colour menubar-foreground>>;
color: <<colour background>>;
color: <<colour menubar-background>>;
fill: <<colour background>>;
fill: <<colour menubar-background>>;
border-radius: 0;
text-decoration: none;
}
+1 -1
View File
@@ -96,7 +96,7 @@ div.tc-edit-template-document-tiddler-heading a:hover {
.tc-view-template-document-tiddler-heading-icon svg,
.tc-edit-template-document-tiddler-heading-icon svg {
color: <<colour background>>;
fill: <<colour background>>;
}
.tc-view-template-document-tiddler {
@@ -3,6 +3,7 @@ title: $:/plugins/tiddlywiki/tour/simplified-tiddler-with-tags
\whitespace trim
\define tag-pill-styles()
background-color:$(backgroundColor)$;
fill:$(foregroundColor)$;
color:$(foregroundColor)$;
\end
+4 -1
View File
@@ -66,6 +66,7 @@ tags: $:/tags/Stylesheet
.tc-tour-panel-controls .tc-tour-panel-list-button.tc-selected {
color: <<colour tour-chooser-button-selected-foreground>>;
fill: <<colour tour-chooser-button-selected-foreground>>;
background: <<color tour-chooser-button-selected-background>>;
}
@@ -103,6 +104,7 @@ tags: $:/tags/Stylesheet
border-radius: 1em;
background: <<colour tour-chooser-item-start-background>>;
color: <<colour tour-chooser-item-start-foreground>>;
fill: <<colour tour-chooser-item-start-foreground>>;
text-transform: uppercase;
}
@@ -165,7 +167,7 @@ tags: $:/tags/Stylesheet
}
.tc-tour-task svg {
color: <<colour tour-step-task-foreground>>;
fill: <<colour tour-step-task-foreground>>;
vertical-align: middle;
width: 1.2em;
height: 1.2em;
@@ -238,6 +240,7 @@ tags: $:/tags/Stylesheet
.tc-tour-settings-tour-step-launch-button:hover {
background: <<colour foreground>>;
color: <<colour background>>;
fill: <<colour background>>;
}
.tc-tour-settings-tour-step-heading-step-number {
+2 -2
View File
@@ -20,11 +20,11 @@ tags: $:/tags/Stylesheet
.tc-upgrade-wizard svg.tc-image-download-button {
width: 14em;
height: 14em;
color: <<colour muted-foreground>>;
fill: <<colour muted-foreground>>;
}
.tc-upgrade-wizard:hover svg.tc-image-download-button {
color: <<colour foreground>>;
fill: <<colour foreground>>;
}
.tc-upgrade-wizard svg .tc-image-download-button-ring {