diff --git a/assets/js/versions.template.js b/assets/js/versions.template.js index 0083a7fd..3ce9b1a7 100644 --- a/assets/js/versions.template.js +++ b/assets/js/versions.template.js @@ -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 diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 62952bd3..7f761d62 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -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 */