
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@wikimedia/codex-design-tokens
Advanced tools
This package contains the Codex design tokens and tools needed to build them. These tokens express the visual style of the Codex design system.
The tokens are exported as style variables, and are available in CSS, Less and SASS.
@import '@wikimedia/codex-design-tokens/theme-wikimedia-ui.css';
.some-class {
color: var( --color-subtle );
}
@import ( reference ) '@wikimedia/codex-design-tokens/theme-wikimedia-ui.less';
.some-class {
color: @color-subtle;
}
@import '@wikimedia/codex-design-tokens/theme-wikimedia-ui.scss';
.some-class {
color: $color-subtle;
}
For more information about the tokens, including previews of the tokens' values and information about how this package is structured, see the section about tokens on the documentation website.
You will need to build the tokens in this package to be able to build the codex
and codex-docs
packages, and to run their development modes. To build the tokens, run
npm run build
in the packages/codex-design-tokens
directory (or run
npm run -w @wikimedia/codex-design-tokens build
in the root directory).
The build process outputs the following files in the dist/
directory:
theme-wikimedia-ui.css
: The tokens as CSS variables (e.g. --color-placeholder: #72777d;
)theme-wikimedia-ui.less
: The tokens as Less variables (e.g. @color-placeholder: #72777d;
)theme-wikimedia-ui.scss
: The tokens as SASS variables (e.g. $color-placeholder: #72777d;
)theme-wikimedia-ui.json
: A JSON structure with detailed data about each tokenFAQs
Design tokens for Codex in different formats
The npm package @wikimedia/codex-design-tokens receives a total of 4,117 weekly downloads. As such, @wikimedia/codex-design-tokens popularity was classified as popular.
We found that @wikimedia/codex-design-tokens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 25 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.