| 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 | |
| 801 | Value Runtime::getColorPalette() { |