jsonresume-theme-developer-mono 0.1.0 → 0.2.0

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/dist/style.css ADDED
@@ -0,0 +1,139 @@
1
+ /**
2
+ * Resume Core Design Tokens
3
+ * Framework-agnostic CSS variables for theming
4
+ * Based on 2025 resume best practices and ATS compatibility research
5
+ */
6
+
7
+ :root {
8
+ /* Typography - ATS-friendly fonts */
9
+ --resume-font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
10
+ --resume-font-serif: Cambria, Georgia, "Times New Roman", serif;
11
+ --resume-font-mono: "Courier New", Courier, monospace;
12
+
13
+ /* Font Sizes - Optimal readability */
14
+ --resume-size-name: 36px; /* Large, prominent name */
15
+ --resume-size-heading: 16px; /* Section titles */
16
+ --resume-size-subheading: 14px; /* Job titles, degrees */
17
+ --resume-size-body: 11px; /* Body text, descriptions */
18
+ --resume-size-small: 10px; /* Dates, locations, metadata */
19
+
20
+ /* Font Weights */
21
+ --resume-weight-normal: 400;
22
+ --resume-weight-medium: 500;
23
+ --resume-weight-semibold: 600;
24
+ --resume-weight-bold: 700;
25
+
26
+ /* Line Heights */
27
+ --resume-line-height-tight: 1.2;
28
+ --resume-line-height-normal: 1.5;
29
+ --resume-line-height-relaxed: 1.75;
30
+
31
+ /* Colors - Professional Theme (default) */
32
+ --resume-color-primary: #1a1a1a;
33
+ --resume-color-secondary: #4a4a4a;
34
+ --resume-color-accent: #2563eb;
35
+ --resume-color-background: #ffffff;
36
+ --resume-color-border: #e5e7eb;
37
+
38
+ /* Spacing - Consistent rhythm */
39
+ --resume-space-section: 24px; /* Between major sections */
40
+ --resume-space-item: 16px; /* Between list items */
41
+ --resume-space-tight: 8px; /* Within items */
42
+ --resume-space-margin: 48px; /* Page margins */
43
+
44
+ /* Layout - Optimal line length */
45
+ --resume-max-width: 660px; /* ~80 chars at body size */
46
+ --resume-column-gap: 24px;
47
+
48
+ /* Border Radius */
49
+ --resume-radius-sm: 4px;
50
+ --resume-radius-md: 8px;
51
+ --resume-radius-lg: 12px;
52
+
53
+ /* Shadows - Subtle depth */
54
+ --resume-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
55
+ --resume-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
56
+ }
57
+
58
+ /* Modern Theme Variant */
59
+ [data-theme="modern"] {
60
+ --resume-color-primary: #0f172a;
61
+ --resume-color-secondary: #475569;
62
+ --resume-color-accent: #8b5cf6;
63
+ --resume-font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
64
+ }
65
+
66
+ /* Classic Theme Variant */
67
+ [data-theme="classic"] {
68
+ --resume-color-primary: #000000;
69
+ --resume-color-secondary: #333333;
70
+ --resume-color-accent: #0066cc;
71
+ --resume-font-sans: Georgia, "Times New Roman", serif;
72
+ }
73
+
74
+ /* Minimal Theme Variant */
75
+ [data-theme="minimal"] {
76
+ --resume-color-primary: #18181b;
77
+ --resume-color-secondary: #71717a;
78
+ --resume-color-accent: #000000;
79
+ --resume-space-section: 32px;
80
+ --resume-space-item: 20px;
81
+ }
82
+
83
+ /* High Contrast Variant (Accessibility) */
84
+ [data-theme="high-contrast"] {
85
+ --resume-color-primary: #000000;
86
+ --resume-color-secondary: #000000;
87
+ --resume-color-accent: #0000ff;
88
+ --resume-color-background: #ffffff;
89
+ --resume-color-border: #000000;
90
+ }
91
+
92
+ /* Print Styles - ATS-Friendly PDF Export */
93
+ @media print {
94
+ :root {
95
+ /* Optimize for print */
96
+ --resume-space-section: 18px;
97
+ --resume-space-item: 12px;
98
+ }
99
+
100
+ @page {
101
+ size: A4;
102
+ margin: 0.5in;
103
+ }
104
+
105
+ /* Prevent awkward breaks */
106
+ .resume-section {
107
+ page-break-inside: avoid;
108
+ }
109
+
110
+ .resume-item {
111
+ break-inside: avoid;
112
+ }
113
+
114
+ /* Widows and orphans control */
115
+ p, li {
116
+ widows: 3;
117
+ orphans: 3;
118
+ }
119
+
120
+ /* Hyphenation for long words */
121
+ .resume-description {
122
+ hyphens: auto;
123
+ }
124
+
125
+ /* Hide interactive elements */
126
+ .no-print {
127
+ display: none !important;
128
+ }
129
+ }
130
+
131
+ /* RTL Support */
132
+ [dir="rtl"] {
133
+ text-align: right;
134
+ }
135
+
136
+ [dir="rtl"] .resume-item {
137
+ padding-left: 0;
138
+ padding-right: var(--resume-space-tight);
139
+ }
package/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { renderToString } from 'react-dom/server';
2
3
  import { ServerStyleSheet } from 'styled-components';
3
4
  import Resume from './src/Resume.jsx';
package/package.json CHANGED
@@ -1,14 +1,32 @@
1
1
  {
2
2
  "name": "jsonresume-theme-developer-mono",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
+ "description": "Technical, efficient theme with monospace headers and sans-serif body. Code-style aesthetics for developers.",
4
5
  "type": "module",
5
- "main": "index.js",
6
+ "main": "./dist/index.js",
6
7
  "peerDependencies": {
7
8
  "react": "^18.0.0 || ^19.0.0",
8
9
  "react-dom": "^18.0.0 || ^19.0.0"
9
10
  },
10
11
  "dependencies": {
11
12
  "styled-components": "^6.1.19",
12
- "@resume/core": "0.1.0"
13
+ "@jsonresume/core": "0.1.0"
14
+ },
15
+ "exports": {
16
+ ".": {
17
+ "import": "./src/index.jsx",
18
+ "default": "./dist/index.js"
19
+ },
20
+ "./dist": {
21
+ "import": "./dist/index.js",
22
+ "default": "./dist/index.js"
23
+ }
24
+ },
25
+ "devDependencies": {
26
+ "@vitejs/plugin-react": "^4.3.4",
27
+ "vite": "^5.4.21"
28
+ },
29
+ "scripts": {
30
+ "build": "vite build"
13
31
  }
14
32
  }