Colors are now being loaded from assets/palette.json
This commit is contained in:
parent
48a7f72411
commit
f4fa50a413
13 changed files with 113 additions and 52 deletions
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue