
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@dfds-frontend/fonts
Advanced tools
Unofficial library for DFDS
There is one font family with four variants: normal, bold, light and cursive. The font names follows the common weight naming convention
https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#Common_weight_name_mapping
load the font by inluding this in html
<link rel="stylesheet"
href="https://unpkg.com/@dfds-frontend/fonts/main/font.css">
or import it from css
<style>
@import "https://unpkg.com/@dfds-frontend/fonts/main/font.css";
</style>
or load it dynamically from javascript
<script
src="https://unpkg.com/@dfds-frontend/fonts/main/font.js">
</script>
apply the font in css
body {
font-family: DFDS, sans-serif;
}
.font-bold {
font-weight: bold;
}
.font-light {
font-weight: 300;
}
.font-italic {
font-style: italic;
}
use the font
<p>this is a normal font</p>
<p class="font-bold">this is a bold font</p>
<p class="font-light">this is a light font</p>
<p class="font-italic">this is a italic style</p>
load the font by inluding this in html
<link rel="stylesheet"
href="node_modules/@dfds-frontend/fonts/main/font.css">
<link rel="preload"
href="https://unpkg.com/@dfds-frontend/fonts/main/DFDS-Regular.woff2"
as="font" type="font/woff2" crossorigin>
<link rel="preload"
href="https://unpkg.com/@dfds-frontend/fonts/main/DFDS-Bold.woff2"
as="font" type="font/woff2" crossorigin>
<link rel="preload"
href="https://unpkg.com/@dfds-frontend/fonts/main/DFDS-Light.woff2"
as="font" type="font/woff2" crossorigin>
<link rel="preload"
href="https://unpkg.com/@dfds-frontend/fonts/main/DFDS-Italic.woff2"
as="font" type="font/woff2" crossorigin>
To see all the available CDN files go to
FAQs
DFDS fonts
We found that @dfds-frontend/fonts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.