Closed Samuel-Castonguay closed 3 years ago
:root{ --accent-color: ; } you can add this to your custom popup CSS and use it to change the color of popular terms for example :root{--accent-color: pink}
Thanks a lot!
This works when using light mode, however dark does not seem to work (see attachment). Popup CSS is identical in both cases with :root{--accent-color: pink}
try :root{--accent-color: pink !important;}
Perfect!
Thank you for your time and for your prompt responses!
Cheers,
Note that the blue coloring on popular terms is partially a bug, as described here: https://github.com/FooSoft/yomichan/issues/1079#issuecomment-748489436, so you may notice that color go away in the future. Beyond that, Pintliz's CSS for changing the main accent color should work.
Thanks for the note!
Also, forgot to mention:
Is there a way to make "popular terms" (P) show first in the popup list?
I believe popular terms are already given an increased priority to appear before other terms, but there are other factors that apply as well, such as word length. Let me know if you have seen something that looks very wrong, or something that might be better organized in another manner (with an option).
Hi there,
Thank you for you hard work!