I recently started using PaperModX, a fantastic starter theme for Hugo. While the theme is well-designed and easy to use, I encountered a few challenges when trying to make certain updates using the prescribed methods.
For instance, when I wanted to change the default dark Chroma code highlighting theme, updating the chroma-dark.css
file in assets/css/lib
didn’t work as expected. The simplest solution was to modify the theme files directly. As a result, I decided to fork the repository to make custom updates myself.
Here are the changes I’ve made to the theme so far:
- Image Optimization: All images are now compressed to the
webp
format for better performance. - Code Highlighting Theme: Updated the
chroma-dark.css
file to switch from thedracula
theme tonowdark
. - Font Adjustments: Reduced the font size for Chroma code blocks to better align with the rest of the post’s typography.
I plan to continue modifying the theme and pushing updates as needed. This process not only helps me tailor the theme to my needs but also serves as a great learning experience.