@fontsource/jura 5.0.2 → 5.0.3

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.
Files changed (56) hide show
  1. package/300.css +8 -8
  2. package/400.css +8 -8
  3. package/500.css +8 -8
  4. package/600.css +8 -8
  5. package/700.css +8 -8
  6. package/cyrillic-300.css +1 -1
  7. package/cyrillic-400.css +1 -1
  8. package/cyrillic-500.css +1 -1
  9. package/cyrillic-600.css +1 -1
  10. package/cyrillic-700.css +1 -1
  11. package/cyrillic-ext-300.css +1 -1
  12. package/cyrillic-ext-400.css +1 -1
  13. package/cyrillic-ext-500.css +1 -1
  14. package/cyrillic-ext-600.css +1 -1
  15. package/cyrillic-ext-700.css +1 -1
  16. package/cyrillic-ext.css +5 -5
  17. package/cyrillic.css +5 -5
  18. package/greek-300.css +1 -1
  19. package/greek-400.css +1 -1
  20. package/greek-500.css +1 -1
  21. package/greek-600.css +1 -1
  22. package/greek-700.css +1 -1
  23. package/greek-ext-300.css +1 -1
  24. package/greek-ext-400.css +1 -1
  25. package/greek-ext-500.css +1 -1
  26. package/greek-ext-600.css +1 -1
  27. package/greek-ext-700.css +1 -1
  28. package/greek-ext.css +5 -5
  29. package/greek.css +5 -5
  30. package/index.css +8 -8
  31. package/kayah-li-300.css +1 -1
  32. package/kayah-li-400.css +1 -1
  33. package/kayah-li-500.css +1 -1
  34. package/kayah-li-600.css +1 -1
  35. package/kayah-li-700.css +1 -1
  36. package/kayah-li.css +5 -5
  37. package/latin-300.css +1 -1
  38. package/latin-400.css +1 -1
  39. package/latin-500.css +1 -1
  40. package/latin-600.css +1 -1
  41. package/latin-700.css +1 -1
  42. package/latin-ext-300.css +1 -1
  43. package/latin-ext-400.css +1 -1
  44. package/latin-ext-500.css +1 -1
  45. package/latin-ext-600.css +1 -1
  46. package/latin-ext-700.css +1 -1
  47. package/latin-ext.css +5 -5
  48. package/latin.css +5 -5
  49. package/package.json +2 -2
  50. package/scss/mixins.scss +19 -10
  51. package/vietnamese-300.css +1 -1
  52. package/vietnamese-400.css +1 -1
  53. package/vietnamese-500.css +1 -1
  54. package/vietnamese-600.css +1 -1
  55. package/vietnamese-700.css +1 -1
  56. package/vietnamese.css +5 -5
package/greek-ext.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 300;
7
7
  src: url(./files/jura-greek-ext-300-normal.woff2) format('woff2'), url(./files/jura-greek-ext-300-normal.woff) format('woff');
8
8
  }
@@ -11,7 +11,7 @@
11
11
  @font-face {
12
12
  font-family: 'Jura';
13
13
  font-style: normal;
14
- font-display: var(--fontsource-display, swap);
14
+ font-display: swap;
15
15
  font-weight: 400;
16
16
  src: url(./files/jura-greek-ext-400-normal.woff2) format('woff2'), url(./files/jura-greek-ext-400-normal.woff) format('woff');
17
17
  }
@@ -20,7 +20,7 @@
20
20
  @font-face {
21
21
  font-family: 'Jura';
22
22
  font-style: normal;
23
- font-display: var(--fontsource-display, swap);
23
+ font-display: swap;
24
24
  font-weight: 500;
25
25
  src: url(./files/jura-greek-ext-500-normal.woff2) format('woff2'), url(./files/jura-greek-ext-500-normal.woff) format('woff');
26
26
  }
@@ -29,7 +29,7 @@
29
29
  @font-face {
30
30
  font-family: 'Jura';
31
31
  font-style: normal;
32
- font-display: var(--fontsource-display, swap);
32
+ font-display: swap;
33
33
  font-weight: 600;
34
34
  src: url(./files/jura-greek-ext-600-normal.woff2) format('woff2'), url(./files/jura-greek-ext-600-normal.woff) format('woff');
35
35
  }
