🇬🇧 English | Español 🇪🇸
Transform your Calibre reading experience! ✨
This repository contains a unified CSS stylesheet offering three aesthetic and elegant themes for the Calibre E-book Viewer. Designed to be visually pleasing, modern, and highly readable, especially on high-resolution monitors.
- 🌓 Automatic Dual Mode: Seamlessly adapts to Calibre's light and dark color schemes without code changes.
- 🎨 Three Carefully Crafted Themes: Choose from "Modern Classic," "Professional Elegance," or "Warm Minimalist" to match your mood.
- offline: Local Fonts: Utilizes fonts installed on your system for fast performance and no internet dependency.
- 👓 Readability Focused: Optimized typography and spacing to reduce eye strain during long reading sessions.
- 🔧 Easy to Customize: Switch between themes or tweak colors to your liking by editing a few lines.
Here you can place a screenshot showcasing how the themes look in your Calibre. A picture is worth a thousand words! (The variations in fonts and style, not colors, are very subtle to perceive)
For the themes to work correctly, you need to have Calibre installed and the following font families on your operating system. All are free and open-source.
- Install the fonts for at least the theme you wish to use (though installing all is recommended).
- Download the
calibre-viewer-theme-number-1file from this repository, choosing based on the theme you like.- number-1 for Theme 1: Modern Classic
- number-2 for Theme 2: Professional Elegance
- number-3 for Theme 3: Warm Minimalist
- Open any book in the Calibre E-book Viewer.
- Click on the Preferences icon (⚙️ or a hammer).
- Go to the Styles tab.
- Copy and paste the entire content of the file. Click Apply, and you're done! Reload the book and enjoy!
- Install the fonts for at least the theme you wish to use (though installing all is recommended).
- Download the
calibre-viewer-themes-all-in-one.cssfile from this repository. - Open any book in the Calibre E-book Viewer.
- Click on the Preferences icon (⚙️ or a hammer).
- Go to the Styles tab.
- Copy and paste the entire content of the
calibre-viewer-themes-all-in-one.cssfile into the text box. - Activate your preferred theme. At the end of the code, you'll find a section called
/* --- FONT APPLICATION BY THEME --- */. To activate a theme, simply "uncomment" it (remove the/*and*/symbols surrounding it).
Important! Ensure only one theme is active (uncommented) at a time.
For example, to activate Theme 2:
Before:
/* THEME 2: PROFESSIONAL ELEGANCE */
/*
body { font-family: var(--font-body-elegante); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-headings-elegante); }
*/After:
/* THEME 2: PROFESSIONAL ELEGANCE */
body { font-family: var(--font-body-elegante); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-headings-elegante); }Click Apply, and you're done! Reload the book and enjoy!
🔧 Customization Changing Themes (Manual)
You can switch themes at any time by following step 7 above. Remember to comment out the old theme before uncommenting the new one.
Adjusting Colors
All colors are defined as CSS variables at the beginning of the file, in the :root section. Feel free to modify the rgb() values to create your perfect palette.
:root {
/* Light Color Palette */
--bg-light: rgb(245, 241, 233);
--text-light: rgb(40, 40, 40);
/* Dark Color Palette */
--bg-dark: rgb(25, 25, 30);
--text-dark: rgb(220, 215, 205);
}🖥️ Recommended Font Size
These themes particularly shine with a slightly larger font size than the Calibre viewer's default.
A good starting point on a large monitor (like a 24") is between 20 and 22pt. You can adjust this in (I suggest changing it from Calibre itself and not from the code, within the open book, right-click, Font Size, and increase the amount there)
✍️ Credits
Design and Creation: Gemini 2.5 Pro