Hardcode single default CSS - breaking change

- Themes likely broken at this point
- Break existing use of inline CSS
This commit is contained in:
saunders committed 2021-01-04 11:27:03 +00:00
1 parent c3554124fa
commit e44dbc2497
1 file changed
+4 -2
+4 -2
View File
@@ -531,8 +531,10 @@ def htmlHeaderWithExternalStyle(cssFilename: str, lang='en') -> str:
if fontName:
htmlStr += ' <link rel="preload" as="font" type="' + \
fontFormat + '" href="' + fontName + '" crossorigin>\n'
cssFile = '/' + cssFilename.split('/')[-1]
htmlStr += ' <link rel="stylesheet" href="' + cssFile + '">\n'
cssFile = cssFilename.split('/')[-1]
# TODO: Clean up - default load only one base css file
htmlStr += ' <link rel="stylesheet" href="base.css">\n'
#htmlStr += ' <link rel="stylesheet" href="' + cssFile + '">\n'
htmlStr += ' <link rel="manifest" href="/manifest.json">\n'
htmlStr += ' <meta name="theme-color" content="grey">\n'
htmlStr += ' <title>Epicyon</title>\n'