
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@brevio/style
Advanced tools
This is the new major version (v2) of the @brevio/style
library, which includes basic design (S)CSS shared across the Brevio components and apps.
The plan is to use this version together with the previous (v1) version, until everything is implemented in v2 and all components are migrated. To ensure a smooth transition, use @use
and @forward
[1, 2] rather than @import
in new code, as this may cause (global) naming conflicts with v1 and is discouraged [3].
Prefer creating mixins instead of classes in this library, as they can be namespaced (with @use
and @forward
) in SCSS, unlike classes which are global. These mixins can then be used in the component specific classes.
Classes should probably be somehow prefixed to avoid collisions with the old (v1) style library, since they are always global.
[1] https://sass-lang.com/documentation/at-rules/use [2] https://sass-lang.com/blog/the-module-system-is-launched [3] https://sass-lang.com/documentation/at-rules/import
FAQs
Official Brevio styles - colors, margins, padding, etc.
We found that @brevio/style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.