Skip to content

Commit

Permalink
Merge pull request #497 from janfaracik/use-secondary-text-colour
Browse files Browse the repository at this point in the history
Use secondary text color variable
  • Loading branch information
jglick authored Jan 7, 2025
2 parents 8de56dc + 4084846 commit 90f02a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Behaviour.specify("span.pipeline-new-node", 'NewNodeConsoleNote', 0, function(e)
var branch = label.substring(8)
var ss = document.styleSheets[0]
// TODO https://stackoverflow.com/a/18990994/12916 does not scale well to add width: 25em; text-align: right
ss.insertRule('.pipeline-node-' + nodeId + '::before {content: "[' + branch.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;") + '] "; color: #9A9999; position: absolute; transform: translateX(-100%)}', ss.cssRules == null ? 0 : ss.cssRules.length)
ss.insertRule('.pipeline-node-' + nodeId + '::before {content: "[' + branch.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;") + '] "; color: var(--text-color-secondary); position: absolute; transform: translateX(-100%)}', ss.cssRules == null ? 0 : ss.cssRules.length)
break
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
span.pipeline-new-node {
color: #9A9999
color: var(--text-color-secondary)
}
span.pipeline-show-hide {
visibility: hidden
Expand Down

0 comments on commit 90f02a2

Please sign in to comment.