Skip to content

Theme Logic #8

Description

@spooketti

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Ideating

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions