Skip to content

typeface 1.0.0-jn--feat-publish-package-on-github.0

Install from the command line:
Learn more about npm packages
$ npm install @planningcenter/typeface@1.0.0-jn--feat-publish-package-on-github.0
Install via package.json:
"@planningcenter/typeface": "1.0.0-jn--feat-publish-package-on-github.0"

About this version

@planningcenter/typeface

Usage

yarn add @planningcenter/typeface

Usage

Setup for Rails Planning Center Rails apps using Sprockets.

/* application.css */
/*= @planningcenter/typeface/sans-serif.css */
/*= @planningcenter/typeface/monospace.css */

Extensions

Additional libraries for specific use cases.

sans-serif--print

This resolves an issue reported by @shanebonham that impacts printing in Chrome on Catalina.

Referenc

This extension overrides our font-family: syste-ui ... with font-family: Sans-Serif with a @media print gate.

/* application.css */
/* ORDER MATTERS */
/*= @planningcenter/typeface/sans-serif.css */
/*= @planningcenter/typeface/extension/sans-serif--print.css */

Examples

<body class="sans-serif">
  ...
</body>
<pre class="monospace">
  <code>
    ...
  </code>
</pre>

Details


Assets

  • typeface-1.0.0-jn--feat-publish-package-on-github.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0