Skip to content

Add custom scrollbar to theme - #2804

Open
ChiguireDigital wants to merge 2 commits into
endlessm:mainfrom
ChiguireDigital:add-custom-scrollbar
Open

Add custom scrollbar to theme#2804
ChiguireDigital wants to merge 2 commits into
endlessm:mainfrom
ChiguireDigital:add-custom-scrollbar

Conversation

@ChiguireDigital

Copy link
Copy Markdown
Contributor

Summary

  • Add a custom hand-drawn scrollbar to the UI theme.
  • Replace the default scrollbar appearance with custom pixel art assets.
  • The Storybook currently benefits from this custom scrollbar.

Resolves #2346

@ChiguireDigital
ChiguireDigital requested a review from a team as a code owner August 28, 2026 20:15
@ChiguireDigital

Copy link
Copy Markdown
Contributor Author
image

this is how it looks for now after your feedback, what do you think?

@github-actions

Copy link
Copy Markdown

Play this branch at https://play.threadbare.game/branches/ChiguireDigital/add-custom-scrollbar/.

(This launches the game from the start, not directly at the change(s) in this pull request.)

@manuq manuq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it!

Maybe the scroll can look a bit more "hand drawn" if the line is more erratic, like the banner border next to it:

Image

For that, you can play with the texture margins and axis stretch settings, so the middle part can be tiled. See how the buttons do it:

Image

Let me know if you agree and want to do as suggested, otherwise I'll merge it as-is.

@ChiguireDigital

Copy link
Copy Markdown
Contributor Author
image

Done!! This is the result with the fine line, also changed the grabber a bit.

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.

User interface: Theme scrollbar

2 participants