hyprlock icon indicating copy to clipboard operation
hyprlock copied to clipboard

visibility of placeholder text

Open uwusnyslodziak opened this issue 1 year ago • 1 comments

placeholder text sometimes displays in full black, and sometimes in correct color

$text = cdd6f4
...
input-field {
    placeholder_text = you shall pass?
    font_color = rgb($text)
    ...
}

directly writing hex value inside rgb() gives the same results also is there a way to change font and size of this placeholder text?

uwusnyslodziak avatar Jun 17 '24 14:06 uwusnyslodziak

I also use a font_color for the placeholder_text, but it displays it correctly all the time.

also is there a way to change font and size of this placeholder text?

Yeah you can use pango markup to do that. for example <span font_size='20pt'><i>$PROMPT</i></span>

PointerDilemma avatar Jun 26 '24 14:06 PointerDilemma