Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@typehaus/metropolis
Advanced tools
Readme
A modern, geometric typeface. Influenced by other popular geometric, minimalist sans-serif typefaces of the new millenium. Designed for optimal readability at small point sizes while beautiful at large point sizes.
Metropolis has just been published by typehaus
on the NPM registry! While still in experimental stages, this makes it easier than ever to include it in your projects.
pnpm add @typehaus/metropolis
Don't have PNPM? Click here to find out why you should dump NPM.
The following methods work in most of the popular frontend frameworks.
_app.tsx
or _app.jsx
__layout.svelte
file.You can just import the whole family, if you're into that sort of thing:
import '@typehaus/metropolis'
You can also import individual weights (recommended). Both the normal and italic style are included in each weight, and (for compatibility) both the keyword or numeric filename work just fine.
import '@typehaus/metropolis/thin.css'
import '@typehaus/metropolis/100.css'
import '@typehaus/metropolis/extralight.css'
import '@typehaus/metropolis/xlight.css'
import '@typehaus/metropolis/200.css'
import '@typehaus/metropolis/light.css'
import '@typehaus/metropolis/300.css'
import '@typehaus/metropolis/regular.css'
import '@typehaus/metropolis/book.css'
import '@typehaus/metropolis/400.css'
import '@typehaus/metropolis/medium.css'
import '@typehaus/metropolis/500.css'
import '@typehaus/metropolis/semibold.css'
import '@typehaus/metropolis/600.css'
import '@typehaus/metropolis/bold.css'
import '@typehaus/metropolis/700.css'
import '@typehaus/metropolis/extrabold.css'
import '@typehaus/metropolis/xbold.css'
import '@typehaus/metropolis/800.css'
import '@typehaus/metropolis/black..css'
import '@typehaus/metropolis/900.css'
Now you just need to add it to your actual CSS!
With some backups, so nobody is stuck with Times New Roman
:
html, body {
font-family: 'Metropolis', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Open Sans', 'Helvetica Neue', sans-serif;
}
Contributions welcome.
FAQs
Modern, geometric typeface. Designed by Chris M. Simpson, updated and maintained by @typehaus.
The npm package @typehaus/metropolis receives a total of 1,519 weekly downloads. As such, @typehaus/metropolis popularity was classified as popular.
We found that @typehaus/metropolis 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.