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

Set gui default text color #592

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

friendlyhj
Copy link
Contributor

Adds a way to change actual color when font render draws color in #404040 color. It is helpful for dark mode texture pack.

Copy link

what-the-diff bot commented Nov 19, 2024

PR Summary

  • New Configuration Option for GUI Text Color
    A new feature has been added that allows users to customize the color of the text in the Graphical User Interface (GUI). This is done by setting a hexadecimal RGB color code in the configuration file.

  • GUI Text Color Implementation
    We have included a procedure in our software loading logic that applies the user's custom text color during startup, unless the standard text color of "404040" is already set.

  • GUI Text Color Application Mechanism
    A new system component (Mixin class in programming terminology), responsible for altering the font color according to the user specification, has been created for efficient implementation of the new feature.

  • Registration of New Mixin
    In order for the system to recognize and effectively utilize the new text color alteration component, we have registered it in our system's Mixin registration file.

@ACGaming ACGaming merged commit aa0df7d into ACGaming:main Nov 19, 2024
1 check passed
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