mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 12:21:13 +00:00
Refactor
This commit is contained in:
parent
e03fe66a21
commit
ed5c4c1123
1 changed files with 4 additions and 6 deletions
|
@ -109,14 +109,12 @@ server.get('/*', async (req, res) => {
|
|||
|
||||
<!-- Styles -->
|
||||
<link rel="stylesheet" type="text/css" href="/static/styles/styles.css" />
|
||||
${userTheme || ''}
|
||||
${
|
||||
userTheme
|
||||
? ''
|
||||
: `
|
||||
userTheme ??
|
||||
`
|
||||
<link rel="stylesheet" type="text/css" href="/static/assets/css/themes/litely.min.css" id="default-light" media="(prefers-color-scheme: light)" />
|
||||
<link rel="stylesheet" type="text/css" href="/static/assets/css/themes/darkly.min.css" id="default-dark" media="(prefers-color-scheme: no-preference), (prefers-color-scheme: dark)" />
|
||||
`
|
||||
`.trim()
|
||||
}
|
||||
</head>
|
||||
|
||||
|
|
Loading…
Reference in a new issue