Repository navigation
v0.3.3
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. Buttonhas no danger variant (onlyprimary,ghost,outline,toolbar), so the red
is read from the token the menu row'sdangeruses —--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