\definecolor{codefg}{rgb}{0.9, 0.9, 0.9}
\definecolor{codebg}{rgb}{0.16, 0.16, 0.16}
\definecolor{brilliantlavender}{rgb}{0.96, 0.73, 1.0}
+\definecolor{brilliantgreen}{rgb}{0.7, 0.9, 0.7}
+\definecolor{brown}{rgb}{0.75, 0.4, 0.4}
-% Define a style for interactive sage prompt listings.
-\lstdefinelanguage{sage}{ keywords={sage} }
-\lstdefinestyle{sage}{ keywordstyle=\color{brilliantlavender} }
+% General listing settings.
\lstset{%
basicstyle=\ttfamily\small,
columns=fullflexible,
keepspaces=true
}
+
+% Define a style for interactive sage prompt listings.
+\lstdefinelanguage{sage}{ keywords={sage} }
+\lstdefinestyle{sage}{
+ commentstyle=\color{brown},
+ keywordstyle=\color{brilliantlavender},
+ stringstyle=\color{brilliantgreen}
+}