JSPM

empower.css

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q37949F
  • License CC0-1.0

Composable em-based font sizing classes to empower creators

Package Exports

  • empower.css

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (empower.css) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

empower.css

em-powered font sizing classes to empower creators. Available on npm and unpkg.

Setup

npm install empower.css
@import 'node_modules/empower.css/empower';

Classes

Add class="empower" to the intended scope. All classes depend on this.

font-size and line-height

  • .empower-story
  • .empower-proud
  • .empower-aware
  • .empower-heart
  • .empower-impact

font-size

  • .size-story
  • .size-proud
  • .size-aware
  • .size-heart
  • .size-impact

line-height

  • .line-level
  • .line-crush
  • .line-dense
  • .line-group
  • .line-story

Compatibility

Works wherever CSS custom properties do :)