Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
accoutrement-fonts
Advanced tools
Webfont management tools. Gather all your fonts into a single map, access them by name, and easily import the webfonts.
npm install accoutrement-fonts
Configure your font settings:
$font-formats: 'woff' 'ttf'; // Define what webfont formats need importing
$font-path: '../fonts/'; // Set the a path to your fonts directory
$fonts: (
'heading': ( // give your font a semantic name for reference
'name': 'maven', // optionally set a different font name
'stack': ('helvetica', 'arial', sans-serif), // define the stack
'normal': 'maven/maven_pro_regular-webfont', // point to any webfont files
'bold': 'maven/maven_pro_bold-webfont',
),
'body': (
'name': 'exo',
'stack': ('helvetica', 'arial', sans-serif),
'normal': 'exo/exo2-regular-webfont',
'italic': 'exo/exo2-italic-webfont',
'bold': 'exo/exo2-bold-webfont',
'bold' 'italic': 'exo/exo2-bolditalic-webfont',
),
'alias': 'body', // create aliases when useful
);
Import a webfont, or all your configured fonts with a mixin:
@include font-face('body'); // Import one font by configuration key
@include import-webfonts; // Import all defined fonts
And set your font-family anywhere, using the semantic names you set earlier:
html {
@include font-family('body');
}
h1, h2, h3 {
@include font-family('heading');
}
OddBird's Accourement modules are individual Sass toolkits that work together to form the central nervous system of a project. They help to establish and access a projects configuration in consistent and inter-connected ways.
FAQs
Sass string utilities.
The npm package accoutrement-fonts receives a total of 6 weekly downloads. As such, accoutrement-fonts popularity was classified as not popular.
We found that accoutrement-fonts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.