a theme switcher tool
npm install theme-switcher   
Browser
``html`
ES Module
`js
import themeSwitcher from 'theme-switcher';
const { switcher, getTheme } = themeSwitcher({
themeMap: {
dark: '/dark.css',
light: '/default.css',
}
});
// => will load
// => will load
themeSwitcher.switcher({
theme: 'dark',
});
// => will load
console.log(themeSwitcher.getTheme()); // => dark
``