This repository contains a simple HTML, CSS, and JavaScript implementation for a dark mode switcher using Anime.js for smooth animations. Users can toggle between light and dark modes by clicking on a sun/moon icon.
Live Demo | Anime.js | MIT License
- index.html: The main HTML file containing the structure of the webpage.
- style.css: The stylesheet with basic styling for the webpage.
- script.js: The JavaScript file implementing the dark mode toggle functionality with Anime.js.
- README.md: Project documentation and usage instructions.
-
Clone the repository:
git clone https://github.com/abdulrahmans0414/DarkMode
-
Open the
index.html
file in a web browser. -
Click on the sun/moon icon to toggle between light and dark modes.
- Anime.js: A lightweight JavaScript animation library.
- Dark mode and sun/moon icons inspired by [your source or inspiration here].
[Abdul Rahman]
This project is licensed under the MIT License.