mirror of https://gitlab.com/bashrc2/epicyon
Set the font family when applying custom font
parent
b107668452
commit
77dd1f3b7a
1
theme.py
1
theme.py
|
@ -136,6 +136,7 @@ def setCustomFont(baseDir: str):
|
||||||
customFontExt +
|
customFontExt +
|
||||||
"') format('" +
|
"') format('" +
|
||||||
customFontType + "')")
|
customFontType + "')")
|
||||||
|
css = setCSSparam(css, "*font-family", "'CustomFont'")
|
||||||
filename = baseDir + '/' + filename
|
filename = baseDir + '/' + filename
|
||||||
with open(filename, 'w') as cssfile:
|
with open(filename, 'w') as cssfile:
|
||||||
cssfile.write(css)
|
cssfile.write(css)
|
||||||
|
|
Loading…
Reference in New Issue