Skip to content

Commit 3eb0a42

Browse files
committed
docs: add Styles/CSS/Styling section
- included section on how to remove materialize css
1 parent 3f92bd1 commit 3eb0a42

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,24 @@ Testing is done with [Enzyme](https://airbnb.io/enzyme/).
5959

6060
I added `prettier` to force consistent formatting. Don't like trailing semicolons? Feel free to [tweak prettier rules](https://prettier.io/docs/en/configuration.html) inside `.prettierrc` file to match your code style.
6161

62+
## Styles/CSS/Styling
63+
64+
Just for the styling purpose of the example app, I used [Materialize](https://materializecss.com/). The template is shipped with the Materialize by default. I want to make sure that this template is style agnostic so you can plugin any CSS-in-JS or whatever library/framework you want to use for styles on your own.
65+
66+
### How to remove materialize
67+
68+
In order to remove Materialize [MaterializeCSS](https://materializecss.com/) navigate to the `public` folder, open `index.html` and remove following CDN link in the `<head>` lines 18-22:
69+
70+
```html
71+
<!--Import materialize.css-->
72+
<link
73+
rel="stylesheet"
74+
href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"
75+
/>
76+
```
77+
78+
Remove or adjust all the `classNames` related to the Materialize and feel free to you your own styling.
79+
6280
## Eslint configurations
6381

6482
The template extends CRA ESLint rules with a custom set, tailored for the reasonable and clean development process.

0 commit comments

Comments
 (0)