File tree Expand file tree Collapse file tree
extensions/ql-vscode/src/stories Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,18 +45,18 @@ select the **Dark+** theme. You can use **Preferences: Color Theme** in the *Com
45454 . Select ** Developer: Open WebView Developer Tools**
46465 . Now, you will need to find the ` <html> ` element in the lowest-level ` <iframe> ` . See the image below:
4747
48- <img src = { iframeImage } />
48+ <img src = { iframeImage } alt = " The iframe element showing in the VS Code webview developer tools element inspector " />
4949
50506 . Once you have selected the ` <html> ` element as in the image above, click on ** Show All Properties (... more)** (see image below). This will
5151expand all CSS variables.
5252
53- <img src = { stylesImage } />
53+ <img src = { stylesImage } alt = " The styles tab of the VS Code webview developer tools element inspector " />
5454
55557 . Copy all variables to the ` src/stories/vscode-theme-dark.css ` file.
56568 . Now, select the ` <body> ` element which is a direct child of the ` <html> ` element.
57579 . This time, you do not need to copy the variables. Instead, copy the styles on the ` <body> ` element to the ` src/stories/vscode-theme-dark.css ` file.
5858See the image below for which styles need to be copied.
5959
60- <img src = { bodyImage } />
60+ <img src = { bodyImage } alt = " The styles on the body element showing in the VS Code webview developer tools element inspector " />
6161
6262The same process can also be followed for updating the ` src/stories/vscode-theme-light.css ` file, but make sure to select the ** Light+** theme.
You can’t perform that action at this time.
0 commit comments