Skip to content

Hardcoded Colors

Ashton edited this page Dec 24, 2024 · 3 revisions

It is possible to change GDs hardcoded colors via a colors.json file in the ui folder. The json is formatted as an object that contains the colors you want to change. These colors require an r, g, and b value, and the a (alpha) value is optional. Example (replace "color-id" with an actual ID provided below):

{
    "color-id": {
        "r": 128,
        "g": 128,
        "b": 128,
        "a": 128
    }
}

A list of modifyable colors provided are as follows:

Universal

  • background

LevelSearchLayer

  • level-search-bg
  • level-search-bar-bg
  • quick-search-bg
  • difficulty-filters-bg
  • length-filters-bg

GJListLayer

  • list-layer-bg
  • list-cell-odd
  • list-cell-even
  • list-cell-selected
  • comment-list-outline-brown
  • comment-list-outline-blue

GJCommentListLayer

  • comment-cell-odd
  • comment-cell-even
  • comment-cell-small-odd
  • comment-cell-small-even
  • comment-cell-bg-odd
  • comment-cell-bg-even
  • comment-list-layer-bg
  • music-cell-odd
  • music-cell-even

InfoLayer

  • info-description-bg

EditLevelLayer

  • edit-description-bg
  • edit-name-bg

MenuLayer

  • main-menu-bg
  • main-menu-ground

GJChestSprite

  • chest-opened-overlay
  • 25-chest-opened-overlay
  • 50-chest-opened-overlay
  • 100-chest-opened-overlay

LevelInfoLayer Loading Circle

  • play-loading-outer
  • play-loading-center
  • play-loading-inner
  • play-loading-progress

Clone this wiki locally