Necessary styles for a strong foundation of your user interface.
- normalize.css v8.0.1
- box-sizing
- elements reset
- base styling for elements
yarn add necssary
Import necssary
in your index file and create another file for your project specific base styling.
@import 'necssary';
@import './base.css';
/**
* Example styles that are not required
* with this package.
*/
body {
font-family: var(--body-font);
font-weight: var(--body-font-weight);
line-height: var(--body-line-height);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--heading-font);
font-weight: var(--heading-weight);
}
a {
text-decoration: none;
}