shift-ui-kit 0.0.42 → 0.0.43

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4c90f220d7f20f68316c3ff278c4d89b0d74fda
4
- data.tar.gz: a991d3650f36e7404129c3247db29999e464ce65
3
+ metadata.gz: c9b6860b8677412e21955c0b65a099034c595faa
4
+ data.tar.gz: 554ed2de0a9505e3312940ffeae879056bff7d86
5
5
  SHA512:
6
- metadata.gz: b5265b1cab5236b504f6774390c3172f32d453443d6712768b4e2988131aae2318a4b084aa976efd3fa12f1124e7f4c4d490e6dabaec2e7825b6e2252b464c2f
7
- data.tar.gz: 976ee000a4d58cb1de9bac1a367e2b185634bd6189a28af435d3bbacf5335c05557c8b41fe9d58abe6b5b91ac0bb6f0a149dcb587d51dfdbff7357aeb0c16935
6
+ metadata.gz: 1c4fef311ba3d42933744698d1f20201c16345635aeb65e272aa21432c1799e0f72559d68b63b29a18b5e19fc6707e0d3d9610e659c29730037a6770e3eb3196
7
+ data.tar.gz: 377b006892dace5cfdd207e996fe5b528be203bce17c51672868d71a0e6631b5bbf7b665b3635a339be5f8fd0a8dbc9b7406b62aa82af42db6b49e195fb5fa20
@@ -2,30 +2,50 @@
2
2
  font-family: 'DIN Next';
3
3
  font-style: normal;
4
4
  font-weight: normal;
5
- src: url("/assets/fonts/din_next_regular.woff2") format("woff2"),
6
- url("/assets/fonts/din_next_regular.woff") format("woff");
5
+ @if function-exists(font-url) {
6
+ src: font-url("din_next_regular.woff2") format("woff2"),
7
+ font-url("din_next_regular.woff") format("woff");
8
+ } @else {
9
+ src: url("/assets/fonts/din_next_regular.woff2") format("woff2"),
10
+ url("/assets/fonts/din_next_regular.woff") format("woff");
11
+ }
7
12
  }
8
13
 
9
14
  @font-face {
10
15
  font-family: 'DIN Next';
11
16
  font-style: normal;
12
17
  font-weight: bold;
13
- src: url("/assets/fonts/din_next_medium.woff2") format("woff2"),
14
- url("/assets/fonts/din_next_medium.woff") format("woff");
18
+ @if function-exists(font-url) {
19
+ src: font-url("din_next_medium.woff2") format("woff2"),
20
+ font-url("din_next_medium.woff") format("woff");
21
+ } @else {
22
+ src: url("/assets/fonts/din_next_medium.woff2") format("woff2"),
23
+ url("/assets/fonts/din_next_medium.woff") format("woff");
24
+ }
15
25
  }
16
26
 
17
27
  @font-face {
18
28
  font-family: 'DIN Next';
19
29
  font-style: normal;
20
30
  font-weight: lighter;
21
- src: url("/assets/fonts/din_next_light.woff2") format("woff2"),
22
- url("/assets/fonts/din_next_light.woff") format("woff");
31
+ @if function-exists(font-url) {
32
+ src: font-url("din_next_light.woff2") format("woff2"),
33
+ font-url("din_next_light.woff") format("woff");
34
+ } @else {
35
+ src: url("/assets/fonts/din_next_light.woff2") format("woff2"),
36
+ url("/assets/fonts/din_next_light.woff") format("woff");
37
+ }
23
38
  }
24
39
 
25
40
  @font-face {
26
41
  font-family: 'DIN Next';
27
42
  font-style: italic;
28
43
  font-weight: normal;
29
- src: url("/assets/fonts/din_next_light_italic.woff2") format("woff2"),
30
- url("/assets/fonts/din_next_light_italic.woff") format("woff");
44
+ @if function-exists(font-url) {
45
+ src: font-url("din_next_light_italic.woff2") format("woff2"),
46
+ font-url("din_next_light_italic.woff") format("woff");
47
+ } @else {
48
+ src: url("/assets/fonts/din_next_light_italic.woff2") format("woff2"),
49
+ url("/assets/fonts/din_next_light_italic.woff") format("woff");
50
+ }
31
51
  }
@@ -17,13 +17,21 @@
17
17
  &--checked#{&}--determinate {
18
18
  border-width: 0;
19
19
  background-color: $color-info;
20
- background-image: url("/assets/images/checkbox--determinate-checked.svg");
20
+ @if function-exists(image-url) {
21
+ background-image: image-url("checkbox--determinate-checked.svg");
22
+ } @else {
23
+ background-image: url("/assets/images/checkbox--determinate-checked.svg");
24
+ }
21
25
  }
22
26
 
23
27
  &--checked#{&}--indeterminate {
24
28
  border-width: 0;
25
29
  background-color: $color-info;
26
- background-image: url("/assets/images/checkbox--indeterminate-checked.svg");
30
+ @if function-exists(image-url) {
31
+ background-image: image-url("checkbox--indeterminate-checked.svg");
32
+ } @else {
33
+ background-image: url("/assets/images/checkbox--indeterminate-checked.svg");
34
+ }
27
35
  }
28
36
 
29
37
  &--disabled#{&}--disabled {
@@ -21,7 +21,12 @@
21
21
  top: 0;
22
22
  bottom: 0;
23
23
  right: 15px;
24
- background: url("/assets/images/dropdown-arrow.svg") center center no-repeat;
24
+ background: center center no-repeat;
25
+ @if function-exists(image-url) {
26
+ background-image: image-url("dropdown-arrow.svg");
27
+ } @else {
28
+ background-image: url("/assets/images/dropdown-arrow.svg");
29
+ }
25
30
  background-size: 14px auto;
26
31
  opacity: 0.3;
27
32
  transition: opacity 0.2s ease;
@@ -12,7 +12,12 @@
12
12
  width: 50px;
13
13
  flex-grow: 0;
14
14
  flex-shrink: 0;
15
- background: url("/assets/images/logo.svg") center center no-repeat;
15
+ background: center center no-repeat;
16
+ @if function-exists(image-url) {
17
+ background-image: image-url("logo.svg");
18
+ } @else {
19
+ background-image: url("/assets/images/logo.svg");
20
+ }
16
21
  background-size: 60% auto;
17
22
  opacity: 0.6;
18
23
  }
@@ -51,7 +51,11 @@
51
51
 
52
52
  @each $icon in $icons {
53
53
  &--#{$icon} {
54
- background-image: url("/assets/images/section-heading-icons/#{$icon}.svg");
54
+ @if function-exists(image-url) {
55
+ background-image: image-url("section-heading-icons/#{$icon}.svg");
56
+ } @else {
57
+ background-image: url("/assets/images/section-heading-icons/#{$icon}.svg");
58
+ }
55
59
  }
56
60
  }
57
61
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shift-ui-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.42
4
+ version: 0.0.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Townsend