diff --git a/nitter.conf b/nitter.conf index dde133f..f01f7b9 100644 --- a/nitter.conf +++ b/nitter.conf @@ -11,5 +11,5 @@ directory = "./tmp" profileMinutes = 10 # how long to cache profiles [Config] -defaultTheme = "Dark" +defaultTheme = "Nitter" hmacKey = "secretkey" # for signing video urls diff --git a/public/css/themes/high_contrast.css b/public/css/themes/black.css similarity index 100% rename from public/css/themes/high_contrast.css rename to public/css/themes/black.css diff --git a/public/css/themes/dark.css b/public/css/themes/nitter.css similarity index 100% rename from public/css/themes/dark.css rename to public/css/themes/nitter.css diff --git a/public/css/themes/light.css b/public/css/themes/twitter.css similarity index 100% rename from public/css/themes/light.css rename to public/css/themes/twitter.css diff --git a/src/config.nim b/src/config.nim index f0405ad..0a79ada 100644 --- a/src/config.nim +++ b/src/config.nim @@ -23,6 +23,6 @@ proc getConfig*(path: string): Config = cacheDir: cfg.get("Cache", "directory", "/tmp/nitter"), profileCacheTime: cfg.get("Cache", "profileMinutes", 10), - defaultTheme: cfg.get("Config", "defaultTheme", "Dark"), + defaultTheme: cfg.get("Config", "defaultTheme", "Nitter"), hmacKey: cfg.get("Config", "hmacKey", "secretkey") ) diff --git a/src/prefs_impl.nim b/src/prefs_impl.nim index 4978b70..6417a9f 100644 --- a/src/prefs_impl.nim +++ b/src/prefs_impl.nim @@ -52,7 +52,7 @@ const prefList*: OrderedTable[string, seq[Pref]] = { "Display": @[ Pref(kind: select, name: "theme", label: "Theme", - defaultOption: "Dark"), + defaultOption: "Nitter"), Pref(kind: checkbox, name: "hideTweetStats", label: "Hide tweet stats (replies, retweets, likes)",