Skip to content

UI polish: scrollbar, focus ring, active nav state, transitions, sidebar border - #1306

Closed
CTLBs wants to merge 1 commit into
agnaistic:devfrom
CTLBs:claude/beautiful-lewin-a90584
Closed

UI polish: scrollbar, focus ring, active nav state, transitions, sidebar border#1306
CTLBs wants to merge 1 commit into
agnaistic:devfrom
CTLBs:claude/beautiful-lewin-a90584

Conversation

@CTLBs

@CTLBs CTLBs commented May 11, 2026

Copy link
Copy Markdown

Summary

Small, non-breaking visual improvements to the dark-theme UI. The spirit of the existing design is fully preserved.

  • Scrollbar - width increased from 1px to 6px (h-1.5 w-1.5) for better usability
  • Focus accessibility - replaced the global *:focus { outline: none } override with *:focus-visible, so keyboard users get a clear hl-500 outline while mouse users see nothing
  • Input fields - added a visible border (border-[var(--bg-600)]) with a focus-shift to hl-600, making form fields easier to identify
  • Transitions - bumped from 100ms to 150ms across _focusable-base and buttons for a smoother feel
  • Buttons - border-radius changed from rounded-md to rounded-lg for consistency with nav items
  • Sidebar - added a subtle border-r border-[var(--bg-600)] to visually separate the drawer from the main content area
  • Active nav item - was bg-[var(--hl-900)] (barely visible); now bg-[var(--hl-800)] with a border-l-2 border-[var(--hl-400)] left accent for clear wayfinding
  • Logo - added text-lg tracking-wide and brightened the ai accent from hl-500 to hl-400

Files changed

  • web/tailwind.css - focus-visible, scrollbar, transitions, input border, button radius
  • web/app.css - sidebar border, active nav state
  • web/Navigation.tsx - logo typography

Test plan

  • Verify sidebar renders with right border on desktop (>=1280px)
  • Click nav links and confirm active item shows blue left accent
  • Tab through the UI and confirm focus ring appears on interactive elements
  • Check input fields show border in forms (presets, character editor, etc.)
  • Confirm buttons look correct across all schema variants (primary, red, green, secondary)
  • Check mobile drawer still slides in/out correctly

…bar border

- Scrollbar width 1px → 6px for better usability
- Add *:focus-visible outline (hl-500) — restores keyboard accessibility without affecting mouse users
- Input fields: add visible border + focus color shift
- Transitions: 100ms → 150ms across buttons and focusable elements
- Buttons: rounded-md → rounded-lg for a more modern look
- Sidebar: add subtle right border (bg-600) to separate from main content
- Active nav item: hl-800 background + blue left-border accent instead of barely-visible hl-900
- Logo: text-lg + tracking-wide, accent color brightened to hl-400

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
sceuick added a commit that referenced this pull request May 28, 2026
- edit memory book in chat
- fix image preset
- fix: llamacpp thinking budget
- fix: cancel should retain message
- refactor memory books selection
- deepseek thinking payload
- preset parsers operate on prompt
- ui tweaks from #1306
- re-style sub list
- featherless: filter model classes when searching
- refactor client message history
@sceuick

sceuick commented May 28, 2026

Copy link
Copy Markdown
Member

Thanks for the contribution. I've rolled some of these changes into #1305.

@sceuick sceuick closed this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants