Skip to content

Make Collapsible Groups Colorable#180

Merged
Rongmario merged 12 commits intoCleanroomMC:cleanroomfrom
WaitingIdly:color-collapsible
Apr 16, 2026
Merged

Make Collapsible Groups Colorable#180
Rongmario merged 12 commits intoCleanroomMC:cleanroomfrom
WaitingIdly:color-collapsible

Conversation

@WaitingIdly
Copy link
Copy Markdown
Contributor

changes in this PR:

  • make the background color and border color configurable per group.
    • add color(backgroundColor, borderColor) to ICollapsibleGroupRegistry.Builder.
    • default color is the prior defaults, named BACKGROUND_COLOR_SMOKE and BORDER_COLOR_SMOKE.
    • add color fields and a preview when editing a collapsible group.
  • shrink the width of some buttons to make them a square.
  • fix the collapsed display having an overlap in the border color (rendering the vertical and horizontal in the same spot).
  • when rendering the collapsed group, use the same blend logic as when rendering the expanded group.
  • when editing a collapsible group, only render the "ctrl+click" tooltip if there is a wildcard for the hovered ingredient.
  • add a button the clear all selected ingredients in a group.
  • when editing a collapsible group, move the search bar to the bottom (instead of the top).

related to #175

@Rongmario Rongmario merged commit 8bf1f31 into CleanroomMC:cleanroom Apr 16, 2026
@WaitingIdly WaitingIdly deleted the color-collapsible branch April 16, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants