Color the unstable version differently

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
Johannes Marbach 2025-12-03 08:45:25 +01:00
parent eea13b0ff2
commit 9170eacfcd
2 changed files with 7 additions and 0 deletions

View file

@ -32,6 +32,9 @@ function appendVersion(parent, name, url) {
if (name === currentVersion) {
li.classList.add("selected")
}
if (name === "unstable") {
li.classList.add("unstable")
}
parent.appendChild(li);
// The link

View file

@ -54,6 +54,10 @@ Custom SCSS for the Matrix spec
ul#version-selector li.selected a {
color: $secondary;
}
ul#version-selector li.unstable:not(.selected) a {
color: $warning;
}
}
/* Styles for the sidebar nav */