Commit Graph

13 Commits

Author SHA1 Message Date
Reorx 85f59b4ca3 customize primary color in scss instead of <style>
because vite will bundle all <link rel=stylesheet> together into one file and append it to the end of <head>,
making it impossible to have <style> tag as the last of all stylesheets,
thus --color-primary in <style> cannot have the highest priority to override the theme.
2023-02-14 16:38:18 +08:00
Reorx 0776062bb6 rename primary color template variables 2023-02-14 15:52:08 +08:00
Reorx 51fd7f8754 add color-picker in editor and support primary color in CV HTML 2023-02-14 15:44:21 +08:00
Reorx 9bf4c10a92 add meta.ejs template 2023-02-13 00:26:18 +08:00
Reorx 10c8b8c7de replace all occurances of "resume" to "cv" in jsoncv schema and related files 2023-02-12 22:30:40 +08:00
Reorx 2eef7736ee vite config: enhance naming 2023-02-12 00:34:39 +08:00
Reorx 3e6c9c2299 vite: add back path.resolve to make build command work
although vite dev works without it
2023-02-09 00:03:35 +08:00
Reorx 3d24551c03 enable hmr for index.html when theme files are changed 2023-02-07 00:12:05 +08:00
Reorx 6461995fbf refactor project structures
- vite.config.js: used to generate static cv in a single html file
- vite.config.site.js: used to build the jsoncv site, including editor and preview pages
2023-02-06 22:52:35 +08:00
Reorx 50e9624133 finish preview in editor 2023-02-05 00:00:01 +08:00
Reorx bd5a9d6d71 finish theme apply; upgrade vite to v4 2023-02-04 14:52:01 +08:00
Reorx 3b339c7917 write custom vite plugin to load ejs templates 2023-02-04 13:14:29 +08:00
Reorx 3f0f2e52af WIP: merge multiple packages/vite.configs into one single package/vite.config 2023-02-03 14:53:08 +08:00