Beginning config support

Currently only supports changing 4 colors
This commit is contained in:
2024-06-17 12:00:25 -04:00
parent e613a525a5
commit 7182fd9078
8 changed files with 185 additions and 11 deletions

View File

@@ -30,11 +30,11 @@ Color colors[COLOR_AMOUNT] = {0};
void init_colors(void)
{
colors[COLOR_BACKGROUND] = C2D_Color32(35, 28, 32, 255); //silver-y black
colors[COLOR_ACCENT] = C2D_Color32(12, 58, 111, 255);
colors[COLOR_BACKGROUND] = config.background_color;
colors[COLOR_ACCENT] = config.accent_color;
colors[COLOR_WHITE] = C2D_Color32(255, 255, 255, 255);
colors[COLOR_CURSOR] = C2D_Color32(200, 200, 200, 255);
colors[COLOR_BLACK] = C2D_Color32(0, 0, 0, 255);
colors[COLOR_RED] = C2D_Color32(229, 66, 66, 255);
colors[COLOR_YELLOW] = C2D_Color32(239, 220, 11, 255);
colors[COLOR_RED] = config.red_color;
colors[COLOR_YELLOW] = config.yellow_color;
}