Skip to content

Commit 04f1d94

Browse files
committed
Change colors for comments and operators.
Comments from green -> gray Operators from red -> purple Fixes #111
1 parent 301448f commit 04f1d94

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

data/syntax/wg21.theme

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,35 +27,35 @@
2727
},
2828

2929
"Comment": {
30-
"text-color": "#008000",
30+
"text-color": "#6a737d",
3131
"background-color": null,
3232
"bold": false,
3333
"italic": true,
3434
"underline": false
3535
},
3636
"CommentVar": {
37-
"text-color": "#008000",
37+
"text-color": "#6a737d",
3838
"background-color": null,
3939
"bold": false,
4040
"italic": true,
4141
"underline": false
4242
},
4343
"Documentation": {
44-
"text-color": "#008000",
44+
"text-color": "#6a737d",
4545
"background-color": null,
4646
"bold": false,
4747
"italic": false,
4848
"underline": false
4949
},
5050
"Information": {
51-
"text-color": "#008000",
51+
"text-color": "#6a737d",
5252
"background-color": null,
5353
"bold": false,
5454
"italic": false,
5555
"underline": false
5656
},
5757
"Warning": {
58-
"text-color": "#008000",
58+
"text-color": "#6a737d",
5959
"background-color": null,
6060
"bold": true,
6161
"italic": false,
@@ -135,7 +135,7 @@
135135
},
136136

137137
"Operator": {
138-
"text-color": "#af1915",
138+
"text-color": "#7b3e91",
139139
"background-color": null,
140140
"bold": false,
141141
"italic": false,

generated/TEST.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@
5656
code span.cf { color: #00607c; } /* ControlFlow */
5757
code span.ch { color: #9f6807; } /* Char */
5858
code span.cn { } /* Constant */
59-
code span.co { color: #008000; font-style: italic; } /* Comment */
60-
code span.cv { color: #008000; font-style: italic; } /* CommentVar */
61-
code span.do { color: #008000; } /* Documentation */
59+
code span.co { color: #6a737d; font-style: italic; } /* Comment */
60+
code span.cv { color: #6a737d; font-style: italic; } /* CommentVar */
61+
code span.do { color: #6a737d; } /* Documentation */
6262
code span.dt { color: #00607c; } /* DataType */
6363
code span.dv { color: #9f6807; } /* DecVal */
6464
code span.er { color: #ff0000; font-weight: bold; } /* Error */
6565
code span.ex { } /* Extension */
6666
code span.fl { color: #9f6807; } /* Float */
6767
code span.fu { } /* Function */
6868
code span.im { } /* Import */
69-
code span.in { color: #008000; } /* Information */
69+
code span.in { color: #6a737d; } /* Information */
7070
code span.kw { color: #00607c; } /* Keyword */
71-
code span.op { color: #af1915; } /* Operator */
71+
code span.op { color: #7b3e91; } /* Operator */
7272
code span.ot { } /* Other */
7373
code span.pp { color: #6f4e37; } /* Preprocessor */
7474
code span.re { } /* RegionMarker */
@@ -77,7 +77,7 @@
7777
code span.st { color: #9f6807; } /* String */
7878
code span.va { } /* Variable */
7979
code span.vs { color: #9f6807; } /* VerbatimString */
80-
code span.wa { color: #008000; font-weight: bold; } /* Warning */
80+
code span.wa { color: #6a737d; font-weight: bold; } /* Warning */
8181
code.diff {color: #898887}
8282
code.diff span.va {color: #006e28}
8383
code.diff span.st {color: #bf0303}

generated/TEST.latex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,22 @@
5454
\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.62,0.41,0.03}{#1}}
5555
\newcommand{\BuiltInTok}[1]{\textcolor[rgb]{0.62,0.41,0.03}{#1}}
5656
\newcommand{\CharTok}[1]{\textcolor[rgb]{0.62,0.41,0.03}{#1}}
57-
\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.00,0.50,0.00}{\textit{#1}}}
58-
\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.00,0.50,0.00}{\textit{#1}}}
57+
\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.42,0.45,0.49}{\textit{#1}}}
58+
\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.42,0.45,0.49}{\textit{#1}}}
5959
\newcommand{\ConstantTok}[1]{#1}
6060
\newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.00,0.38,0.49}{#1}}
6161
\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.00,0.38,0.49}{#1}}
6262
\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.62,0.41,0.03}{#1}}
63-
\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.00,0.50,0.00}{#1}}
63+
\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.42,0.45,0.49}{#1}}
6464
\newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{#1}}}
6565
\newcommand{\ExtensionTok}[1]{#1}
6666
\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.62,0.41,0.03}{#1}}
6767
\newcommand{\FunctionTok}[1]{#1}
6868
\newcommand{\ImportTok}[1]{#1}
69-
\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.00,0.50,0.00}{#1}}
69+
\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.42,0.45,0.49}{#1}}
7070
\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.00,0.38,0.49}{#1}}
7171
\newcommand{\NormalTok}[1]{#1}
72-
\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.69,0.10,0.08}{#1}}
72+
\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.48,0.24,0.57}{#1}}
7373
\newcommand{\OtherTok}[1]{#1}
7474
\newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.44,0.31,0.22}{#1}}
7575
\newcommand{\RegionMarkerTok}[1]{#1}
@@ -78,7 +78,7 @@
7878
\newcommand{\StringTok}[1]{\textcolor[rgb]{0.62,0.41,0.03}{#1}}
7979
\newcommand{\VariableTok}[1]{#1}
8080
\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.62,0.41,0.03}{#1}}
81-
\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.00,0.50,0.00}{\textbf{#1}}}
81+
\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.42,0.45,0.49}{\textbf{#1}}}
8282
\usepackage{longtable,booktabs,array}
8383
\usepackage{calc} % for calculating minipage widths
8484
% Correct order of tables after \paragraph or \subparagraph
@@ -198,7 +198,7 @@ Reply-to: \@author
198198
\author{&Author
199199
0\\&<\href{mailto:author0@gmail.com}{\nolinkurl{author0@gmail.com}}>\\&Author
200200
1\\&<\href{mailto:author1@gmail.com}{\nolinkurl{author1@gmail.com}}>\\}
201-
\date{2026-04-23}
201+
\date{2026-04-27}
202202

203203
\begin{document}
204204
\maketitle

0 commit comments

Comments
 (0)