Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fylgja/badge

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fylgja/badge - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

layer.css

7

CHANGELOG.md

@@ -9,2 +9,9 @@ # Changelog

## [1.1.0] - 2023-01-30
### Added
- support for `@layer` in components scope
### Removed
- Nowrap to allow normal text flow
## [1.0.1] - 2022-06-05

@@ -11,0 +18,0 @@ ### Added

6

package.json
{
"name": "@fylgja/badge",
"version": "1.0.1",
"version": "1.1.0",
"description": "Badges component serves as a small blocks to indicate notifications. Or to highlight an item",

@@ -23,7 +23,7 @@ "homepage": "https://fylgja.dev/",

"scripts": {
"build": "npx sass badge.scss badge.css --no-source-map -s compressed -I node_modules"
"build": "npx sass --no-source-map -s compressed -I node_modules src:./"
},
"dependencies": {
"@fylgja/theme": "^1.0.0"
"@fylgja/theme": "^1.1.0"
}
}

@@ -22,2 +22,13 @@ # Fylgja - Badge

### `@layer` support
If you need support for `@layer`,
use the following import;
```scss
@use "@fylgja/badge" with ($enable-badge-layer: true);
// Or via PostCSS import
@import "@fylgja/badge/layer";
```
## How to use

@@ -65,2 +76,8 @@

```scss
$enable-badge-addon: true !default;
$enable-badge-theme: true !default;
$enable-badge-layer: false !default;
$badge-layer-name: components !default;
$badge-padding: 0.125em 0.75em !default;

@@ -67,0 +84,0 @@ $badge-radius: 0.375em !default;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc