|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Donner editor design language: a single source of truth for the editor chrome's palette, spacing grid, rounding, and control metrics. Replaces the scattered color literals and ad-hoc PushStyleVar values that previously lived per-widget across the editor tree. More...
Classes | |
| struct | donner::editor::EditorTheme |
| Named design tokens for the editor chrome (Graphite ramp). More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Enumerations | |
| enum class | donner::editor::Accent { AzimuthBlue , SignalTeal , UltraViolet } |
| Accent hue variants. The editor ships SignalTeal (operator-approved variant B); the others are retained so the token table and its tests cover every accent and a future re-tint is a one-line change. More... | |
Variables | |
| constexpr int | donner::editor::kAccentCount = 3 |
| Number of Accent values, for token-completeness tests and iteration. | |
Donner editor design language: a single source of truth for the editor chrome's palette, spacing grid, rounding, and control metrics. Replaces the scattered color literals and ad-hoc PushStyleVar values that previously lived per-widget across the editor tree.
The tokens are ImGui-packed ImU32 (built with IM_COL32) so both the central ImGuiStyle and the raw ImDrawList draws (overlay chrome, toolbar selection, chips) read the same values. Metrics are logical px; callers multiply by displayScale exactly as they did before.
|
strong |
Accent hue variants. The editor ships SignalTeal (operator-approved variant B); the others are retained so the token table and its tests cover every accent and a future re-tint is a one-line change.
| Enumerator | |
|---|---|
| AzimuthBlue | Variant A: #4C8DF6, classic / calm. |
| SignalTeal | Variant B: #31C6B3, highest contrast (shipped default). |
| UltraViolet | Variant C: #9A7CF7, warmer / creative. |