mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add high contrast theme
This commit is contained in:
parent
d0cb6d3da4
commit
ffba11a565
3 changed files with 43 additions and 4 deletions
|
|
@ -10,7 +10,8 @@ export preferences
|
|||
|
||||
proc findThemes*(dir: string): seq[string] =
|
||||
for kind, path in walkDir(dir / "css" / "themes"):
|
||||
result.add path.splitFile.name.capitalizeAscii
|
||||
let theme = path.splitFile.name
|
||||
result.add theme.capitalizeAscii.replace("_", " ")
|
||||
sort(result)
|
||||
|
||||
proc createPrefRouter*(cfg: Config) =
|
||||
|
|
|
|||
Loading…
Reference in a new issue