-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
text-stroke-color.scss
33 lines (33 loc) · 994 Bytes
/
text-stroke-color.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/// Not standered
/// @param {string} $value
/// @returns {CSS} - `Property: Value` with prefixed properties
/// @see {link} - https://developer.mozilla.org/en-US/docs/Web/CSS/text-stroke-color
/// @example - Available values
/// - `_color_`
/// - `initial`
/// - `inherit`
/// - `unset`
/// @example scss - Usage of text-stroke-color
/// .example-class {
/// @include text-stroke-color($value: blue);
/// }
/// @example css - Results of text-stroke-color
/// .example-class {
/// -webkit-text-stroke-color: blue;
/// -o-text-stroke-color: blue;
/// text-stroke-color: blue;
/// }
/// @requires {mixin} render-vendor-prefixes
/// @author S0AndS0
/// @license AGPL-3.0
@mixin text-stroke-color($value) {
@include render-vendor-prefixes(
$property: text-stroke-color,
$value: $value,
$vendor-list: (
-webkit, // Chrome 4-45, Safari 7.1-, Blackberry 7 and 10
-o, // Opera 15-29
),
$prefix: property,
);
}