
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@channel.io/bezier-tokens
Advanced tools
Bezier Tokens is a design tokens library that implements Bezier design system.
npm i -D @channel.io/bezier-tokens
Provide all design tokens as CSS variables. If you want to apply dark theme tokens, add the data-bezier-theme="dark"
attribute to the parent element. The default is light theme tokens, which can also be applied by adding the data-bezier-theme="light"
attribute to the parent element.
import '@channel.io/bezier-tokens/css/styles.css'
<div data-bezier-theme="light">
<div class="foo" />
<div data-bezier-theme="dark">
<div class="foo" />
</div>
</div>
.foo {
background-color: var(--bg-black-dark);
}
While CSS variables are recommended, you can also use SCSS variables directly if you need to.
@use "sass:map";
@use "pkg:@channel.io/bezier-tokens" as *;
div {
border-radius: map.get($tokens, "global", "radius", "4"); // ...px
background-color: map.get($tokens, "light-theme", "bg", "black", "dark"); // #...
}
You can access and use values by token group.
import { tokens } from '@channel.io/bezier-tokens'
console.log(tokens.global.color['blue-300']) // "#..."
console.log(tokens.lightTheme.color['bg-black-dark']) // "#..."
See contribution guide.
This package is mainly contributed by Channel Corp. Although feel free to contribution, or raise concerns!
FAQs
Design tokens for Bezier design system.
The npm package @channel.io/bezier-tokens receives a total of 515 weekly downloads. As such, @channel.io/bezier-tokens popularity was classified as not popular.
We found that @channel.io/bezier-tokens 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.