From fe56fbc44040b7427472d348cdd198b9225af89f Mon Sep 17 00:00:00 2001 From: Alberto Lazari Date: Sun, 21 Jul 2024 18:54:06 +0200 Subject: [PATCH] Fix custom accent color --- utils/styles.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/styles.typ b/utils/styles.typ index d085448..fb7d90f 100644 --- a/utils/styles.typ +++ b/utils/styles.typ @@ -26,9 +26,9 @@ #let setAccentColor(awesomeColors, metadata) = { let param = metadata.layout.awesome_color - return if type(param) == color { + return if type(eval(param)) == color { param } else { awesomeColors.at(param) } -} \ No newline at end of file +}