mirror of https://gitlab.com/bashrc2/epicyon
Add italic font
parent
9c509bc94d
commit
1443185d8d
5
theme.py
5
theme.py
|
@ -948,6 +948,8 @@ def setThemeIndymediaModern(baseDir: str):
|
||||||
name = 'indymediamodern'
|
name = 'indymediamodern'
|
||||||
fontStr = \
|
fontStr = \
|
||||||
"url('./fonts/NimbusSanL.otf') format('opentype')"
|
"url('./fonts/NimbusSanL.otf') format('opentype')"
|
||||||
|
fontStrItalic = \
|
||||||
|
"url('./fonts/NimbusSanL-italic.otf') format('opentype')"
|
||||||
themeParams = {
|
themeParams = {
|
||||||
"container-button-padding": "0px",
|
"container-button-padding": "0px",
|
||||||
"container-button-margin": "0px",
|
"container-button-margin": "0px",
|
||||||
|
@ -1023,7 +1025,8 @@ def setThemeIndymediaModern(baseDir: str):
|
||||||
"title-background": "#ccc",
|
"title-background": "#ccc",
|
||||||
"gallery-text-color": "black",
|
"gallery-text-color": "black",
|
||||||
"*font-family": "'NimbusSanL'",
|
"*font-family": "'NimbusSanL'",
|
||||||
"*src": fontStr
|
"*src": fontStr,
|
||||||
|
"**src": fontStrItalic
|
||||||
}
|
}
|
||||||
bgParams = {
|
bgParams = {
|
||||||
"login": "jpg",
|
"login": "jpg",
|
||||||
|
|
Loading…
Reference in New Issue