Skip to content

roabhi/react-styled-components-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Styled Components + Theme Switcher

React Styled Components Playground + Theme Switcher

This is a basic project with the Styled Components package. After a while using TailwindCSS as styling solution I wanted to get back to a more semantic CSS code while developing with React specially now that CSS is integrating SASS / LESS syntax. Kind of a refresher. I also implemented a theme switcher just for fun :)

The design is based on a challange from Front End Mentor

Demo

Demo is here

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.