right now relays color scheme is 3 colors (technically 4)
the main color (yellow)
a highlighted yellow
white
and technically the terminal background color which the intended color is black
to make "themes" in such a way that is easily customizable for users, make a JSON storing color data
eg
{
"usernameColor":"#FFFFFF",
"loginBordercolor:"#000000",
}
before anything is rendered to the screen, read from this json and any invalid color codes will automatically default to bright pink (missing texture)
once all of these values from the json are read, store them as variables and then store them in a go file that will contain all of them as const
this is best stored inside of appdata (or any equivalent) which is findable with the os.userconfigdir
right now relays color scheme is 3 colors (technically 4)
the main color (yellow)
a highlighted yellow
white
and technically the terminal background color which the intended color is black
to make "themes" in such a way that is easily customizable for users, make a JSON storing color data
eg
before anything is rendered to the screen, read from this json and any invalid color codes will automatically default to bright pink (missing texture)
once all of these values from the json are read, store them as variables and then store them in a go file that will contain all of them as const
this is best stored inside of appdata (or any equivalent) which is findable with the os.userconfigdir