@@ -38,7 +38,7 @@
38
38
  @font-face {
39
39
  font-family: 'Jura';
40
40
  font-style: normal;
41
- font-display: var(--fontsource-display, swap);
41
+ font-display: swap;
42
42
  font-weight: 700;
43
43
  src: url(./files/jura-greek-ext-700-normal.woff2) format('woff2'), url(./files/jura-greek-ext-700-normal.woff) format('woff');
44
44
  }
package/greek.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 300;
7
7
  src: url(./files/jura-greek-300-normal.woff2) format('woff2'), url(./files/jura-greek-300-normal.woff) format('woff');
8
8
  }
@@ -11,7 +11,7 @@
11
11
  @font-face {
12
12
  font-family: 'Jura';
13
13
  font-style: normal;
14
- font-display: var(--fontsource-display, swap);
14
+ font-display: swap;
15
15
  font-weight: 400;
16
16
  src: url(./files/jura-greek-400-normal.woff2) format('woff2'), url(./files/jura-greek-400-normal.woff) format('woff');
17
17
  }
@@ -20,7 +20,7 @@
20
20
  @font-face {
21
21
  font-family: 'Jura';
22
22
  font-style: normal;
23
- font-display: var(--fontsource-display, swap);
23
+ font-display: swap;
24
24
  font-weight: 500;
25
25
  src: url(./files/jura-greek-500-normal.woff2) format('woff2'), url(./files/jura-greek-500-normal.woff) format('woff');
26
26
  }
@@ -29,7 +29,7 @@
29
29
  @font-face {
30
30
  font-family: 'Jura';
31
31
  font-style: normal;
32
- font-display: var(--fontsource-display, swap);
32
+ font-display: swap;
33
33
  font-weight: 600;
34
34
  src: url(./files/jura-greek-600-normal.woff2) format('woff2'), url(./files/jura-greek-600-normal.woff) format('woff');
35
35
  }
@@ -38,7 +38,7 @@
38
38
  @font-face {
39
39
  font-family: 'Jura';
40
40
  font-style: normal;
41
- font-display: var(--fontsource-display, swap);
41
+ font-display: swap;
42
42
  font-weight: 700;
43
43
  src: url(./files/jura-greek-700-normal.woff2) format('woff2'), url(./files/jura-greek-700-normal.woff) format('woff');
44
44
  }
package/index.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 400;
7
7
  src: url(./files/jura-cyrillic-ext-400-normal.woff2) format('woff2'), url(./files/jura-cyrillic-ext-400-normal.woff) format('woff');
8
8
  unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
