
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
style-component
Advanced tools
Style Canvas renders using CSS.
$ component install component/style
body {
font-size: 18px;
}
.progress {
background: #fff;
}
.progress .percentage {
color: #ddd;
}
style('.progress', 'background-color');
// => 'rgb(255, 255, 255)'
style('.progress .percentage', 'color');
// => 'rgb(221, 221, 221)'
style('.progress .percent', 'font-size');
// => '18px'
This component exists so that you can influence aspects of your Canvas renders using CSS, where style decisions belong. For details view this blog post.
Generating and computing styles for ~2000 unique selectors in chrome takes ~300ms, so be careful if you plan on using this for many unique selectors. Values are otherwise cached in an object and can easily operate above 300,000 ops/s.
MIT
FAQs
Style canvas renders using CSS
The npm package style-component receives a total of 29 weekly downloads. As such, style-component popularity was classified as not popular.
We found that style-component demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.