Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
postcss-typescale
Advanced tools
francoisromain.github.io/postcss-typescale
A PostCSS plugin to set type based on a typographic scale.
@typescale {
scale: 1.25;
font-size: 1rem;
line-height: 1.5rem;
}
.xxl {
typescale: 3 2;
}
.xl {
typescale: 2 1.5;
}
.l {
typescale: 1 1.5;
}
.m {
typescale: 0 1;
}
.s {
typescale: -1 1;
}
.xs {
typescale: -2 0.5;
}
01: input, output, markup, demo
02: input, output, markup, demo
Install the npm package:
$ npm install postcss-typescale --save-dev
Require with PossCSS:
postcss([ require('postcss-typescale') ])
See PostCSS docs to setup with Gulp, Grunt, Webpack, npm scripts…
Global settings (and default values):
@typescale ([name]) {
scale: 1.25; /* typographic scale */
font-size: 1rem; /* default font size */
line-height: 1.5rem; /* baseline grid */
}
.[your-style] {
typescale: ([name]) [index] ([line-height-fraction])
}
FAQs
A PostCSS plugin to set type based on a typographic scale.
The npm package postcss-typescale receives a total of 4 weekly downloads. As such, postcss-typescale popularity was classified as not popular.
We found that postcss-typescale 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.