#include <pulp/design/design_system.hpp>#include <pulp/view/theme.hpp>#include <string>#include <string_view>#include <vector>Go to the source code of this file.
Classes | |
| struct | pulp::design::ManifestToken |
| One token in the compiled allowlist: a name an importer/codegen may bind to, its kind, and its value in the chosen appearance. More... | |
| struct | pulp::design::ManifestComponent |
| One component contract: a widget an importer may target and the exact theme tokens it legitimately paints through (its reskin allowlist). More... | |
| struct | pulp::design::DesignManifest |
| The compiled design contract. More... | |
Namespaces | |
| namespace | pulp |
| namespace | pulp::design |
Functions | |
| DesignManifest | pulp::design::compile_design_manifest (const pulp::view::Theme &theme, const std::vector< ComponentInfo > &components, std::string source, std::string appearance) |
| Compile a manifest from an explicit theme + component set. | |
| DesignManifest | pulp::design::compile_ink_signal_manifest (bool dark=false) |
| Compile from the built-in Ink & Signal system: its theme for the requested appearance plus the full component catalog. | |
| std::string | pulp::design::manifest_to_json (const DesignManifest &manifest) |
| Serialize to stable, pretty JSON. | |
| DesignManifest | pulp::design::manifest_from_json (const std::string &json) |
| Parse a manifest back from the JSON that manifest_to_json produces. | |
| std::string | pulp::design::emit_binding_prompt (const DesignManifest &manifest) |
| Emit an LLM-ready binding prompt (Markdown): the closed token allowlist and the component contracts, with an explicit adherence directive. | |
Variables | |
| constexpr std::string_view | pulp::design::kManifestVersion = "2026.07-design-manifest-v1" |
| The on-disk format identifier stamped into DesignManifest::manifest_version. | |