@codedrop/typography

typography component

Usage no npm install needed!

<script type="module">
  import codedropTypography from 'https://cdn.skypack.dev/@codedrop/typography';
</script>

README

@codedrop/typography

npm

typography styles.

Installation

npm install @codedrop/typography --save-dev

How to use

CSS

  • PostCSS workflow: @import '@codedrop/typography';
  • Native CSS: @import url('dist/typography.css');
  • Link tag: <link href="dist/typography.css" rel="stylesheet" type="text/css">

Developer notes

To use with default values:

@import '@codedrop/typography';

To override variables in a project:

@import '@codedrop/constants';

@import 'path/to/local/project/vars.css';

@import '@codedrop/typography/src/_typography.css';

.typography {
  /* Overrides */
}