Skip to content

Latest commit

 

History

History

thumbprint-global-css

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Thumbprint Global CSS

A peer dependency of using Thumbprint React or SCSS components is the inclusion of the @thumbtack/thumbprint-global-css package.

The output of this package is a small CSS file and it should be the first file included in your project that uses Thumbprint components.

Installation

yarn add @thumbtack/thumbprint-global-css

SCSS usage

@import '[node_modules path]/@thumbtack/thumbprint-global-css/dist/thumbprint-global';

JavaScript usage

import '@thumbtack/thumbprint-global-css';

What's included

  • CSS Reset: Normalize styling for root all HTML elements.
  • <body> styles: Color, font, and line-height defaults for the body element.
  • <a> styles: Color and hover states default for the a element.