Colors are now being loaded from assets/palette.json

This commit is contained in:
Zed A. Shaw 2025-07-17 10:50:09 -04:00
parent 48a7f72411
commit f4fa50a413
13 changed files with 113 additions and 52 deletions

View file

@ -12,7 +12,7 @@ TEST_CASE("color palette test", "[color-palette]") {
auto gui_text = palette::get("gui/text:dark");
REQUIRE(gui_text == expect);
gui_text = palette::get("gui/text:mid");
gui_text = palette::get("gui/text", "mid");
REQUIRE(gui_text != expect);
expect = {100, 100, 100, 255};