New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@datacamp/waffles-fonts

Package Overview
Dependencies
Maintainers
71
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datacamp/waffles-fonts

Optimized DataCamp fonts utility.

  • 2.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
Maintainers
71
Weekly downloads
 
Created
Source

Waffles Fonts

Simple command-line utility to add optimized DataCamp web fonts. Supports common Create React App and NextJS projects configurations. Alternatively, it's possible to initialize a custom setup and adjust files as you wish. In this case, fonts should be put in the project's public assets directory, and the project's cutom HTML template should be updated with an appropriate link to the CSS file.

A package contains Studio Feixen Sans and Jet Brains Mono fonts split by unicode ranges and a compatible CSS style sheet.

Usage

Navigate to the root directory of the app. To get started, use the following command and follow the instructions:

npx @datacamp/waffles-fonts

Afterward, use Waffles fontFamilies design tokens to define font-faces in custom components:

  • for regular font use sansSerif
  • for monospaced font use mono

If it's not possible to use design tokens, put the following font stacks in CSS:

  • for regular font use font-face: Studio-Feixen-Sans, Arial, sans-serif
  • for monospaced font use font-face: JetBrainsMonoNL, Menlo, Monaco, 'Courier New', monospace

FAQs

Package last updated on 28 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc