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

placeholder_text doesn't use font_color #27

Closed
alba4k opened this issue Feb 20, 2024 · 4 comments
Closed

placeholder_text doesn't use font_color #27

alba4k opened this issue Feb 20, 2024 · 4 comments

Comments

@alba4k
Copy link
Contributor

alba4k commented Feb 20, 2024

It instead seems to use the default. I'm not saying it should use font_color, as that would be too saturated and probably confusing. Maybe placeholder_color?

@alba4k
Copy link
Contributor Author

alba4k commented Feb 20, 2024

maybe not placeholder_color as it's used for feedback too

secondary_color? message_color? no idea

@fufexan
Copy link
Member

fufexan commented Feb 20, 2024

You can color it with pango's markup:

placeholder_text = <span foreground="#aabbcc" style="italic">Input Password...</span>

@alba4k
Copy link
Contributor Author

alba4k commented Feb 20, 2024

That still doesnt change the color of stuff like "Authentication failed"

btw I think you need to escape the # with ##

Thanks tho!

@luyu-wu
Copy link

luyu-wu commented Feb 21, 2024

Created a pull request with a bit of code.
#35
I've named the variable placeholder_color, maybe feedback color could be another variable considering the fact that many people probably want different colors for negative feedback vs. reminder.

@alba4k alba4k closed this as completed Jun 19, 2024
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

No branches or pull requests

3 participants