Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Use semi-transparent Discord embed color #111

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

KobeW50
Copy link
Collaborator

@KobeW50 KobeW50 commented Dec 18, 2024

This change makes it so that the accent color of Discord embeds will be semi-transparent (and therefore follow the user's theme) instead of opaque RVX-red. The rest of the embeds in the server use the semi-transparent color because it is easier on the eyes and looks more professional.

This image shows the difference:

The semi-transparent color is displayed when the color field in the payload JSON is undefined or set to null. Unfortunately, the GitHub action that this workflow uses does not allow you to simply leave the color field undefined or set to null. (If this is attempted, the color will default to green for some reason). To get around this, the creator of the GitHub action added the ability to generate the payload without sending it, which allows you to edit it and then send it afterward.

See sarisia/actions-status-discord#547 for further discussion.

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