Skip to content

feat(ui): SegmentedControl is the comp's bordered box with an inset accent ring, not an iOS thumb #979

Closed

Description

@thinkclay

Finding

The comp's .seg is a bordered box (1px solid var(--color-divider), radius 4) with a hairline between options; the selected option is an inset accent ring with accent text and no fill (redesign/_ds/classical-*/styles.css .seg, .seg-opt). Ours is iOS: a borderRadius: 100 track with 2px padding and a white sliding selection carrying a box-shadow (packages/ui/src/components/SegmentedControl/SegmentedControl.styles.ts:25-65). The new Appearance control (#974) uses it, so it is now in the account menu on every desktop screen.

Change

Track: borderRadius.xs, hairline border, no padding. Options: hairline divider between them. Selected: inset accent ring (borderWidth: 1 in primary[600] drawn inside) and accent text; hover a 7% text tint. No animated thumb.

Acceptance

  • Story in light and dark; Appearance and ModeSelector pick it up unchanged.
  • Scaffald/ui PR + pointer bump.

Activity

  1. added
    agent-ready
    redesign
    on Oct 5, 2026
  2. thinkclay commented on Oct 5, 2026

    @thinkclay
    ContributorAuthor

    Landed in the app with the pointer bump in #991 (ui main at bf5979e: Scaffald/ui#46, #47, #48).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrontendUXagent-readyredesign

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions