Skip to content

v0.3.3

Choose a tag to compare

@SereinHK SereinHK released this 08 Oct 12:08
· 4 commits to main since this release

The destructive actions in the trash are red, in the theme's own colour

  • "Empty the trash" and a row's "Delete for good" take the theme's destructive
    colour: red text on the button's outline, the same before and during the confirmation.
  • What marks the confirmation is the label (彻底删除 → 确定删除) and a line of red text in
    the dialog body naming what will go — including the conversation's own title — rather than
    a change of fill.
  • Button has no danger variant (only primary, ghost, outline, toolbar), so the red
    is read from the token the menu row's danger uses — --dsw-alias-state-error-primary —
    and follows the theme in light and dark rather than being written as a literal.
  • Pinned by checks that assert the shape rather than the pixels: the confirm control's label
    is exactly 确定删除 and not the sentence, the warning carries the danger colour, and the
    confirmation must be red and unfilled.

Verified: 31 package tests, 95 host-route checks against the built bytes, 69 render and
interaction checks.

Install

dsh plugin --profile <profile> add https://github.com/SereinHK/dsh-plugin-session-delete.git