@@ -12,7 +12,7 @@
12
12
  @font-face {
13
13
  font-family: 'Jura';
14
14
  font-style: normal;
15
- font-display: var(--fontsource-display, swap);
15
+ font-display: swap;
16
16
  font-weight: 400;
17
17
  src: url(./files/jura-cyrillic-400-normal.woff2) format('woff2'), url(./files/jura-cyrillic-400-normal.woff) format('woff');
18
18
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
@@ -22,7 +22,7 @@
22
22
  @font-face {
23
23
  font-family: 'Jura';
24
24
  font-style: normal;
25
- font-display: var(--fontsource-display, swap);
25
+ font-display: swap;
26
26
  font-weight: 400;
27
27
  src: url(./files/jura-greek-ext-400-normal.woff2) format('woff2'), url(./files/jura-greek-ext-400-normal.woff) format('woff');
28
28
  unicode-range: U+1F00-1FFF;
@@ -32,7 +32,7 @@
32
32
  @font-face {
33
33
  font-family: 'Jura';
34
34
  font-style: normal;
35
- font-display: var(--fontsource-display, swap);
35
+ font-display: swap;
36
36
  font-weight: 400;
37
37
  src: url(./files/jura-greek-400-normal.woff2) format('woff2'), url(./files/jura-greek-400-normal.woff) format('woff');
38
38
  unicode-range: U+0370-03FF;
@@ -42,7 +42,7 @@
42
42
  @font-face {
43
43
  font-family: 'Jura';
44
44
  font-style: normal;
45
- font-display: var(--fontsource-display, swap);
45
+ font-display: swap;
46
46
  font-weight: 400;
47
47
  src: url(./files/jura-kayah-li-400-normal.woff2) format('woff2'), url(./files/jura-kayah-li-400-normal.woff) format('woff');
48
48
  unicode-range: U+200C-200D,U+2010,U+25CC,U+A900-A92F;
@@ -52,7 +52,7 @@
52
52
  @font-face {
53
53
  font-family: 'Jura';
54
54
  font-style: normal;
55
- font-display: var(--fontsource-display, swap);
55
+ font-display: swap;
56
56
  font-weight: 400;
57
57
  src: url(./files/jura-vietnamese-400-normal.woff2) format('woff2'), url(./files/jura-vietnamese-400-normal.woff) format('woff');
58
58
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
@@ -62,7 +62,7 @@
62
62
  @font-face {
63
63
  font-family: 'Jura';
64
64
  font-style: normal;
65
- font-display: var(--fontsource-display, swap);
65
+ font-display: swap;
66
66
  font-weight: 400;
67
67
  src: url(./files/jura-latin-ext-400-normal.woff2) format('woff2'), url(./files/jura-latin-ext-400-normal.woff) format('woff');
68
68
  unicode-range: U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
@@ -72,7 +72,7 @@
72
72
  @font-face {
73
73
  font-family: 'Jura';
74
74
  font-style: normal;
75
- font-display: var(--fontsource-display, swap);
75
+ font-display: swap;
76
76
  font-weight: 400;
77
77
  src: url(./files/jura-latin-400-normal.woff2) format('woff2'), url(./files/jura-latin-400-normal.woff) format('woff');
78
78
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
package/kayah-li-300.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 300;
7
7
  src: url(./files/jura-kayah-li-300-normal.woff2) format('woff2'), url(./files/jura-kayah-li-300-normal.woff) format('woff');
8
8
  }
package/kayah-li-400.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 400;
7
7
  src: url(./files/jura-kayah-li-400-normal.woff2) format('woff2'), url(./files/jura-kayah-li-400-normal.woff) format('woff');
8
8
  }
package/kayah-li-500.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 500;
7
7
  src: url(./files/jura-kayah-li-500-normal.woff2) format('woff2'), url(./files/jura-kayah-li-500-normal.woff) format('woff');
8
8
  }
package/kayah-li-600.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 600;
7
7
  src: url(./files/jura-kayah-li-600-normal.woff2) format('woff2'), url(./files/jura-kayah-li-600-normal.woff) format('woff');
8
8
  }
package/kayah-li-700.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 700;
7
7
  src: url(./files/jura-kayah-li-700-normal.woff2) format('woff2'), url(./files/jura-kayah-li-700-normal.woff) format('woff');
8
8
  }
package/kayah-li.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 300;
7
7
  src: url(./files/jura-kayah-li-300-normal.woff2) format('woff2'), url(./files/jura-kayah-li-300-normal.woff) format('woff');
8
8
  }
@@ -11,7 +11,7 @@
11
11
  @font-face {
12
12
  font-family: 'Jura';
13
13
  font-style: normal;
14
- font-display: var(--fontsource-display, swap);
14
+ font-display: swap;
15
15
  font-weight: 400;
16
16
  src: url(./files/jura-kayah-li-400-normal.woff2) format('woff2'), url(./files/jura-kayah-li-400-normal.woff) format('woff');
17
17
  }
@@ -20,7 +20,7 @@
20
20
  @font-face {
21
21
  font-family: 'Jura';
22
22
  font-style: normal;
23
- font-display: var(--fontsource-display, swap);
23
+ font-display: swap;
24
24
  font-weight: 500;
25
25
  src: url(./files/jura-kayah-li-500-normal.woff2) format('woff2'), url(./files/jura-kayah-li-500-normal.woff) format('woff');
26
26
  }
@@ -29,7 +29,7 @@
29
29
  @font-face {
30
30
  font-family: 'Jura';
31
31
  font-style: normal;
32
- font-display: var(--fontsource-display, swap);
32
+ font-display: swap;
33
33
  font-weight: 600;
34
34
  src: url(./files/jura-kayah-li-600-normal.woff2) format('woff2'), url(./files/jura-kayah-li-600-normal.woff) format('woff');
35
35
  }
@@ -38,7 +38,7 @@
38
38
  @font-face {
39
39
  font-family: 'Jura';
40
40
  font-style: normal;
41
- font-display: var(--fontsource-display, swap);
41
+ font-display: swap;
42
42
  font-weight: 700;
43
43
  src: url(./files/jura-kayah-li-700-normal.woff2) format('woff2'), url(./files/jura-kayah-li-700-normal.woff) format('woff');
44
44
  }
package/latin-300.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 300;
7
7
  src: url(./files/jura-latin-300-normal.woff2) format('woff2'), url(./files/jura-latin-300-normal.woff) format('woff');
8
8
  }
