#Adding an invalid hex-code makes the "show on hover" sidebar/tab-bar transparent
5 messages ยท Page 1 of 1 (latest)
Seems to be the same as (or at least related to) issue #2361 on Github
https://github.com/zen-browser/desktop/issues/2361
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
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.