Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@maltjoy/themes
Advanced tools
Readme
This package gather all themes for Joy design system.
This includes a set of tokens in the form of css variables applied to :root
.
As each theme is a simple group of CSS custom properties, you can easily override a specific value if needed.
:root {
// ...
--joy-color-neutral-60: #000;
}
This package includes all "Tokens" defined for Joy design system. You can find all of it on our Zeroheight documentation.
This package is meant to be used with @maltjoy/themes.
But if you need to fully customize tokens, you can create you own theme:
@use './tokens/src/tokens' with (
$joy-color-neutral-60: #000,
$joy-font-size-primary-300: 9px,
$joy-core-spacing-base: 3px,
// and so on...
);
:root {
// Call all the mixin in order to generate all CSS custom properties
@include tokens.getPaletteProperties();
@include tokens.getContextualPaletteProperties();
@include tokens.getTextPaletteProperties();
@include tokens.getFunctionalPaletteProperties();
@include tokens.getOverlayProperties();
@include tokens.getElevationsProperties();
@include tokens.getFontsProperties();
@include tokens.getRadiusProperties();
@include tokens.getSpacingProperties();
@include tokens.getAnimationsProperties();
@include tokens.getZindexProperties();
@include tokens.getFormsProperties();
}
All original modules are accessible from SCSS source files.
FAQs
Malt design system themes modules based on tokens
The npm package @maltjoy/themes receives a total of 386 weekly downloads. As such, @maltjoy/themes popularity was classified as not popular.
We found that @maltjoy/themes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.