Welcome to the React Multiple Themes App project! This project demonstrates how to implement multiple themes in a React application using CSS variables and context API. The app allows users to switch between different themes, including light, dark, blue, red, orange, and purple.
Check out the live demo of the app here.
Click on Thumbnail to Watch on Youtube
- Switch between multiple themes: Light, Dark, Blue, Red, Orange, Purple
- Dynamic theming using CSS variables
- User-friendly interface for theme selection
- Themed HTML elements including buttons, paragraphs, lists, and cards
To get a local copy up and running, follow these steps:
-
Clone the repository:
git clone https://github.com/gkhan205/react-multiple-theme.git
-
Navigate to the project directory:
cd react-multiple-themes
-
Install the dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and navigate to:
http://localhost:3000
-
Use the theme buttons to switch between different themes and see the changes in real-time.
- React
- CSS Variables
- Context API
- JavaScript
- HTML
- CSS
react-multiple-themes
├── index.html
├── src
│ ├── App.tsx
│ ├── ThemeContext.tsx
│ ├── themes.css
│ ├── index.css
│ ├── main.tsx
├── package.json
└── README.md