From c3c2ba056d6333bf12928b4e4baf7c26f487db00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurrie=CC=88n=20Stutterheim?= Date: Sun, 2 Oct 2011 19:21:55 +0200 Subject: [PATCH] Add color definition for constants --- examples/solarized/solarized.theme | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/solarized/solarized.theme b/examples/solarized/solarized.theme index 6566f7b..65ab8fe 100644 --- a/examples/solarized/solarized.theme +++ b/examples/solarized/solarized.theme @@ -10,7 +10,8 @@ \definecolor{keyword}{RGB}{116, 139, 0} \definecolor{special1}{RGB}{159,138,0} \definecolor{string}{RGB}{3, 106, 7} -\definecolor{char} {RGB}{3, 106, 7} +\definecolor{char}{RGB}{3, 106, 7} +\definecolor{constant}{RGB}{38, 139, 210} \newcommand{\lhsCHsyntax}[1]{\color{syntax}{{#1}}} \newcommand{\lhsCHfunction}[1]{\color{function}{{#1}}} @@ -20,7 +21,8 @@ \newcommand{\lhsCHconstructor}[1]{\color{constructor}{\textbf{#1}}} \newcommand{\lhsCHtype}[1]{\color{datatype}{{#1}}} \newcommand{\lhsCHclass}[1]{\color{class}{{#1}}} +\newcommand{\lhsCHconstant}[1]{\color{constant}{{#1}}} -%subst char a = "\color{char}\text{\tt ''" a "''}" -%subst string a = "\color{string}\text{\tt \char34 " a "\char34}" -%subst numeral a = "\color{numeral}{ " a " }" \ No newline at end of file +%subst char a = "\color{char}\text{\tt ''" a "''}" +%subst string a = "\color{string}\text{\tt \char34 " a "\char34}" +%subst numeral a = "\color{numeral}{ " a " }"