Go to the source code of this file.
Classes | |
| struct | pulp::view::SemanticColors |
| Semantic color tokens from tweakcn/shadcn-ui (the base 11 + 5 chart colors). More... | |
| struct | pulp::view::ThemePreset |
| A theme preset with light and dark variants. More... | |
Namespaces | |
| namespace | pulp |
| namespace | pulp::view |
| Hover-cursor tracking for platform window hosts. | |
Functions | |
| const std::vector< ThemePreset > & | pulp::view::all_presets () |
| Get all built-in theme presets (37 tweakcn-sourced + "Ink & Signal", Pulp's flagship design language = 38 total). | |
| const ThemePreset * | pulp::view::find_preset (const std::string &id) |
| Look up a preset by id. Returns nullptr if not found. | |
| std::vector< std::string > | pulp::view::preset_ids () |
| Get the list of preset ids. | |
| Theme | pulp::view::derive_theme (const SemanticColors &colors) |
| Derive a complete Theme from semantic colors. | |
| Theme | pulp::view::theme_from_preset (const ThemePreset &preset, bool dark) |
| Build a complete Theme from a preset for the given appearance. | |