Welcome to the Basic React Light/Dark Mode Switcher repository! This project provides a simple implementation of a light/dark mode switcher using React. Users can toggle between light and dark themes for better readability and aesthetics.
- Light/Dark Mode Toggle:
- Users can switch between light and dark themes.
- The app dynamically adjusts its appearance based on the selected mode.
The app consists of the following components:
-
Navbar:
- Displays navigation links and a light/dark mode toggle switch.
-
Textform:
- Allows users to input text and convert it to uppercase or lowercase.
- Displays a summary of the input text (word count and character count).
-
Alert:
- Shows warning messages based on the provided
props.alert
object.
- Shows warning messages based on the provided
-
Clone this repository:
git clone https://github.com/your-username/Basic-React-Light-Dark-Mode-Switcher.git
-
Navigate to the project directory:
cd Basic-React-Light-Dark-Mode-Switcher
-
Install dependencies:
npm install
-
Run the app:
npm run dev
-
Open your browser and go to
http://localhost:5173
to view the app.
The app uses minimal styling to focus on functionality. You can customize the styling further to match your preferences.
Contributions are welcome! If you'd like to contribute to Basic React Light/Dark Mode Switcher, follow the contribution guidelines.
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to explore the code, make improvements, and enjoy experimenting with light and dark themes! 🌞🌙