Skip to content

Centralize Ambient-Color management #1506

Closed

Description

@Zabuzard

Situation

Every now and then we have lines like the following in the codebase:

private static final Color AMBIENT_COLOR = Color.decode("#CFBFF5");

Mostly for embeds and similar.

What

Right now this is scattered all over. To improve the "brand" and generally make it easier to tweak stuff, all these colors should be defined in a central place instead.

How

We should introduce a class for example called AmbientColors and that should then offer all sorts of colors currently found in our codebase (fulltext search for Color and see which fit, maybe not every color should be moved) and then move it over to the new class.

Pay attention to renaming the colors so that the context of each color becomes clear. For example ThisIsScamCommand#AMBIENT_COLOR can then be renamed to AmbientColors#Moderation and be shared with the other moderation related colors (light purple iirc).

Potentially also see if the colors can be aligned a bit in purpose, up to the implementor though, not important for now.

Activity

  1. added
    enhancement
    good first issue
    on Jun 21, 2026
  2. added theissue type on Jun 21, 2026
  3. wipheg commented on Jun 21, 2026

    @wipheg
    Contributor

    hi @Zabuzard , i'd like to work on this issue. could you assign this to me?

  4. Zabuzard commented on Jun 21, 2026

    @Zabuzard
    MemberAuthor

    hi @Zabuzard , i'd like to work on this issue. could you assign this to me?

    Sure thing, enjoy! :)

  5. ariannahck commented on Jun 23, 2026

    @ariannahck

    haiii, id like to work on this! is it still available? :p

  6. SquidXTV commented on Jun 23, 2026

    @SquidXTV
    Member

    haiii, id like to work on this! is it still available? :p

    Hi thanks for the interest, unfortunately there is already a working pull request for this

  7. ariannahck commented on Jun 23, 2026

    @ariannahck

    haiii, id like to work on this! is it still available? :p

    Hi thanks for the interest, unfortunately there is already a working pull request for this

    all good ! thank you for your response ! c:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementgood first issuehelp wantedpriority: low

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions