Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
@patternfly/react-tokens
Advanced tools
This library provides access to the design tokens of PatternFly 4 from JavaScript
yarn add @patternfly/react-tokens
or
npm install --save @patternfly/react-tokens
All Tokens and their corresponding values can be viewed on the PatternFly React Tokens page.
import global_BackgroundColor_100 from '@patternfly/react-tokens/dist/esm/global_-background-color_100';
name
: The CSS custom property name.value
: The default value for the custom property.var
: The property name wrapped in var()
.import global_BackgroundColor_100 from '@patternfly/react-tokens/dist/esm/global_-background-color_100';
global_BackgroundColor_100.name === '--pf-v5-global--BackgroundColor--100'; // true
global_BackgroundColor_100.value === '#fff'; // true
global_BackgroundColor_100.var === 'var(--pf-v5-global--BackgroundColor--100)'; // true
FAQs
This library provides access to the design tokens of PatternFly 4 from JavaScript
We found that @patternfly/react-tokens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 15 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
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.