Technically, we could expose the colors as a "palette (an object, not palette as in default qml wording)" in QML, allowing QML to override them dynamically. Exploring this approach could enhance integration with QML/Qt and give developers the flexibility to adjust colors based on states or other QML sources.
The main challenge is identifying and mapping the colors correctly, as RIVE lacks an official color management interface.
One possible method is mapping colors based on their values (e.g., "255,0,0" → "0,255,0"), though a more practical solution might be preferable. Direct color bindings should be supported to ensure flexibility and ease of use and integration.
Technically, we could expose the colors as a "palette (an object, not palette as in default qml wording)" in QML, allowing QML to override them dynamically. Exploring this approach could enhance integration with QML/Qt and give developers the flexibility to adjust colors based on states or other QML sources.
The main challenge is identifying and mapping the colors correctly, as RIVE lacks an official color management interface.
One possible method is mapping colors based on their values (e.g., "255,0,0" → "0,255,0"), though a more practical solution might be preferable. Direct color bindings should be supported to ensure flexibility and ease of use and integration.