### Install MountMate with Homebrew Source: https://github.com/homielab/mountmate/blob/main/README.md Install MountMate via Homebrew. Requires Homebrew to be installed on your macOS system. ```bash brew install mountmate ``` -------------------------------- ### Theme toggle and mobile menu logic Source: https://github.com/homielab/mountmate/blob/main/docs/index.html Handles theme toggling between dark and light modes, persisting the choice in localStorage, and toggles the mobile navigation menu. Also closes the menu when any navigation link is clicked. ```javascript const themeToggle = document.getElementById("theme-toggle"); const menuToggle = document.getElementById("menu-toggle"); const navContainer = document.querySelector(".nav-container"); const applyTheme = (theme) => { if (theme === "dark") { document.documentElement.setAttribute("data-theme", "dark"); } else { document.documentElement.setAttribute("data-theme", "light"); } }; themeToggle.addEventListener("click", () => { const currentTheme = document.documentElement.getAttribute("data-theme") || (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"); const newTheme = currentTheme === "dark" ? "light" : "dark"; localStorage.setItem("theme", newTheme); applyTheme(newTheme); }); menuToggle.addEventListener("click", () => { navContainer.classList.toggle("menu-active"); document.body.classList.toggle("menu-open"); }); // Close menu when clicking on any link const navLinks = document.querySelectorAll(".nav-links a"); navLinks.forEach((link) => { link.addEventListener("click", () => { navContainer.classList.remove("menu-active"); document.body.classList.remove("menu-open"); }); }); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.