@gettrx/core-styles 1.0.9 → 1.0.11

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.
@@ -1,30 +1,32 @@
1
+ $gtr-font-face-path: '/assets/fonts' !default;
2
+
1
3
  @font-face {
2
4
  font-family: 'Roboto';
3
5
  font-style: normal;
4
6
  font-weight: 100;
5
7
  font-display: auto;
6
- src: url('/assets/fonts/Roboto-Thin.ttf?') format('truetype');
8
+ src: url('#{$gtr-font-face-path}/Roboto-Thin.ttf?') format('truetype');
7
9
  }
8
10
  @font-face {
9
11
  font-family: 'Roboto';
10
12
  font-style: italic;
11
13
  font-weight: 100;
12
14
  font-display: auto;
13
- src: url('/assets/fonts/Roboto-ThinItalic.ttf?') format('truetype');
15
+ src: url('#{$gtr-font-face-path}/Roboto-ThinItalic.ttf?') format('truetype');
14
16
  }
15
17
  @font-face {
16
18
  font-family: 'Roboto';
17
19
  font-style: normal;
18
20
  font-weight: 300;
19
21
  font-display: auto;
20
- src: url('/assets/fonts/Roboto-Light.ttf?') format('truetype');
22
+ src: url('#{$gtr-font-face-path}/Roboto-Light.ttf?') format('truetype');
21
23
  }
22
24
  @font-face {
23
25
  font-family: 'Roboto';
24
26
  font-style: italic;
25
27
  font-weight: 300;
26
28
  font-display: auto;
27
- src: url('/assets/fonts/Roboto-LightItalic.ttf?') format('truetype');
29
+ src: url('#{$gtr-font-face-path}/Roboto-LightItalic.ttf?') format('truetype');
28
30
  }
29
31
 
30
32
  @font-face {
@@ -32,7 +34,7 @@
32
34
  font-style: normal;
33
35
  font-weight: 400;
34
36
  font-display: auto;
35
- src: url('/assets/fonts/Roboto-Regular.ttf?') format('truetype');
37
+ src: url('#{$gtr-font-face-path}/Roboto-Regular.ttf?') format('truetype');
36
38
  }
37
39
 
38
40
  @font-face {
@@ -40,7 +42,7 @@
40
42
  font-style: italic;
41
43
  font-weight: 400;
42
44
  font-display: auto;
43
- src: url('/assets/fonts/Roboto-Italic.ttf?') format('truetype');
45
+ src: url('#{$gtr-font-face-path}/Roboto-Italic.ttf?') format('truetype');
44
46
  }
45
47
 
46
48
  @font-face {
@@ -48,7 +50,7 @@
48
50
  font-style: normal;
49
51
  font-weight: 700;
50
52
  font-display: auto;
51
- src: url('/assets/fonts/Roboto-Bold.ttf?') format('truetype');
53
+ src: url('#{$gtr-font-face-path}/Roboto-Bold.ttf?') format('truetype');
52
54
  }
53
55
 
54
56
  @font-face {
@@ -56,7 +58,7 @@
56
58
  font-style: italic;
57
59
  font-weight: 700;
58
60
  font-display: auto;
59
- src: url('/assets/fonts/Roboto-BoldItalic.ttf?') format('truetype');
61
+ src: url('#{$gtr-font-face-path}/Roboto-BoldItalic.ttf?') format('truetype');
60
62
  }
61
63
 
62
64
  @font-face {
@@ -64,12 +66,12 @@
64
66
  font-style: normal;
65
67
  font-weight: 900;
66
68
  font-display: auto;
67
- src: url('/assets/fonts/Roboto-Black.ttf?') format('truetype');
69
+ src: url('#{$gtr-font-face-path}/Roboto-Black.ttf?') format('truetype');
68
70
  }
69
71
  @font-face {
70
72
  font-family: 'Roboto';
71
73
  font-style: italic;
72
74
  font-weight: 900;
73
75
  font-display: auto;
74
- src: url('/assets/fonts/Roboto-BlackItalic.ttf?') format('truetype');
76
+ src: url('#{$gtr-font-face-path}/Roboto-BlackItalic.ttf?') format('truetype');
75
77
  }
@@ -1,5 +1,5 @@
1
1
  $gtr-icon-font-family: 'Gettrx-Icon' !default;
2
- $gtr-icon-font-path: '../assets/fonts' !default;
2
+ $gtr-icon-font-path: '/assets/fonts' !default;
3
3
 
4
4
  @font-face {
5
5
  font-family: $gtr-icon-font-family;
@@ -29,10 +29,6 @@ $gtr-icon-font-path: '../assets/fonts' !default;
29
29
  @return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
30
30
  }
31
31
 
32
-
33
-
34
-
35
-
36
32
  // Do not edit directly
37
33
 
38
34
  .gtr-icon-zoom-question:before { content: unicode('e900'); }