mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 23:25:35 +00:00
Finalize theme support
This commit is contained in:
parent
4f746193a0
commit
ac0e0b5e0d
|
@ -1,29 +1,29 @@
|
||||||
body {
|
body {
|
||||||
--bg_color: #e6ecf0;
|
--bg_color: #E6ECF0;
|
||||||
--fg_color: #0F0F0F;
|
--fg_color: #0F0F0F;
|
||||||
--fg_faded: #161616;
|
--fg_faded: #161616;
|
||||||
--fg_dark: #191919;
|
--fg_dark: #191919;
|
||||||
--fg_nav: #000000;
|
--fg_nav: #000000;
|
||||||
|
|
||||||
--bg_panel: #ffffff;
|
--bg_panel: #FFFFFF;
|
||||||
--bg_elements: #fdfdfd;
|
--bg_elements: #FDFDFD;
|
||||||
--bg_overlays: #ffffff;
|
--bg_overlays: #FFFFFF;
|
||||||
--bg_hover: #f5f8fa;
|
--bg_hover: #F5F8FA;
|
||||||
|
|
||||||
--grey: #657786;
|
--grey: #657786;
|
||||||
--dark_grey: #d6d6d6;
|
--dark_grey: #D6D6D6;
|
||||||
--darker_grey: #cecece;
|
--darker_grey: #CECECE;
|
||||||
--darkest_grey: #e8e8e8;
|
--darkest_grey: #E8E8E8;
|
||||||
--border_grey: #e6ecf0;
|
--border_grey: #E6ECF0;
|
||||||
|
|
||||||
--accent: #657786;
|
--accent: #313131;
|
||||||
--accent_light: #a0edff;
|
--accent_light: #A0EDFF;
|
||||||
--accent_dark: #1DA1F2;
|
--accent_dark: #1DA1F2;
|
||||||
--accent_border: #1da1f296;
|
--accent_border: #1DA1F296;
|
||||||
|
|
||||||
--play_button_red: #4db8d8;
|
--play_button_red: #4DB8D8;
|
||||||
--more_replies_dots: #0199f7;
|
--more_replies_dots: #0199f7;
|
||||||
--error_red: #ff7266;
|
--error_red: #FF7266;
|
||||||
|
|
||||||
--verified_blue: #1DA1F2;
|
--verified_blue: #1DA1F2;
|
||||||
--icon_text: #FFFFFF;
|
--icon_text: #FFFFFF;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import strutils, uri, os
|
import strutils, uri, os, algorithm
|
||||||
|
|
||||||
import jester
|
import jester
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ export preferences
|
||||||
proc findThemes*(dir: string): seq[string] =
|
proc findThemes*(dir: string): seq[string] =
|
||||||
for kind, path in walkDir(dir / "css" / "themes"):
|
for kind, path in walkDir(dir / "css" / "themes"):
|
||||||
result.add path.splitFile.name.capitalizeAscii
|
result.add path.splitFile.name.capitalizeAscii
|
||||||
|
reverse(result)
|
||||||
|
|
||||||
proc createPrefRouter*(cfg: Config) =
|
proc createPrefRouter*(cfg: Config) =
|
||||||
router preferences:
|
router preferences:
|
||||||
|
|
Loading…
Reference in a new issue