Skip to content

Commit

Permalink
Fix custom accent color
Browse files Browse the repository at this point in the history
  • Loading branch information
alberto-lazari committed Jul 21, 2024
1 parent 07a653a commit fe56fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/styles.typ
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}

0 comments on commit fe56fbc

Please sign in to comment.