@jsonresume/jsonresume-theme-professional 1.0.29 → 1.0.30

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @jsonresume/jsonresume-theme-professional
2
2
 
3
+ ## 1.0.30
4
+
5
+ ### Patch Changes
6
+
7
+ - e327eb3: Load Latin Modern from https://jsonresume.org/fonts/ (served with CORS), so the theme shows in its own typeface wherever it renders, a PDF or a resume built with resume-cli, and fall back to a serif rather than Courier. Drop the Latin Modern Sans faces it declared but never used.
8
+ - Updated dependencies [a6ba9ed]
9
+ - @jsonresume/core@0.4.0
10
+
3
11
  ## 1.0.29
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -2861,47 +2861,25 @@ const render = (resume) => {
2861
2861
  font-style: normal;
2862
2862
  font-weight: normal;
2863
2863
  font-display: swap;
2864
- src: url("/fonts/lmroman10-regular.otf") format("opentype");
2864
+ src: url("https://jsonresume.org/fonts/lmroman10-regular.otf") format("opentype");
2865
2865
  }
2866
2866
 
2867
2867
  @font-face {
2868
2868
  font-family: LatinModern;
2869
2869
  font-weight: bold;
2870
2870
  font-display: swap;
2871
- src: url("/fonts/lmroman10-bold.otf") format("opentype");
2871
+ src: url("https://jsonresume.org/fonts/lmroman10-bold.otf") format("opentype");
2872
2872
  }
2873
2873
 
2874
2874
  @font-face {
2875
2875
  font-family: LatinModern;
2876
2876
  font-style: italic;
2877
2877
  font-display: swap;
2878
- src: url("/fonts/lmroman10-italic.otf") format("opentype");
2879
- }
2880
-
2881
- @font-face {
2882
- font-family: LatinModernSans;
2883
- font-style: normal;
2884
- font-weight: normal;
2885
- font-display: swap;
2886
- src: url("/fonts/lmsans10-regular.otf") format("opentype");
2887
- }
2888
-
2889
- @font-face {
2890
- font-family: LatinModernSans;
2891
- font-weight: bold;
2892
- font-display: swap;
2893
- src: url("/fonts/lmsans10-bold.otf") format("opentype");
2894
- }
2895
-
2896
- @font-face {
2897
- font-family: LatinModernSans;
2898
- font-style: italic;
2899
- font-display: swap;
2900
- src: url("/fonts/lmsans10-italic.otf") format("opentype");
2878
+ src: url("https://jsonresume.org/fonts/lmroman10-italic.otf") format("opentype");
2901
2879
  }
2902
2880
 
2903
2881
  html {
2904
- font-family:LatinModern, "Courier New", monospace;
2882
+ font-family: LatinModern, "Latin Modern Roman", Georgia, serif;
2905
2883
  background: #fff;
2906
2884
  font-size: 11px;
2907
2885
  }
package/dist/index.mjs CHANGED
@@ -2859,47 +2859,25 @@ const render = (resume) => {
2859
2859
  font-style: normal;
2860
2860
  font-weight: normal;
2861
2861
  font-display: swap;
2862
- src: url("/fonts/lmroman10-regular.otf") format("opentype");
2862
+ src: url("https://jsonresume.org/fonts/lmroman10-regular.otf") format("opentype");
2863
2863
  }
2864
2864
 
2865
2865
  @font-face {
2866
2866
  font-family: LatinModern;
2867
2867
  font-weight: bold;
2868
2868
  font-display: swap;
2869
- src: url("/fonts/lmroman10-bold.otf") format("opentype");
2869
+ src: url("https://jsonresume.org/fonts/lmroman10-bold.otf") format("opentype");
2870
2870
  }
2871
2871
 
2872
2872
  @font-face {
2873
2873
  font-family: LatinModern;
2874
2874
  font-style: italic;
2875
2875
  font-display: swap;
2876
- src: url("/fonts/lmroman10-italic.otf") format("opentype");
2877
- }
2878
-
2879
- @font-face {
2880
- font-family: LatinModernSans;
2881
- font-style: normal;
2882
- font-weight: normal;
2883
- font-display: swap;
2884
- src: url("/fonts/lmsans10-regular.otf") format("opentype");
2885
- }
2886
-
2887
- @font-face {
2888
- font-family: LatinModernSans;
2889
- font-weight: bold;
2890
- font-display: swap;
2891
- src: url("/fonts/lmsans10-bold.otf") format("opentype");
2892
- }
2893
-
2894
- @font-face {
2895
- font-family: LatinModernSans;
2896
- font-style: italic;
2897
- font-display: swap;
2898
- src: url("/fonts/lmsans10-italic.otf") format("opentype");
2876
+ src: url("https://jsonresume.org/fonts/lmroman10-italic.otf") format("opentype");
2899
2877
  }
2900
2878
 
2901
2879
  html {
2902
- font-family:LatinModern, "Courier New", monospace;
2880
+ font-family: LatinModern, "Latin Modern Roman", Georgia, serif;
2903
2881
  background: #fff;
2904
2882
  font-size: 11px;
2905
2883
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@jsonresume/jsonresume-theme-professional",
4
- "version": "1.0.29",
4
+ "version": "1.0.30",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
7
7
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "marked": "^16.3.0",
20
20
  "prismjs": "^1.29.0",
21
21
  "react-icons": "^5.0.1",
22
- "@jsonresume/core": "0.3.8"
22
+ "@jsonresume/core": "0.4.0"
23
23
  },
24
24
  "exports": {
25
25
  ".": {
package/src/index.jsx CHANGED
@@ -13,47 +13,25 @@ export const render = (resume) => {
13
13
  font-style: normal;
14
14
  font-weight: normal;
15
15
  font-display: swap;
16
- src: url("/fonts/lmroman10-regular.otf") format("opentype");
16
+ src: url("https://jsonresume.org/fonts/lmroman10-regular.otf") format("opentype");
17
17
  }
18
18
 
19
19
  @font-face {
20
20
  font-family: LatinModern;
21
21
  font-weight: bold;
22
22
  font-display: swap;
23
- src: url("/fonts/lmroman10-bold.otf") format("opentype");
23
+ src: url("https://jsonresume.org/fonts/lmroman10-bold.otf") format("opentype");
24
24
  }
25
25
 
26
26
  @font-face {
27
27
  font-family: LatinModern;
28
28
  font-style: italic;
29
29
  font-display: swap;
30
- src: url("/fonts/lmroman10-italic.otf") format("opentype");
31
- }
32
-
33
- @font-face {
34
- font-family: LatinModernSans;
35
- font-style: normal;
36
- font-weight: normal;
37
- font-display: swap;
38
- src: url("/fonts/lmsans10-regular.otf") format("opentype");
39
- }
40
-
41
- @font-face {
42
- font-family: LatinModernSans;
43
- font-weight: bold;
44
- font-display: swap;
45
- src: url("/fonts/lmsans10-bold.otf") format("opentype");
46
- }
47
-
48
- @font-face {
49
- font-family: LatinModernSans;
50
- font-style: italic;
51
- font-display: swap;
52
- src: url("/fonts/lmsans10-italic.otf") format("opentype");
30
+ src: url("https://jsonresume.org/fonts/lmroman10-italic.otf") format("opentype");
53
31
  }
54
32
 
55
33
  html {
56
- font-family:LatinModern, "Courier New", monospace;
34
+ font-family: LatinModern, "Latin Modern Roman", Georgia, serif;
57
35
  background: #fff;
58
36
  font-size: 11px;
59
37
  }