package/latin-400.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 400;
7
7
  src: url(./files/jura-latin-400-normal.woff2) format('woff2'), url(./files/jura-latin-400-normal.woff) format('woff');
8
8
  }
package/latin-500.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 500;
7
7
  src: url(./files/jura-latin-500-normal.woff2) format('woff2'), url(./files/jura-latin-500-normal.woff) format('woff');
8
8
  }
package/latin-600.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 600;
7
7
  src: url(./files/jura-latin-600-normal.woff2) format('woff2'), url(./files/jura-latin-600-normal.woff) format('woff');
8
8
  }
package/latin-700.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 700;
7
7
  src: url(./files/jura-latin-700-normal.woff2) format('woff2'), url(./files/jura-latin-700-normal.woff) format('woff');
8
8
  }
package/latin-ext-300.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 300;
7
7
  src: url(./files/jura-latin-ext-300-normal.woff2) format('woff2'), url(./files/jura-latin-ext-300-normal.woff) format('woff');
8
8
  }
package/latin-ext-400.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 400;
7
7
  src: url(./files/jura-latin-ext-400-normal.woff2) format('woff2'), url(./files/jura-latin-ext-400-normal.woff) format('woff');
8
8
  }
package/latin-ext-500.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 500;
7
7
  src: url(./files/jura-latin-ext-500-normal.woff2) format('woff2'), url(./files/jura-latin-ext-500-normal.woff) format('woff');
8
8
  }
package/latin-ext-600.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 600;
7
7
  src: url(./files/jura-latin-ext-600-normal.woff2) format('woff2'), url(./files/jura-latin-ext-600-normal.woff) format('woff');
8
8
  }
package/latin-ext-700.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 700;
7
7
  src: url(./files/jura-latin-ext-700-normal.woff2) format('woff2'), url(./files/jura-latin-ext-700-normal.woff) format('woff');
8
8
  }
package/latin-ext.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 300;
7
7
  src: url(./files/jura-latin-ext-300-normal.woff2) format('woff2'), url(./files/jura-latin-ext-300-normal.woff) format('woff');
8
8
  }
@@ -11,7 +11,7 @@
11
11
  @font-face {
12
12
  font-family: 'Jura';
13
13
  font-style: normal;
14
- font-display: var(--fontsource-display, swap);
14
+ font-display: swap;
15
15
  font-weight: 400;
16
16
  src: url(./files/jura-latin-ext-400-normal.woff2) format('woff2'), url(./files/jura-latin-ext-400-normal.woff) format('woff');
17
17
  }
@@ -20,7 +20,7 @@
20
20
  @font-face {
21
21
  font-family: 'Jura';
22
22
  font-style: normal;
23
- font-display: var(--fontsource-display, swap);
23
+ font-display: swap;
24
24
  font-weight: 500;
25
25
  src: url(./files/jura-latin-ext-500-normal.woff2) format('woff2'), url(./files/jura-latin-ext-500-normal.woff) format('woff');
26
26
  }
@@ -29,7 +29,7 @@
29
29
  @font-face {
30
30
  font-family: 'Jura';
31
31
  font-style: normal;
32
- font-display: var(--fontsource-display, swap);
32
+ font-display: swap;
33
33
  font-weight: 600;
34
34
  src: url(./files/jura-latin-ext-600-normal.woff2) format('woff2'), url(./files/jura-latin-ext-600-normal.woff) format('woff');
35
35
  }
@@ -38,7 +38,7 @@
38
38
  @font-face {
39
39
  font-family: 'Jura';
40
40
  font-style: normal;
41
- font-display: var(--fontsource-display, swap);
41
+ font-display: swap;
42
42
  font-weight: 700;
43
43
  src: url(./files/jura-latin-ext-700-normal.woff2) format('woff2'), url(./files/jura-latin-ext-700-normal.woff) format('woff');
44
44
  }
package/latin.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 300;
7
7
  src: url(./files/jura-latin-300-normal.woff2) format('woff2'), url(./files/jura-latin-300-normal.woff) format('woff');
8
8
  }
@@ -11,7 +11,7 @@
11
11
  @font-face {
12
12
  font-family: 'Jura';
13
13
  font-style: normal;
14
- font-display: var(--fontsource-display, swap);
14
+ font-display: swap;
15
15
  font-weight: 400;
16
16
  src: url(./files/jura-latin-400-normal.woff2) format('woff2'), url(./files/jura-latin-400-normal.woff) format('woff');
17
17
  }
