Skip to content

Commit 6f5e0db

Browse files
committed
fix cppmode-theme: add token names matching cm-cppmode.js output
1 parent 65ef003 commit 6f5e0db

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

assets/cppmode-theme.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,11 @@
4848
.cm-s-cppmode .cm-variable { color: #222222; }
4949
/* invalid */
5050
.cm-s-cppmode .cm-error { color: #656565; font-weight: bold; }
51+
52+
/* Token names emitted by cm-cppmode.js */
53+
.cm-s-cppmode .cm-cppmode-k5 { color: #E7671C; } /* types: int, float, void... */
54+
.cm-s-cppmode .cm-cppmode-k6 { color: #30987F; } /* keywords: if, for, while... */
55+
.cm-s-cppmode .cm-cppmode-k3 { color: #6D9810; } /* literals */
56+
.cm-s-cppmode .cm-cppmode-k4 { color: #DB4D7A; } /* special */
57+
.cm-s-cppmode .cm-cppmode-f1 { color: #006698; } /* functions */
58+
.cm-s-cppmode .cm-cppmode-f2 { color: #006698; font-weight: bold; }

0 commit comments

Comments
 (0)