Menu

One colour behind the pointer: what a TV remote taught us about focus highlights
📰

One colour behind the pointer: what a TV remote taught us about focus highlights

DEV Community: reactnative·Usama Muhammad·15 days ago
#EZw0WvnN
#devtoreactnative#devto#dev#highlight#fill
Long article (687 words) — no AI summary yet.
Reading 0:00
15s threshold

On a phone you tap what you want. On a television you push arrows on a remote, and the only thing telling you where you are is the focus highlight. In the media player I build (NewTV Player, a React Native app that also runs on Android TV, Fire TV and smart TVs) the highlight was corrected more times than any other part of the app. This post is what we ended up with, and why.

Note: this post was written with help from an AI assistant, from our own project notes and measurements.

The rule

One colour behind the pointer, in any position, on any screen.

That sounds obvious. It broke in three different ways, and all three shipped at some point.

1. Ring plus fill

A bright accent border drawn around a see-through accent wash is two colours on one row. On a real screenshot we measured the ring at rgb(246,197,67) around a fill of rgb(101,87,39) . From the sofa it looks like a box inside a box.

2.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.