@@ -20,7 +20,7 @@
20
20
  @font-face {
21
21
  font-family: 'Jura';
22
22
  font-style: normal;
23
- font-display: var(--fontsource-display, swap);
23
+ font-display: swap;
24
24
  font-weight: 500;
25
25
  src: url(./files/jura-latin-500-normal.woff2) format('woff2'), url(./files/jura-latin-500-normal.woff) format('woff');
26
26
  }
@@ -29,7 +29,7 @@
29
29
  @font-face {
30
30
  font-family: 'Jura';
31
31
  font-style: normal;
32
- font-display: var(--fontsource-display, swap);
32
+ font-display: swap;
33
33
  font-weight: 600;
34
34
  src: url(./files/jura-latin-600-normal.woff2) format('woff2'), url(./files/jura-latin-600-normal.woff) format('woff');
35
35
  }
@@ -38,7 +38,7 @@
38
38
  @font-face {
39
39
  font-family: 'Jura';
40
40
  font-style: normal;
41
- font-display: var(--fontsource-display, swap);
41
+ font-display: swap;
42
42
  font-weight: 700;
43
43
  src: url(./files/jura-latin-700-normal.woff2) format('woff2'), url(./files/jura-latin-700-normal.woff) format('woff');
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fontsource/jura",
3
- "version": "5.0.2",
3
+ "version": "5.0.3",
4
4
  "description": "Self-host the Jura font in a neatly bundled NPM package.",
5
5
  "main": "index.css",
6
6
  "publishConfig": {"access": "public"},
@@ -26,5 +26,5 @@
26
26
  "url": "https://github.com/fontsource/font-files.git",
27
27
  "directory": "fonts/google/jura"
28
28
  },
29
- "publishHash": "006b876bfa01eb82"
29
+ "publishHash": "b56328dacff13f40"
30
30
  }
package/scss/mixins.scss CHANGED
@@ -11,25 +11,33 @@ $directory: null !default;
11
11
 
12
12
  $family: null !default;
13
13
  $display: null !default;
14
- $displayVar: null !default;
15
14
  $formats: null !default;
16
15
  $subsets: null !default;
17
16
  $weights: null !default;
18
17
  $styles: null !default;
19
18
  $axes: null !default;
20
19
 
