asciidoctor-vscode icon indicating copy to clipboard operation
asciidoctor-vscode copied to clipboard

TOC sidebar color not aligned with the default theme

Open joaompinto opened this issue 4 years ago • 2 comments

The left table of content sidebar background is white, not aligned with the default theme CSS which provides a black background.

Can be reproduced with the following snippet.

= The Dangerous and Thrilling Documentation Chronicles
Kismet Chameleon
:toc: left

This journey begins on a bleary...

== Cavern Glow

The river rages through the cavern, rattling its content...

== The Ravages of Writing

Her finger socks had been vaporized by crystalline nuggets of...

=== A Recipe for Potion

Two fresh Burdockian leaves, harvested by the light of the teal moons...

joaompinto avatar Jun 28 '20 12:06 joaompinto

Thank you! 💛 🖤

Neved4 avatar Jun 28 '20 12:06 Neved4

I think we could use an additional style to set the background color.

#toc {
  background-color: var(--vscode-editor-background);
}

Reference: https://code.visualstudio.com/api/extension-guides/webview#theming-webview-content

ggrossetie avatar May 11 '21 22:05 ggrossetie

current state: image

apupier avatar Sep 09 '22 12:09 apupier