Hacker News new | ask | show | jobs
by Skalman 4650 days ago
Such a simple idea - but it does make it easier to follow. The only problem I have is that it's very mac-centric. On my system the focus color is orange and it looks a bit off.

I'd suggest to use the highlight color:

  box-shadow: 0px 0px 2px 3px highlight, 0px 0px 2px highlight inset
1 comments

Unfortunately, this will make colors look off on OS X. "highlight" color is different from the focus color on OS X.

Hardcoding colors for different OS-s might be more reliable.

Oh, didn't know. You could even force highlight colors, by explicitly setting border or outline colors.
And different OS themes... And updating the list every time they change...
I doubt you can detect an OS theme with Javascript or CSS.