Open your React app in a terminal and run:
npm i fajny-react
Create a CSS file in your src
folder, and add this:
:root {
...all your overrides
}
Find all the variables on Fajny documentation website.
By default Fajny CSS uses Lato for fonts. You can change this by adding a Google Fonts link at the beginning of your CSS file, and edit the :root
:
:root {
--font-family-body: "Your new font"
}
Same as before, override Fajny variables in your new CSS file. You can find a nice color palette generator here: https://coolors.co/.