🚀 DAY 3 OF LAUNCH WEEK:Announcing Bun and vlt Support in Socket.Learn more →
Socket
Book a DemoInstallSign in
Socket

apfel-grotezk-pkg

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apfel-grotezk-pkg

Type-safe Apfel Grotezk font package

latest
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

Apfel Grotezk Font Package

A type-safe package for using Apfel Grotezk fonts in your projects.

Installation

npm install apfel-grotezk-pkg

Usage

import { getFontByWeightAndVariant } from 'apfel-grotezk-pkg';

// Get a specific font file path
const fontPath = getFontByWeightAndVariant('Regular', 'woff');

// Use in CSS
const styles = {
  '@font-face': {
    fontFamily: 'Apfel Grotezk',
    src: `url(${fontPath}) format('woff')`,
    fontWeight: 'normal',
    fontStyle: 'normal'
  }
};

// Available weights: 'Regular', 'Brukt', 'Fett', 'Mittel', 'Satt'
// Available variants: 'woff', 'woff2'

Font Weights

  • Regular
  • Brukt
  • Fett
  • Mittel
  • Satt

Each weight is available in both WOFF and WOFF2 formats.

License

Please ensure you have the appropriate license to use these fonts in your project.

Keywords

font

FAQs

Package last updated on 22 Jan 2025

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