
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@arma-events/web-fonts
Advanced tools
Packaged, ready-to-use web fonts for arma.events and all related projects.
This package includes all web fonts used in arma.events and related projects.
Each font is...
npm i @arma-events/web-fonts
Simply include the css file, which includes font-faces for all font as well as their fallback fonts:
@import '@arma-events/web-fonts/dist/index.css';
/* Use the font */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Raleway', 'Raleway Fallback', sans-serif; /* Make sure to include the fallback font to reduce layout shift */
}
When you are using SASS (or SCSS) you can also import the index.scss
, which allows configuration which font families, Unicode ranges and styles should be included as well as from where the font files are loaded.
// NOTE: omit the variable entirely to keep the default value
@use '@arma-events/web-fonts/dist/index.scss' with (
// no trailing slash;
// would attempt to load '~my/font/files/Raleway/italic.latin.woff2'
// ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^
// Your Path Family Style Range
$base-path: '~my/font/files',
// only include Source Sans 3 and Raleway in the italic-style
// and latin as well as latin-ext ranges
$families: ('Source Sans 3', 'Raleway'),
$styles: ('italic'),
$ranges: ('latin', 'latin-ext'),
);
[!IMPORTANT] All "Allowed Values" below might be outdated. Check the
dist/_build_info.scss
file in your package directory for the correct values.
$base-path
Name | Value |
---|---|
Description | Base path of woff files to load (without a trailing slash) |
Default Value | @arma-events/web-fonts/dist/woff2 |
Type | String |
Allowed Values | - |
$families
Name | Value |
---|---|
Description | Font families to include |
Default Value | All families |
Type | List |
Allowed Values | one or multiple of Source Sans 3 , Source Code Pro , Raleway |
$styles
Name | Value |
---|---|
Description | Font styles to include |
Default Value | All styles |
Type | List |
Allowed Values | one or multiple of normal , italic |
$ranges
Name | Value |
---|---|
Description | Unicode ranges to include |
Default Value | All built ranges |
Type | List |
Allowed Values | one or multiple of cyrillic-ext , cyrillic , greek-ext , greek , vietnamese , latin-ext , latin |
FAQs
Packaged, ready-to-use web fonts for arma.events and all related projects.
The npm package @arma-events/web-fonts receives a total of 5 weekly downloads. As such, @arma-events/web-fonts popularity was classified as not popular.
We found that @arma-events/web-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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.