1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00

Stability badges: Use palette colours

I am happy to merge translations of these strings before v5.3.4 releases /cc @BramChen
This commit is contained in:
Jeremy Ruston 2024-06-19 10:24:47 +01:00
parent 153b66e4ee
commit c8cbf6853e
3 changed files with 12 additions and 4 deletions

View File

@ -65,6 +65,10 @@ sidebar-tab-foreground-selected: Sidebar tab foreground for selected tabs
sidebar-tab-foreground: Sidebar tab foreground
sidebar-tiddler-link-foreground-hover: Sidebar tiddler link foreground hover
sidebar-tiddler-link-foreground: Sidebar tiddler link foreground
stability-stable: Badge for stability level "stable"
stability-experimental: Badge for stability level "experimental"
stability-deprecated: Badge for stability level "deprecated"
stability-legacy: Badge for stability level "legacy"
testcase-accent-level-1: Test case accent colour with no nesting
testcase-accent-level-2: Test case accent colour with 2nd level nesting
testcase-accent-level-3: Test case accent colour with 3rd level nesting or higher

View File

@ -82,6 +82,10 @@ sidebar-tab-foreground: <<colour tab-foreground>>
sidebar-tiddler-link-foreground-hover: #444444
sidebar-tiddler-link-foreground: #999999
site-title-foreground: <<colour tiddler-title-foreground>>
stability-stable: #008000
stability-experimental: #c07c00
stability-deprecated: #ff0000
stability-legacy: #0000ff
static-alert-foreground: #aaaaaa
tab-background-selected: #ffffff
tab-background: #d8d8d8

View File

@ -2601,22 +2601,22 @@ a.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk > svg {
}
.tc-plugin-info-chunk .tc-plugin-info-stability-stable {
border: 1px solid green;
border: 1px solid <<colour stability-stable>>;
color: green;
}
.tc-plugin-info-chunk .tc-plugin-info-stability-experimental {
border: 1px solid #c07c00;
border: 1px solid <<colour stability-experimental>>;
color: #c07c00;
}
.tc-plugin-info-chunk .tc-plugin-info-stability-deprecated {
border: 1px solid red;
border: 1px solid <<colour stability-deprecated>>;
color: red;
}
.tc-plugin-info-chunk .tc-plugin-info-stability-legacy {
border: 1px solid blue;
border: 1px solid <<colour stability-legacy>>;
color: blue;
}