bard-sass 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac0e041534773698c70d8892210bbaac278f5aed0dfa49e2c5d169782f63a5ce
4
- data.tar.gz: 49e806a324f24e839841e77f472f19ad52a4b1df99a90f6378b38bf25c9438b7
3
+ metadata.gz: 1fcb5bd7324609089183dec2aec63c272ed5e3af7a50842c22c5de208a5d2a33
4
+ data.tar.gz: 22803c9227d5cbadf53d9e2795a7791b9ddc06fba268a1eb408345bde58fa4fe
5
5
  SHA512:
6
- metadata.gz: 07a35cdaee9e56354e390857f24a3718e05c540d8314232d7eeb9b01e9263da82d3cda9e1c5169cb2d0ba49978dab82ea6090362a10e8491ee7d6107ae05c883
7
- data.tar.gz: 601b724573d14482384b15290f70b6a9a8a103ccb15cb0c5e0a296a089d518dcbd2d1b5ae2af1bea5e4ce62149fb7fb16ca65a982741bc746fda7f10a44c8cb0
6
+ metadata.gz: 50bd8d8eb9d8c38ea563e4ebf533a9fa6ba0043b6d5f158ddc86cc5f73ed628c37f076a8bbd91ed9b0e1a5db49349bbd15b4b4285af2287e04ce910a6f418d80
7
+ data.tar.gz: 1610fa0ffda1bdcc55f326b9ab78f58dcf5612a5cdbcf09b7f2b76bd035e18c8403236a22019a7d11992b5fd44235681f354fc9a97eb1aa85fdef2ad0707e7ae
@@ -1,5 +1,5 @@
1
1
  module Bard
2
2
  module Sass
3
- VERSION = "0.4.0"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
data/sass/bard-sass.scss CHANGED
@@ -1,4 +1,6 @@
1
1
  @charset "UTF-8";
2
+ @use "sass:list";
3
+ @use "sass:meta";
2
4
 
3
5
  /// Generates an `@font-face` declaration. You can choose the specific file
4
6
  /// formats you need to output; the mixin supports `eot`, `ttf`, `svg`, `woff2`
@@ -84,9 +86,9 @@
84
86
 
85
87
  @each $key, $values in $formats-map {
86
88
  @if _contains($file-formats, $key) {
87
- $file-path: nth($values, 1);
88
- $font-format: nth($values, 2);
89
- $src: append($src, font-url($file-path) $font-format, comma);
89
+ $file-path: list.nth($values, 1);
90
+ $font-format: list.nth($values, 2);
91
+ $src: list.append($src, font-url($file-path) $font-format, comma);
90
92
  }
91
93
  }
92
94
 
@@ -110,7 +112,7 @@
110
112
  $values...
111
113
  ) {
112
114
  @each $value in $values {
113
- @if type-of(index($list, $value)) != "number" {
115
+ @if meta.type-of(list.index($list, $value)) != "number" {
114
116
  @return false;
115
117
  }
116
118
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Gubitosa
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-01-25 00:00:00.000000000 Z
12
+ date: 2024-12-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  requirements: []
94
- rubygems_version: 3.5.4
94
+ rubygems_version: 3.2.32
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Sass files across all Bot and Rose projects