From: dankxiaobong <137083062+dankxiaobong@users.noreply.github.com> Date: Thu, 22 Jun 2023 14:53:00 +0000 (+0200) Subject: Merge branch 'main' into added-darkly-compact-552 X-Git-Url: http://these/git/%22%7Burl%7D/static/%7B%7D/%7Bpost.url%7D?a=commitdiff_plain;h=37ac31880681495f4dc3a544cc8d6c4df1e00664;p=lemmy-ui.git Merge branch 'main' into added-darkly-compact-552 --- 37ac31880681495f4dc3a544cc8d6c4df1e00664 diff --cc src/server/utils/build-themes-list.ts index c3d2b05,74b910c..de02718 --- a/src/server/utils/build-themes-list.ts +++ b/src/server/utils/build-themes-list.ts @@@ -4,16 -4,14 +4,16 @@@ import { readdir } from "fs/promises" const extraThemesFolder = process.env["LEMMY_UI_EXTRA_THEMES_FOLDER"] || "./extra_themes"; - const themes = [ + const themes: ReadonlyArray = [ "darkly", "darkly-red", + "darkly-compact", "litely", "litely-red", + "litely-compact", ]; - export async function buildThemeList(): Promise { + export async function buildThemeList(): Promise> { if (existsSync(extraThemesFolder)) { const dirThemes = await readdir(extraThemesFolder); const cssThemes = dirThemes