Skip to content

Abstract all colours into the Colours.ts folder #790

Description

@marcus-ong-qy

Currently, there are a few colour variables under the src/common/colours.ts folder.
Image

All colours defined with hex codes (e.g. #26D626) should be abstracted here.

However, there are a lot of hard-coded colour codes everywhere in the app (see pic)
Image

Your goal is to classify all of them, and abstract them into this folder, and use the variables like this:
Image

Useful resources:
https://imagecolorpicker.com/ - to visualise how colour look like, and its name

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    TODO 📝

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions