9#include <unordered_map>
37 static std::string
to_css(
const Theme& theme,
const std::string& prefix =
"pulp");
Export a Theme's design tokens to various output formats.
Definition design_export.hpp:24
static std::string to_json(const Theme &theme)
Export to JSON (round-trippable with Theme::from_json).
static std::string to_oklch_css(const Theme &theme, const std::string &prefix="pulp")
Export to OKLCH CSS color format.
static std::string to_cpp_header(const Theme &theme, const std::string &namespace_name)
Export to a C++ header with constexpr color/dimension values.
static std::string to_css(const Theme &theme, const std::string &prefix="pulp")
Export to CSS custom properties.
static std::string to_wgsl_uniforms(const Theme &theme, const std::string &struct_name="ThemeUniforms")
Export to GPU shader uniform declarations (WGSL).
Hover-cursor tracking for platform window hosts.
Definition fwd.hpp:27
std::string export_designmd(const Theme &theme, const DesignMdProseHints &hints={})
Export DESIGN.md text or throw while the DESIGN.md merge path is gated.
Definition design_export.hpp:82
std::string name_override
Definition design_export.hpp:89
std::unordered_map< std::string, std::string > section_bodies
Definition design_export.hpp:86