/necssary

Creates a solid foundation for your user interface.

Primary LanguageCSSMIT LicenseMIT

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