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 +4 -4
- data/lib/bard/sass/version.rb +1 -1
- data/sass/bard-sass.scss +6 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fcb5bd7324609089183dec2aec63c272ed5e3af7a50842c22c5de208a5d2a33
|
4
|
+
data.tar.gz: 22803c9227d5cbadf53d9e2795a7791b9ddc06fba268a1eb408345bde58fa4fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50bd8d8eb9d8c38ea563e4ebf533a9fa6ba0043b6d5f158ddc86cc5f73ed628c37f076a8bbd91ed9b0e1a5db49349bbd15b4b4285af2287e04ce910a6f418d80
|
7
|
+
data.tar.gz: 1610fa0ffda1bdcc55f326b9ab78f58dcf5612a5cdbcf09b7f2b76bd035e18c8403236a22019a7d11992b5fd44235681f354fc9a97eb1aa85fdef2ad0707e7ae
|
data/lib/bard/sass/version.rb
CHANGED
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
|
+
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-
|
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.
|
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
|