Skip to content

Commit 77c2d18

Browse files
Switch to dark-plus theme for code blocks in the documentation. (#3331)
1 parent 4e2a514 commit 77c2d18

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/app-web-docs/src/docs/components/Code.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function Code({
3333
try {
3434
let html = await codeToHtml(code, {
3535
lang: getFallbackLanguage(languageId),
36-
theme: "nord",
36+
theme: "dark-plus",
3737
decorations,
3838
transformers: [
3939
// Shiki omits decorations for empty lines. This transformation adds the cursor class to the line itself if needed.

‎packages/app-web-docs/src/docs/components/RecordedTestVisualizer.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ function CodeState({
155155
>
156156
{state.documentContents}
157157
</Code>
158+
158159
{state.clipboard != null && (
159160
<div className="mt-2">
160161
<strong>Clipboard:</strong>

0 commit comments

Comments
 (0)