bard-sass 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bard/sass/version.rb +1 -1
- data/sass/bard-sass.scss +25 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a4975a203b021cd07c6c646e8d177084d07e76b
|
4
|
+
data.tar.gz: d42aed95009cf90983f76fcc12bfa0955df97c0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d903b8eb8b859fbf2a48d000bde322c08df3e4c70c8ac2f09ab78d72d4ad4dca1b937b7d73fc2858329c1b3afa7638cba407c24e6991811529552fcce837f309
|
7
|
+
data.tar.gz: c89afdc77b47404cf94926af085ad8d6c7af101a5981a469d7a2b9dc6375d6c4be1248553b5c5d46a6aee3cf0ecdd6fff41f06796ec8c5e71407532dc20450ca
|
data/lib/bard/sass/version.rb
CHANGED
data/sass/bard-sass.scss
CHANGED
@@ -38,7 +38,7 @@
|
|
38
38
|
@mixin font-face(
|
39
39
|
$font-family,
|
40
40
|
$file-path,
|
41
|
-
$file-formats
|
41
|
+
$file-formats
|
42
42
|
) {
|
43
43
|
@font-face {
|
44
44
|
font-family: $font-family;
|
@@ -93,3 +93,27 @@
|
|
93
93
|
@return $src;
|
94
94
|
}
|
95
95
|
|
96
|
+
/// Checks if a list contains a value(s).
|
97
|
+
///
|
98
|
+
/// @argument {list} $list
|
99
|
+
/// The list to check against.
|
100
|
+
///
|
101
|
+
/// @argument {list} $values
|
102
|
+
/// A single value or list of values to check for.
|
103
|
+
///
|
104
|
+
/// @return {boolean}
|
105
|
+
///
|
106
|
+
/// @access private
|
107
|
+
|
108
|
+
@function _contains(
|
109
|
+
$list,
|
110
|
+
$values...
|
111
|
+
) {
|
112
|
+
@each $value in $values {
|
113
|
+
@if type-of(index($list, $value)) != "number" {
|
114
|
+
@return false;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
@return true;
|
119
|
+
}
|