Components

Global CSS(SCSS)

Global styles required for using Thumbprint components.

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 '~@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.