- Print-friendly - Optimised layout for PDF export and printing
- Dark/Light mode - System preference detection with manual override
- 5 Colour themes - Default, blue, red, green, and cyber themes
- Keyboard shortcuts - Command palette with
Cmd/Ctrl + K - Responsive design - Mobile-first approach with Tailwind CSS 4
- JSON-based content - Easy content management via
cv.json
- Astro - The next-gen web framework.
- Tailwind CSS 4 - A utility-first CSS framework with CSS-first configuration.
- Alpine.js - Lightweight JavaScript framework for composing behaviour.
- Typescript - JavaScript with type syntax.
- HotKeyPad - Command palette with keyboard shortcuts.
- I use pnpm as my package manager.
# Enable pnpm on MacOS, WSL & Linux:
corepack enable
corepack prepare pnpm@latest --activatepnpm create astro@latest -- --template Smilesharks/dev-portfolioEdit the cv.json file to create your own printable Portfolio/CV.
# Enjoy the results
pnpm dev- Open http://localhost:4321 in your browser to view the result 🚀
Change the theme property in cv.json and choose one of the available colour themes:
| Theme | Description |
|---|---|
default |
Orange accent (default) |
blue |
Blue/slate accent |
red |
Red/stone accent |
green |
Lime/green accent |
cyber |
Yellow/cyan cyberpunk style |
Each theme includes light and dark mode variants. The theme selector dropdown allows users to switch between light, dark, and system preference.
Creating custom themes:
Edit src/styles/global.css and add your theme variables under the appropriate selectors (:root [data-theme="your-theme"] for light mode, .dark [data-theme="your-theme"] for dark mode).
| Command | Action | |
|---|---|---|
| ⚙️ | dev o start |
Launches a local development server at localhost:4321. |
| ⚙️ | build |
Checks for errors and creates a production build in ./dist/. |
| ⚙️ | preview |
Local preview at localhost:4321 |
Wiki: dev-portfolio
CV JSON schema from jsonresume.org
Based on Bartosz Jarocki - Print-friendly, minimalist CV page and Miguel Ángel Durán - minimalist-portfolio-json
