Setting color on block quotes, figure captions, and outlines #2490
-
Hello, I have two closely related questions:
Thanks again for the great stuff, let me know if I can clarify! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You do also have the option to make CSS rules that target the various elements (e.g. |
Beta Was this translation helpful? Give feedback.
-
Thank you for this! Number-1 is exactly what I was looking for, but number-2 I think I wasn't clear so you picked the wrong variable... I'm not wondering about the sliding toc bar that is green in my picture (which IS defined by the $link-color variable you sent), but the line along which that bar slides - this is white in the image I sent, which means you can't see it! This seems to be defined by the same thing that the line markings which are directly to the left of a block quote are (also white in my picture, one to the left of each block quote)... If you just glance at it, it looks like the arrows are pointing to nothing, but that is just because these elements are white. If you know which variable controls these that would be much appreciated, but more importantly - what is the best reference source for answering questions like this... e.g. if I wanted to figure out that the $body-secondary variable controls figure captions, where would you recommend I go to look this up? Thanks again! |
Beta Was this translation helpful? Give feedback.
For captions, the scss variable
$body-secondary
is used.The active TOC element is colored using the scss variable
$link-color
.You do also have the option to make CSS rules that target the various elements (e.g.
.figure-caption { }
or.sidebar nav[role=doc-toc] ul>li>a.active {}
)