← All Projects

The Theme Module

The theme module is a smaller part of the project, but I still think it matters because it affects the feel of the entire application. I wanted a way to manage themes without hard-coding colors into the host, so the module keeps its own settings and preset data. It starts with a few built-in themes like Dracula, Solarized, and Monokai, and each preset defines a full terminal-style color palette. If those presets are missing, the module can seed them again, which gives me a simple baseline to build from.

Like the other modules, the theme package follows the same overall architecture. It is built as a WebAssembly package and relies on the host application for persistence, rendering, and window actions. That keeps the logic for theme management self-contained while still letting it fit cleanly into the larger Tauri application.

Theme Example

Switching between themes: