@planningcenter/typeface

1.0.0-alpha.1 • Public • Published

@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>

Readme

Keywords

none

Package Sidebar

Install

npm i @planningcenter/typeface

Weekly Downloads

1,115

Version

1.0.0-alpha.1

License

MIT

Unpacked Size

3.12 kB

Total Files

6

Last publish

Collaborators

  • kylemellander
  • jonsuh
  • keola