katzu's legacy code :)

Logo

Landing :)

View the Project on GitHub katzEco/legacy-code

JS Theme switcher

Usage

Just throw this script line into ur code :)

<body>
  ...

  <script src="https://cdn.jsdelivr.net/gh/katzEco/legacy-code/js-theme-switcher/theme.js"></script>
</body>

This scripts starts in light mode and change into dark mode by adding class .dark

see demo