From 14160ee4ca7a281837456ec9d26b7f6ed59eb4c8 Mon Sep 17 00:00:00 2001 From: Offray Date: Wed, 3 Jan 2024 08:01:43 -0500 Subject: [PATCH] Defining defaultColor for annotations. --- src/MiniDocs/LeTextualSnippet.extension.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MiniDocs/LeTextualSnippet.extension.st b/src/MiniDocs/LeTextualSnippet.extension.st index 6b36d00..ee61c3a 100644 --- a/src/MiniDocs/LeTextualSnippet.extension.st +++ b/src/MiniDocs/LeTextualSnippet.extension.st @@ -55,7 +55,7 @@ LeTextualSnippet >> contentAsStringAnnotated [ ifNotNil: [ | colors | colors := pageConfig at: 'annotationColors' ifAbsent: [ nil ]. colors ifNotNil: [ - color := colors at: type ifAbsent: [ 'default' ] + color := colors at: type ifAbsent: [ colors at: 'defaultColor' ifAbsentPut: ['default'] ] ] ]. substitutions