Skip to content

Small utilities: .sf-list-none and alternate selection (.sf-selection--alt) #540

Description

@jackgranatowski

Problem

Two small, common helpers are missing:

  1. .sf-list-none — reset list styling (marker + inline padding) in one class.
  2. .sf-selection--alt — an alternate ::selection colour context for elements where the default selection colours have poor contrast (e.g. on coloured surfaces).

Scope

  • .sf-list-none in the utilities layer.
  • .sf-selection--alt overriding --sf-color-selection-bg/-text on the element and its descendants.

Acceptance

  • Both emitted (opt-in) and documented

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions