MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getColorPalette

Method getColorPalette

valdi/src/valdi/runtime/Runtime.cpp:791–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789 if (!colorResult) {
790 VALDI_ERROR(*_logger, "Failed to parse color '{}': {}", it.first, colorResult.error());
791 continue;
792 }
793
794 colors[it.first] = colorResult.value();
795 }
796
797 _colorPalette->updateColors(colors);
798 }
799}
800
801Value Runtime::getColorPalette() {

Callers 1

createViewFactoryMethod · 0.45

Calls 1

ValueClass · 0.50

Tested by

no test coverage detected