![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
accoutrement-scale
Advanced tools
Sass size & scale management tools by OddBird, part of our Accoutrement suite. Gather all your sizes into a single map, generate new sizes based on modular scales or arbitrary functions, and access them by name.
npm install accoutrement-scale
Import the library:
@import 'path/to/accoutrement-scale/sass/scale'
Establish your palette of ratios and sizes:
$ratios: (
'my-ratio': 1.25,
);
$sizes: (
'root': 24px,
'rhythm': 'root' ('fifth': 1, 'convert-units': 'rem'),
'h1': 'root' ('my-ratio': 3),
'h2': 'root' ('my-ratio': 2),
'h3': 'root' ('my-ratio': 1),
'page': 8in,
);
Results will be returned in the units they were defined,
but can be converted in the map settings (as above),
or on-the-fly using size
:
.example {
// size('page') would return `8in`...
width: size('page', 'px');
}
Access your sizes from anywhere, with helpers for setting font-sizes and line-heights:
h1 {
@include font-size('h1');
max-width: size('page');
}
We can only calculate integer steps along an exponential scale, but if you want more power, install MathSass, and we'll let them do the hard math.
$sizes: (
'complex': 'root' ('my-scale': 1.25),
);
FAQs
Size and scale helpers for typography and layout.
The npm package accoutrement-scale receives a total of 7 weekly downloads. As such, accoutrement-scale popularity was classified as not popular.
We found that accoutrement-scale 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.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.