20
+ // Deprecated
21
+ $displayVar: null !default;
22
+
21
23
  @mixin generator(
22
24
  $metadata: $metadata,
23
25
  $directory: $directory,
24
26
  $family: $family,
25
27
  $display: $display,
26
- $displayVar: $displayVar,
27
28
  $formats: $formats,
28
29
  $subsets: $subsets,
29
30
  $weights: $weights,
30
31
  $styles: $styles,
31
- $axes: $axes
32
+ $axes: $axes,
33
+
34
+ // Deprecated
35
+ $displayVar: $displayVar
32
36
  ) {
37
+ @if $displayVar != null {
38
+ @warn "$displayVar is deprecated due to the limitation of using css variables in @font-face (https://github.com/fontsource/fontsource/issues/726).";
39
+ }
40
+
33
41
  $isVariable: map.get($metadata, axes) != null;
34
42
 
35
43
  $directory: if(
@@ -40,7 +48,6 @@ $axes: null !default;
40
48
 
41
49
  $family: if($family, $family, map.get($metadata, family) + if($isVariable, ' Variable', ''));
42
50
  $display: if($display, $display, swap);
43
- $displayVar: if($displayVar != null, $displayVar, true);
44
51
  $formats: if(not $formats or $formats == all, if($isVariable, woff2, (woff2, woff)), $formats);
45
52
  $subsets: if(
46
53
  $subsets,
@@ -93,7 +100,6 @@ $axes: null !default;
93
100
  directory: $directory,
94
101
  family: $family,
95
102
  display: $display,
96
- displayVar: $displayVar,
97
103
  formats: $formats,
98
104
  subsets: $subsets,
99
105
  weights: $weights,
@@ -114,7 +120,7 @@ $axes: null !default;
114
120
  oblique map.get($metadata, axes, slnt, min) + deg map.get($metadata, axes, slnt, max) + deg,
115
121
  $style
116
122
  ),
117
- font-display: if($displayVar, var(--fontsource-display, $display), $display),
123
+ font-display: $display,
118
124
  font-weight: if(
119
125
  (($axis == full) or ($axis == wght)) and map.has-key($metadata, axes, wght),
120
126
  map.get($metadata, axes, wght, min) map.get($metadata, axes, wght, max),
@@ -141,24 +147,27 @@ $axes: null !default;
141
147
  $directory: $directory,
142
148
  $family: $family,
143
149
  $display: $display,
144
- $displayVar: $displayVar,
145
150
  $formats: $formats,
146
151
  $subsets: $subsets,
147
152
  $weights: $weights,
148
153
  $styles: $styles,
149
- $axes: $axes
154
+ $axes: $axes,
155
+
156
+ // Deprecated
157
+ $displayVar: $displayVar
150
158
  ) {
151
159
  @include generator(
152
160
  $metadata: $metadata,
153
161
  $directory: $directory,
154
162
  $family: $family,
155
163
  $display: $display,
156
- $displayVar: $displayVar,
157
164
  $formats: $formats,
158
165
  $subsets: $subsets,
159
166
  $weights: $weights,
160
167
  $styles: $styles,
161
- $axes: $axes
168
+ $axes: $axes,
169
+
170
+ $displayVar: $displayVar
162
171
  )
163
172
  using ($props) {
164
173
  /* #{map.get($props, variant)} */
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 300;
7
7
  src: url(./files/jura-vietnamese-300-normal.woff2) format('woff2'), url(./files/jura-vietnamese-300-normal.woff) format('woff');
8
8
  }
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 400;
7
7
  src: url(./files/jura-vietnamese-400-normal.woff2) format('woff2'), url(./files/jura-vietnamese-400-normal.woff) format('woff');
8
8
  }
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 500;
7
7
  src: url(./files/jura-vietnamese-500-normal.woff2) format('woff2'), url(./files/jura-vietnamese-500-normal.woff) format('woff');
8
8
  }
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 600;
7
7
  src: url(./files/jura-vietnamese-600-normal.woff2) format('woff2'), url(./files/jura-vietnamese-600-normal.woff) format('woff');
8
8
  }
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 700;
7
7
  src: url(./files/jura-vietnamese-700-normal.woff2) format('woff2'), url(./files/jura-vietnamese-700-normal.woff) format('woff');
8
8
  }
package/vietnamese.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face {
3
3
  font-family: 'Jura';
4
4
  font-style: normal;
5
- font-display: var(--fontsource-display, swap);
5
+ font-display: swap;
6
6
  font-weight: 300;
7
7
  src: url(./files/jura-vietnamese-300-normal.woff2) format('woff2'), url(./files/jura-vietnamese-300-normal.woff) format('woff');
8
8
  }
@@ -11,7 +11,7 @@
11
11
  @font-face {
12
12
  font-family: 'Jura';
13
13
  font-style: normal;
14
- font-display: var(--fontsource-display, swap);
14
+ font-display: swap;
15
15
  font-weight: 400;
16
16
  src: url(./files/jura-vietnamese-400-normal.woff2) format('woff2'), url(./files/jura-vietnamese-400-normal.woff) format('woff');
17
17
  }
@@ -20,7 +20,7 @@
20
20
  @font-face {
21
21
  font-family: 'Jura';
22
22
  font-style: normal;
23
- font-display: var(--fontsource-display, swap);
23
+ font-display: swap;
24
24
  font-weight: 500;
25
25
  src: url(./files/jura-vietnamese-500-normal.woff2) format('woff2'), url(./files/jura-vietnamese-500-normal.woff) format('woff');
26
26
  }
@@ -29,7 +29,7 @@
29
29
  @font-face {
30
30
  font-family: 'Jura';
31
31
  font-style: normal;
32
- font-display: var(--fontsource-display, swap);
32
+ font-display: swap;
33
33
  font-weight: 600;
34
34
  src: url(./files/jura-vietnamese-600-normal.woff2) format('woff2'), url(./files/jura-vietnamese-600-normal.woff) format('woff');
35
35
  }
@@ -38,7 +38,7 @@
38
38
  @font-face {
39
39
  font-family: 'Jura';
40
40
  font-style: normal;
41
- font-display: var(--fontsource-display, swap);
41
+ font-display: swap;
42
42
  font-weight: 700;
43
43
  src: url(./files/jura-vietnamese-700-normal.woff2) format('woff2'), url(./files/jura-vietnamese-700-normal.woff) format('woff');
44
44
  }