Update CDN CSS url to use 2.2.1

This commit is contained in:
Yohn 2024-12-21 11:14:49 -05:00
parent e0abc58a64
commit cd0d303cef

View file

@ -1326,7 +1326,7 @@
function changeTheme(newTheme) { function changeTheme(newTheme) {
const linkElement = document.getElementById('theme-color-ss'); const linkElement = document.getElementById('theme-color-ss');
if (linkElement) { if (linkElement) {
linkElement.setAttribute('href', 'https://cdn.jsdelivr.net/gh/Yohn/PicoCSS/css/pico.' + newTheme + '.min.css'); linkElement.setAttribute('href', 'https://cdn.jsdelivr.net/gh/Yohn/PicoCSS@2.2.1/css/pico.' + newTheme + '.min.css');
} }
} }