Step 1 for to html theme-ing (#2245)

* reworked theming step 1.
added theme parameter.
hard coded 4 themes

* forgot about blulocolight

* aarrrrg! test are in another place. fixed i think.
This commit is contained in:
Darren Schroeder
2020-07-23 13:21:58 -05:00
committed by GitHub
parent 0c20282200
commit ed0c1038e3
2 changed files with 127 additions and 63 deletions

View File

@ -50,7 +50,7 @@ fn test_cd_html_color_flag_dark_true() {
let actual = nu!(
cwd: ".", pipeline(
r#"
cd --help | to html --html_color --dark_bg
cd --help | to html --html_color --dark
"#
)
);
@ -80,7 +80,7 @@ fn test_html_color_where_flag_dark_true() {
let actual = nu!(
cwd: ".", pipeline(
r#"
where --help | to html --html_color --dark_bg
where --help | to html --html_color --dark
"#
)
);