Skip to content

Let themes style sliders without replacing widget layouts #782

Closed

Description

@M4n0x

Problem

Fern can ship role styles, but a plain slider still draws macOS's control. Its filled pill styling must be repeated in individual popup/hover layouts, so installing the theme alone does not reproduce the look. Sound's built-in hover control also stays native.

Proposal

  • Add a slider presentation role for sliders that omit filled and do not name another role.
  • A nonempty composed role draws a filled control; missing, empty or cleared roles retain the native control.
  • Preserve explicit filled: true and filled: false, style precedence, end stops and existing filled layouts.
  • Apply it to popups, hover controls and built-in Sound. Inline controls fit their widget; Sound keeps continuous volume updates.
  • Cover decoding/schema, Settings, composition, docs and offscreen scenes.

Possible today

Explicit filled: true works per block, but a theme cannot select it or style the built-in Sound control. Checked on current main at 0941350.

Related

#642 / #644 added explicit filled sliders. #666 tracks the broader theme/profile problem; this is a separate control-styling capability and does not close its remaining scope. The additive role and compatibility rules were approved during implementation.

Triaged by Codex (gpt-6.1-sol).

Activity

  1. added
    enhancement
    on Nov 17, 2026
  2. added a commit that references this issue on Nov 17, 2026
    8a86db3
  3. stablebar-releases commented on Nov 20, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.18.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions