From a67c5bebd842c13aa8a1bea74c0d043f8ef2cbde Mon Sep 17 00:00:00 2001 From: Joan Queralt Date: Tue, 28 May 2024 11:42:13 +0200 Subject: [PATCH] Fixed code-dark path To enable light/dark mode in block codes, you should add @import 'td/code-dark' to your _styles_project.scss, not @import 'code-dark' as stated in the documentation. --- userguide/content/en/docs/adding-content/lookandfeel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userguide/content/en/docs/adding-content/lookandfeel.md b/userguide/content/en/docs/adding-content/lookandfeel.md index 433fc4c450..2f1a71300b 100644 --- a/userguide/content/en/docs/adding-content/lookandfeel.md +++ b/userguide/content/en/docs/adding-content/lookandfeel.md @@ -110,7 +110,7 @@ so that code-block styles are compatible with light/dark mode: - Ensure that `markup.highlight.noClasses` is `false` in your project config. For details about this option, see [Generate syntax highlighter CSS]. -- Add `@import 'code-dark'` to your project's [`_styles_project.scss`] file. +- Add `@import 'td/code-dark'` to your project's [`_styles_project.scss`] file. For details, see [Chroma for code highlighting].