From 7aa883f99154318c4b715f03c41818b9fa0281cc Mon Sep 17 00:00:00 2001 From: Alessandro Menezes Date: Fri, 15 Oct 2021 11:38:15 -0400 Subject: [PATCH] Add SASS language support (#506) * Add SASS language support Adds support to SASS as it's listed as missing on #490. * Adjusting SASS image dimensions Removing the padding so the image can fit within 40 characters. * remove empty lines on sass logo Co-authored-by: o2sh --- resources/sass.ascii | 14 ++++++++++++++ src/info/language.rs | 1 + 2 files changed, 15 insertions(+) create mode 100644 resources/sass.ascii diff --git a/resources/sass.ascii b/resources/sass.ascii new file mode 100644 index 000000000..710ce10a1 --- /dev/null +++ b/resources/sass.ascii @@ -0,0 +1,14 @@ +{0} ,wppbbbbbp, +{0} ,wpb@KP"``` ``"T@b +{0} ,pb@P"` @@ +{0} ,b@P` /@P +{0} p@b` ,bK` +{0}{@@ 'w, ,,wpbP*` +{0} 0@b ```` ,pp ;@@ +{0} "0bw ,bPK ,K@L /PT@ +{0} "0b, ,,pbP @b .b Tb{" $bP"""*Tb, +{0} ,/b@P &@ 0@M.b ,@K ,P @L `b +{0} ,pb" Ib @@ &h@bP ,pCpP bb*` /` +{0} p@` ,@` `bb` T" ""` +{0} @@w,pbK` +{0} `***^ diff --git a/src/info/language.rs b/src/info/language.rs index dff65b918..2e8a43c35 100644 --- a/src/info/language.rs +++ b/src/info/language.rs @@ -235,6 +235,7 @@ define_languages! { }, { Ruby, "ruby.ascii", define_colors!( [Color::Magenta] ) }, { Rust, "rust.ascii", define_colors!( [Color::Red, Color::White] : [Color::TrueColor{ r:228, g:55 ,b:23}, Color::TrueColor{ r:255, g:255 ,b:255} ] ) }, + { Sass, "sass.ascii", define_colors!( [Color::Magenta] : [Color::TrueColor{ r:205, g:103 ,b:153} ] ) }, { Scala, "scala.ascii", define_colors!( [Color::Red, Color::Red] : [Color::TrueColor{ r:223, g:63 ,b:61}, Color::TrueColor{ r:127, g:12 ,b:29} ] ) }, { Scheme, "scheme.ascii", define_colors!( [Color::White] : [Color::TrueColor{r: 85, g:85, b:85}] ) }, { Sh, "shell.ascii", define_colors!( [Color::Green] ), "shell" },