Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
design_export.hpp File Reference

Export design tokens to multiple formats: JSON, CSS variables, C++ headers, shader uniforms, OKLCH CSS. More...

#include <pulp/view/theme.hpp>
#include <string>
#include <unordered_map>

Go to the source code of this file.

Classes

class  pulp::view::DesignExport
 Export a Theme's design tokens to various output formats. More...
struct  pulp::view::DesignMdProseHints

Namespaces

namespace  pulp
namespace  pulp::view
 Hover-cursor tracking for platform window hosts.

Functions

std::string pulp::view::export_designmd (const Theme &theme, const DesignMdProseHints &hints={})
 Export DESIGN.md text or throw while the DESIGN.md merge path is gated.

Detailed Description

Export design tokens to multiple formats: JSON, CSS variables, C++ headers, shader uniforms, OKLCH CSS.