Closed thargosu closed 4 months ago
Thank you for your report! Indeed, the menu background color is not functioning correctly. I will check this and make the necessary corrections.
@thargosu I've made a fix so that the background color of the Menu is set correctly. Please check it out!
Thanks a lot for this fix ! I can confirm it works. It's perfect ! :tada:
Hi and thanks for this awesome GitHub action!
The default CSS provides a context menu with white background and light grey text which is very hard to read and differs from the original org-roam-ui chakra CSS.
Expected output:
It seems the background value is set to
var(--menu-bg)
in thechakra-menu__menuitem
class. So far, so good.It seems the
--menu-bg
value is defined to--chakra-colors-gray-100
This value seems to be overridden for the
chakra-menu__menu-list
. Here--menu-bg
is set to#fff;
I was able to find such a mention in one of the js chunks in
org-roam-ui/out/_next/static/chunks
when I build with thelocal.sh
script, but the--bg-menu
value seems to be generated with some code as it is not directly present in the js file.Should we add some new CSS definition into the index.html to unset these values for the
chakra-menu__menu-list
? I'm not sure of the best way to proceed, as I'm not able to really find the source of this extraneous--bg-menu
addition.Thanks!