Skip to content

Improve danger text readability - #5672

Open
egg400 wants to merge 1 commit into
pterodactyl:1.0-developfrom
egg400:fix/danger-text-contrast
Open

Improve danger text readability#5672
egg400 wants to merge 1 commit into
pterodactyl:1.0-developfrom
egg400:fix/danger-text-contrast

Conversation

@egg400

@egg400 egg400 commented Jul 2, 2026

Copy link
Copy Markdown

When you try to delete a server on the panel, you'll see warnings that say stuff like "Deleting a server is an irreversible action. All server data...". This is useful, however, the text is extremely hard to read due to the background. A user would need to highlight the text to make it readable.

I've tried changing the text color to other colors, but they didn't provide enough contrast either. I eventually decided to make the background of the text red and make the text white. I've tried to keep the design as close as possible to the Pterodactyl UI.

This change is only 4 lines in CSS. Check attached images for before & after.

Before
image

After
image

@Lovinoes

Copy link
Copy Markdown

I like this

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