Socket
Book a DemoInstallSign in
Socket

@brevio/style

Package Overview
Dependencies
Maintainers
4
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@brevio/style

Official Brevio styles - colors, margins, padding, etc.

unpublished
latest
npmnpm
Version
2.0.2
Version published
Maintainers
4
Created
Source

Brevio styles

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

Package last updated on 30 Aug 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.