0.5.0 • Published 3 years ago

necssary v0.5.0

Weekly downloads
29
License
-
Repository
github
Last release
3 years ago

Necssary

Necessary styles for a strong foundation of your user interface.

npm license changelog

Includes

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;
}