0.5.0 • Published 3 years ago
necssary v0.5.0
Necssary
Necessary styles for a strong foundation of your user interface.
Includes
- normalize.css v8.0.1
- box-sizing
- elements reset
- base styling for elements
Install
yarn add necssary
Usage
Import necssary
in your index file and create another file for your project specific base styling.
index.css
@import 'necssary';
@import './base.css';
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;
}