Exploring interactive state styling for Bristlenose keyboard navigation
A subtle tint allows focused/selected elements to "lift" with white backgrounds.
--page-bg: #ffffff
"I found the onboarding really confusing at first."
"Once I got it, it was actually pretty intuitive."
--page-bg: #fafafa
"I found the onboarding really confusing at first."
"Once I got it, it was actually pretty intuitive."
--page-bg: #f7f7f8
"I found the onboarding really confusing at first."
"Once I got it, it was actually pretty intuitive."
--page-bg: #f3f4f6
"I found the onboarding really confusing at first."
"Once I got it, it was actually pretty intuitive."
The focus ring indicates keyboard position (cursor). Should be distinct but not heavy.
2px solid accent, 2px offset
Normal
"I found the onboarding really confusing."
Focused
"Once I got it, it was actually intuitive."
2px solid grey, 2px offset
Normal
"I found the onboarding really confusing."
Focused
"Once I got it, it was actually intuitive."
1.5px solid dark grey, 1px offset
Normal
"I found the onboarding really confusing."
Focused
"Once I got it, it was actually intuitive."
White bg + shadow elevation
Normal
"I found the onboarding really confusing."
Focused
"Once I got it, it was actually intuitive."
Ring + white bg + subtle shadow
Normal
"I found the onboarding really confusing."
Focused
"Once I got it, it was actually intuitive."
Selection indicates items in the operand set for bulk actions. Distinct from focus.
--selection-bg: #e8f0fe
Normal
"I found the onboarding confusing."
Selected
"Once I got it, it was intuitive."
Focused + Selected
"I'd recommend this to my team."
--selection-bg: #f0f7ff
Normal
"I found the onboarding confusing."
Selected
"Once I got it, it was intuitive."
Focused + Selected
"I'd recommend this to my team."
--selection-bg: #f3f4f6
Normal
"I found the onboarding confusing."
Selected
"Once I got it, it was intuitive."
Focused + Selected
"I'd recommend this to my team."
Realistic quote lists showing how states work together with starred quotes.
Blue ring focus + blue selection + visible tint
"I found the onboarding really confusing at first."
"Once I got it, it was actually pretty intuitive."
"I'd definitely recommend this to my team."
"The pricing page was a bit confusing though."
Shadow focus + grey selection + strong tint
"I found the onboarding really confusing at first."
"Once I got it, it was actually pretty intuitive."
"I'd definitely recommend this to my team."
"The pricing page was a bit confusing though."
Tag suggestions, view switcher, and other dropdowns need consistent keyboard highlight styles.
Keyboard nav uses selection colour
More subtle keyboard highlight
Gentler blue tint
Proposed additions to tokens.css for interactive states.
/* Interactive state tokens — add to tokens.css */ /* Page background tint (enables lift effect) */ --bn-colour-surface-page: light-dark(#f7f7f8, #141414); --bn-colour-surface-card: light-dark(#f9fafb, #1a1a1a); /* current quote bg */ --bn-colour-surface-elevated: light-dark(#ffffff, #242424); /* focused/lifted */ /* Hover (very subtle) */ --bn-colour-hover-bg: light-dark(#f5f5f5, #1f1f1f); /* Focus ring (keyboard cursor indicator) */ --bn-colour-focus-ring: var(--bn-colour-accent); /* or grey variant */ --bn-focus-ring-width: 2px; --bn-focus-ring-offset: 2px; /* Selection (multi-select operand set) */ --bn-colour-selection-bg: light-dark(#e8f0fe, #1a365d); /* Google blue */ /* OR */ --bn-colour-selection-bg: light-dark(#f3f4f6, #262626); /* neutral grey */ /* Keyboard highlight in dropdowns */ --bn-colour-highlight-bg: var(--bn-colour-selection-bg); /* reuse selection */