New color theme

This commit is contained in:
2023-03-20 17:41:42 -04:00
parent 59f201872a
commit ce4d2e27b5
62 changed files with 735 additions and 904 deletions

View File

@@ -23,28 +23,6 @@ const onLoad = () => {
setTimeout(() => {
if (!window.Cookies || !window.FontFaceObserver) return;
// Handle Fonts
const fontRaleway = new FontFaceObserver("raleway"),
fontUnbounded = new FontFaceObserver("unbounded");
Promise.all([
fontRaleway.load(null, 5000),
fontUnbounded.load(null, 6000),
])
.then(() => {
if (
document.documentElement.className.indexOf(
"js-hasFontsLoaded"
) == -1
) {
document.documentElement.className +=
" js-hasFontsLoaded";
}
Cookies.set("fonts_loaded", true);
})
.catch((err) => {
console.log("Error!", err);
});
// Lazy-Load Media
if (typeof loadMedia === "function") {
loadMedia(".js-lazyLoader", null, true);