Skip to content

Commit

Permalink
better coloring for typescript and lua
Browse files Browse the repository at this point in the history
  • Loading branch information
o2sh committed Nov 15, 2020
1 parent e50723e commit 050e693
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
20 changes: 10 additions & 10 deletions resources/lua.ascii
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
{0} @@@@@@@@@@ @@@@@@@@
{1} == {0}@@@@@@@@@@@@@@@@@ @@@@@@@@
{1} == {0}@@@@@@@@@@@@@@@@@@@@@ @@@@@@
{0} @@@@@@@@@@@@@@ @@@
{1} == {0}@@@@@@@@@@@@@@ @@@ {1}==
{1}== {0}@@@@@@@@@@@@@@@ @@@@ {1}==
{0} @@@@@@@@@@@@@@@@@ @@@@@@
{1}== {0}@@@@ @@@@@@@@@@@@@@@@@@@@@@@@ {1}==
{1}== {0}@@@@ @@@@@@ @@ @@ @@@@ {1}==
{0} @@@@ @@@@@@ @@ @ @@@ @@@@
{1}== {0}@@@@ @@@@@@ @@ @@@' @@@@ {1}==
{1}== {0}@@@@ @@@@@@ @@ @ @@ @@@@ {1}==
{0} @@@ @, , @, ,@@
{0} @@@@@@@@@@@@@@@{2}@@@@@@{0}@@@
{1} == {0}@@@@@@@@@@@@@@@{2}@@@@@@@@{0}@@@ {1}==
{1}== {0}@@@@@@@@@@@@@@@@{2}@@@@@@@@{0}@@@@ {1}==
{0} @@@@@@@@@@@@@@@@@@{2}@@@@@@{0}@@@@@@
{1}== {0}@@@@{2}@@{0}@@@@@@@@@@@@@@@@@@@@@@@@ {1}==
{1}== {0}@@@@{2}@@{0}@@@@@@{2}@@{0}@@{2}@@{0}@@{2}@@@@@@{0}@@@@ {1}==
{0} @@@@{2}@@{0}@@@@@@{2}@@{0}@@{2}@@{0}@{2}@@{0}@@@{2}@@{0}@@@@
{1}== {0}@@@@{2}@@{0}@@@@@@{2}@@{0}@@{2}@@{0}@@@{2}@@@@@{0}@@@@ {1}==
{1}== {0}@@@@{2}@@{0}@@@@@@{2}@@{0}@@{2}@@{0}@{2}@@@{0}@@{2}@@{0}@@@@ {1}==
{0} @@@{2}@@@@@@@{0}@{2}@@@@@@{0}@{2}@@@@@@@@{0}@@
{1}== {0}@@@@@@@@@@@@@@@@@@@@@@@@@ {1}==
{1} == {0}@@@@@@@@@@@@@@@@@@@@@ {1}==
{0} @@@@@@@@@@@@@@@@@
Expand Down
22 changes: 11 additions & 11 deletions resources/typescript.ascii
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
{0}TSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTS
{0}TSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTS
{0}TSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTS
{0}TSTSTSTS TSTS TSTSTS
{0}TSTSTSTS TS TSTS
{0}TSTSTSTSTSTST TSTSTST TSTSTSTST
{0}TSTSTSTSTSTST TSTSTSTS STSTSTST
{0}TSTSTSTSTSTST TSTSTSTSTS STSTST
{0}TSTSTSTSTSTST TSTSTSTSTSTS TSTS
{0}TSTSTSTSTSTST TSTSTSTSTSTSTS TST
{0}TSTSTSTSTSTST TSTSTS STS TST
{0}TSTSTSTSTSTST TSTSTST TSTS
{0}TSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTS
{0}TSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTS
{0}TSTSTSTS{1}TSTSTSTSTSTSTS{0}TSTS{1}TSTSTS{0}TSTSTS
{0}TSTSTSTS{1}TSTSTSTSTSTSTS{0}TS{1}TSTSTSTSTS{0}TSTS
{0}TSTSTSTSTSTST{1}TSTS{0}TSTSTST{1}TSTST{0}TSTSTSTST
{0}TSTSTSTSTSTST{1}TSTS{0}TSTSTSTS{1}TSTST{0}STSTSTST
{0}TSTSTSTSTSTST{1}TSTS{0}TSTSTSTSTS{1}TSTST{0}STSTST
{0}TSTSTSTSTSTST{1}TSTS{0}TSTSTSTSTSTS{1}TSTST{0}TSTS
{0}TSTSTSTSTSTST{1}TSTS{0}TSTSTSTSTSTSTS{1}TSTS{0}TST
{0}TSTSTSTSTSTST{1}TSTS{0}TSTSTS{1}TSTST{0}STS{1}TSTS{0}TST
{0}TSTSTSTSTSTST{1}TSTS{0}TSTSTST{1}TSTSTSTSTS{0}TSTS
{0}TSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTS
{0}TSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTS
4 changes: 2 additions & 2 deletions src/onefetch/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ define_languages! {
{ Jupyter, "jupyter.ascii", "Jupyter-Notebooks", define_colors!( [Color::White, Color::Yellow, Color::White] : [Color::TrueColor{ r:255, g:255 ,b:255}, Color::TrueColor{ r:255, g:112 ,b:15}, Color::TrueColor{ r:158, g:158 ,b:158} ] ), "jupyter-notebooks" },
{ Kotlin, "kotlin.ascii", "Kotlin", define_colors!( [Color::Blue, Color::Yellow, Color::Magenta] ) },
{ Lisp, "lisp.ascii", "Lisp", define_colors!( [Color::White] ) },
{ Lua, "lua.ascii", "Lua", define_colors!( [Color::Blue, Color::White] ) },
{ Lua, "lua.ascii", "Lua", define_colors!( [Color::Blue, Color::White, Color::White] : [Color::TrueColor{ r:46, g:0 ,b:127}, Color::TrueColor{ r:128, g:128 ,b:128}, Color::TrueColor{ r:255, g:255 ,b:255} ] ) },
{ Markdown, "markdown.ascii", "Markdown", define_colors!( [Color::White, Color::Red] ) },
{ Nim, "nim.ascii", "Nim", define_colors!( [Color::Yellow, Color::White] ) },
{ Nix, "nix.ascii", "Nix", define_colors!( [Color::Cyan, Color::Blue] ) },
Expand Down Expand Up @@ -252,7 +252,7 @@ define_languages! {
{ Tcl, "tcl.ascii", "Tcl", define_colors!( [Color::Blue, Color::White, Color::Cyan] ) },
{ Tex, "tex.ascii", "Tex", define_colors!( [Color::White, Color::Black] ) },
{ Tsx, "tsx.ascii", "TSX", define_colors!( [Color::Blue] ) },
{ TypeScript, "typescript.ascii", "TypeScript", define_colors!( [Color::Cyan] : [Color::TrueColor{ r:0, g:122, b:204} ]) },
{ TypeScript, "typescript.ascii", "TypeScript", define_colors!( [Color::Cyan, Color::White] : [Color::TrueColor{ r:0, g:122, b:204}, Color::TrueColor{ r:255, g:255, b:255} ]) },
{ Vue, "vue.ascii", "Vue", define_colors!( [Color::Green, Color::Blue] ) },
{ Xaml, "xaml.ascii", "Xaml", define_colors!( [Color::Blue, Color::White] : [Color::TrueColor{ r:51, g:120, b:206}, Color::TrueColor{ r:255, g:255, b:255} ]) },
{ Xml, "xml.ascii", "XML", define_colors!( [Color::Yellow, Color::White, Color::Green] ) },
Expand Down

0 comments on commit 050e693

Please sign in to comment.