diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css index d04e1cb9..2da8a76f 100644 --- a/.vitepress/theme/style.css +++ b/.vitepress/theme/style.css @@ -211,3 +211,13 @@ font-size: 14px; color: var(--vp-color-secondary); } + +div.codeblock { + padding: 20px 24px; + border-radius: 8px; + background-color: white; +} + +html.dark div.codeblock { + background-color: var(--vp-c-bg-alt); +} diff --git a/src/docs/en/contributing.md b/src/docs/en/contributing.md index 8d3f01d3..a9de1793 100644 --- a/src/docs/en/contributing.md +++ b/src/docs/en/contributing.md @@ -66,7 +66,7 @@ JSDoc comments must include `@description` and `@example`, and if there are para This JSDoc will be converted into the following documentation. -