How can I change the text color of the pop up 'Copied!' when the copy code button is clicked? #11519
-
DescriptionThis is the text color in light mode: Using Linux Mint 21.3
|
Beta Was this translation helpful? Give feedback.
Answered by
jimjam-slam
Nov 24, 2024
Replies: 1 comment 10 replies
-
Use your favourite browser developer/inspect mode to identify the correct (S)CSS selector, then set it to whatever you want. You should be able to find many other discussions here and elsewhere about this process. Note that a screenshot does not replace actual code, it only help illustrate. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't speak to the SCSS side, but on the CSS side, on quarto.org it looks like the tooltip is styled by the CSS property
--bs-tooltip-bg
:If you're looking to change this in dark mode specifically, you could add something like:
(You might need some extra styling to also change the pointy "tip" of the tooltip, too, but I'm hoping it also uses the custom CSS property!)