We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12ede06 commit f0b3715Copy full SHA for f0b3715
src/resources/filters/modules/brand/brand.lua
@@ -38,6 +38,7 @@ local function get_typography(fontName)
38
local typography = brand.typography and brand.typography[fontName]
39
if not typography then return nil end
40
local typsted = {}
41
+ if type(typography) == 'string' then typography = {family = typography} end
42
for k, v in pairs(typography) do
43
if k == 'color' or k == 'background-color' then
44
typsted[k] = get_color(v) or _quarto.format.typst.css.output_color(_quarto.format.typst.css.parse_color(v))
0 commit comments