#Adding an invalid hex-code makes the "show on hover" sidebar/tab-bar transparent

5 messages ยท Page 1 of 1 (latest)

haughty jolt
#

Title.

I hope this is not a duplicate. I could not find other posts mentioning it.

I have tried turning off all mods.

CPU: Ryzen 7 6800H
Ram: 16Gb
GPU: RTX 3070 Laptop GPU

haughty jolt
haughty jolt
#

Maybe checking if the field matches the regex ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ would help? I guess it doesen't solve the tabbar going black or transparent, but it would stop accidentally adding invalid colors

haughty jolt
#

I can now see on the Github issue that the input takes any CSS value. This makes sense and makes the regex I mentioned earlier not usable. I still believe an indicator for invalid values would be a good idea. At least so the tabbar doesen't go transparent.