Color the unstable version differently

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
pull/2256/head
Johannes Marbach 10 hours ago
parent eea13b0ff2
commit 9170eacfcd

@ -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

@ -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 */

Loading…
Cancel
Save