TETRIS: added gruvbox light color scheme

This commit is contained in:
zvon 2020-09-12 09:43:10 +02:00
parent 74e53a0d67
commit a2160c3735

View File

@ -49,6 +49,30 @@ std::map<std::string, std::map<std::string, std::string>> color_schemes = {
{"menu_background", "#282828BB"},
{"menu_item_background", "#d5c4a180"},
}},
{ "gruvbox_light", {
{"piece_brick", "#cc241d"},
{"piece_brick_out", "#9d0006"},
{"piece_T", "#98971a"},
{"piece_T_out", "#79740e"},
{"piece_L_right", "#458588"},
{"piece_L_right_out", "#076678"},
{"piece_Z_right", "#b16286"},
{"piece_Z_right_out", "#8f3f71"},
{"piece_line", "#d79921"},
{"piece_line_out", "#b57614"},
{"piece_L_left", "#689d6a"},
{"piece_L_left_out", "#427b58"},
{"piece_Z_left", "#7c6f64"},
{"piece_Z_left_out", "#3c3836"},
{"shadow", "#665c5480"},
{"background", "#d5c4a1"},
{"line", "#282828"},
{"barrier", "#d65d0e"},
{"text", "#3c3836"},
{"text_out", "#f9f5d7"},
{"menu_background", "#d5c4a1BB"},
{"menu_item_background", "#50494580"},
}},
{ "blackandwhite", {
{"piece_brick", "#FFFFFF"},
{"piece_brick_out", "#000000"},
@ -74,6 +98,6 @@ std::map<std::string, std::map<std::string, std::string>> color_schemes = {
{"menu_item_background", "#FFFFFF40"},
}},
};
std::vector<std::string> color_schemes_names = { "default", "gruvbox_dark", "blackandwhite" };
std::vector<std::string> color_schemes_names = { "default", "gruvbox_dark", "gruvbox_light", "blackandwhite" };
long unsigned int selected_color_scheme = 0;
bool g_show_shadow = true;