hyprlock icon indicating copy to clipboard operation
hyprlock copied to clipboard

placeholder_text doesn't use font_color

Open alba4k opened this issue 1 year ago • 4 comments

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 avatar Feb 20 '24 21:02 alba4k

maybe not placeholder_color as it's used for feedback too

secondary_color? message_color? no idea

alba4k avatar Feb 20 '24 22:02 alba4k

You can color it with pango's markup:

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

fufexan avatar Feb 20 '24 22:02 fufexan

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

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

Thanks tho!

alba4k avatar Feb 20 '24 22:02 alba4k

Created a pull request with a bit of code. https://github.com/hyprwm/hyprlock/pull/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.

luyu-wu avatar Feb 21 '24 01:02 luyu-wu