Steps for creating custom small-actions to use in plugin?

Thanks, this helped out a lot.

What would be the best way to go about making the small action display richer text?

Current:
image

What I want: (I achieved this by manually inserting the cooked class into the div with class small-action-desc)

image

I skimmed through the source code about post transformers but could not find anything related to this


EDIT: ended up just adding this as .scss

.custom-message {
    ins {
        background-color: dark-light-choose(
            $success-low,
            scale-color($success, $lightness: -60%)
        );
    }
    del {
        background-color: dark-light-choose(
            $danger-low,
            scale-color($danger, $lightness: -60%)
        );
    }
}