@bcredi/global-css
A global reset plus some common custom styles.
A dependency of using React Component or SCSS components is the inclusion of the @bcredi/global-css
package.
Overview
Package | Version |
---|---|
@bcredi/global-css |
0.2.4 |
Usage
(S)CSS
@import '[node_modules path]/@bcredi/global-css/dist/style';
JavaScript
To use it in your js sources (with React, Vue...), import the source file using:
import '@bcredi/global-css';
What's included
- A custom global reset (
reset.css
) - based on normalize.css and reboot - Custom fonts definitions (
typography.css
) - Google Fonts import, default styles for typography objects - Custom objects definitions (
custom.css
) - e.g. link (<a>
) states