retejs / context-menu-plugin

https://retejs.org
MIT License
11 stars 43 forks source link

v2 context menu #77

Closed cbureriu closed 11 months ago

cbureriu commented 11 months ago

need to style the v2 context menu without CSS overrides if possible the default blue theme doesn't work for my application

Ni55aN commented 11 months ago

what's your stack?

In React you can substitute components, but for other integrations this option is not available.

Instead, if overriding styles doesn't work for you, you can copy the context menu preset and make changes to it (e.g. for Vue.js https://github.com/retejs/vue-plugin/tree/main/src/presets/context-menu). This approach has the same disadvantages as making a fork, but it is a small part