r2modmanPlus
r2modmanPlus copied to clipboard
Make Uninstall Buttons Red
Enhancements to Uninstall Buttons
In line with the suggestions discussed in this thread:
Changes:
- LocalModCard.vue: Applied
is-dangerclass to the "Uninstall" button for visual emphasis on action's risk. - UninstallModModal.vue: Used
is-warningfor the "Uninstall All" button to distinguish between single and bulk uninstall actions. - custom.scss: Updated to ensure
is-dangerclass applies correct border and background color changes on hover, focus, and active states.
Visuals:
- Uninstall button now red:
- Uninstall All button in modal:
To further the reply from the discussion on https://github.com/ebkr/r2modmanPlus/discussions/1223
I like the idea of having some distinguishing factor for uninstall however I do have some reservations:
- The colour is too bright. It draws away focus from the other elements which I'd argue are far more important. It's kind of like having the manager say "hey, uninstall this mod!". I don't think muting the colours would even necessarily solve this, so it's potentially worth avoiding entirely on the normal mod list screen.
- I'm not a huge fan of using
is-dangerto mark the uninstall button.is-dangeris more for an irreversible action. The act of clickingUninstallon the mod list view does not uninstall the mod unless it's a single item, but in that case I definitely see it as less of a problem as it's extremely easy to get it back from the online list. Even if the action is red in that scenario, it's not like there's a secondary prompt. Colour alone isn't really a good visual indicator. It's also worth noting that theUninstall X onlyis not marked asis-dangerwhich would be identical. - The
Uninstall allaction isn't really a warning in this case as it's the finalization of the action. This is probably more severe thanUninstall X onlyas it will include dependent mods too.
Feel free to share any color preferences you have in mind, and I can make the updates accordingly. Alternatively, I can experiment with some options and share screenshots for you to see how they might look. I've noticed that Bulma's color options seem limited Bulma Colors, but it might not be a significant issue, and we could stick with the original color scheme before the changes if that works better.