Add high contrast theme

This commit is contained in:
Zed
2019-10-27 11:24:09 +01:00
parent d0cb6d3da4
commit ffba11a565
3 changed files with 43 additions and 4 deletions

View File

@@ -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) =