Skip to content

Commit

Permalink
[ttcn theme] Add
Browse files Browse the repository at this point in the history
  • Loading branch information
Hector Oswaldo Caballero authored and marijnh committed Apr 28, 2015
1 parent 46e9a5e commit fa11b72
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<link rel="stylesheet" href="../theme/the-matrix.css">
<link rel="stylesheet" href="../theme/tomorrow-night-bright.css">
<link rel="stylesheet" href="../theme/tomorrow-night-eighties.css">
<link rel="stylesheet" href="../theme/ttcn.css">
<link rel="stylesheet" href="../theme/twilight.css">
<link rel="stylesheet" href="../theme/vibrant-ink.css">
<link rel="stylesheet" href="../theme/xq-dark.css">
Expand Down Expand Up @@ -105,6 +106,7 @@ <h2>Theme Demo</h2>
<option>the-matrix</option>
<option>tomorrow-night-bright</option>
<option>tomorrow-night-eighties</option>
<option>ttcn</option>
<option>twilight</option>
<option>vibrant-ink</option>
<option>xq-dark</option>
Expand Down
66 changes: 66 additions & 0 deletions theme/ttcn.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/* DEFAULT THEME */
.cm-atom {color: #219;}
.cm-attribute {color: #00c;}
.cm-bracket {color: #997;}
.cm-comment {color: #333333;}
.cm-def {color: #00f;}
.cm-em {font-style: italic;}
.cm-error {color: #f00;}
.cm-header {color: #00f; font-weight: bold;}
.cm-hr {color: #999;}
.cm-invalidchar {color: #f00;}
.cm-keyword {font-weight:bold}
.cm-link {color: #00c; text-decoration: underline;}
.cm-meta {color: #555;}
.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-qualifier {color: #555;}
.cm-quote {color: #090;}
.cm-strikethrough {text-decoration: line-through;}
.cm-string {color: #006400;}
.cm-string-2 {color: #f50;}
.cm-strong {font-weight: bold;}
.cm-tag {color: #170;}
.cm-variable {color: #8B2252;}
.cm-variable-2 {color: #05a;}
.cm-variable-3 {color: #085;}

.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-link {text-decoration: underline;}
.cm-strikethrough {text-decoration: line-through;}

.cm-s-default .cm-error {color: #f00;}
.cm-invalidchar {color: #f00;}

/* ASN */
.cm-s-ttcn .cm-accessTypes,
.cm-s-ttcn .cm-compareTypes {color: #27408B}
.cm-s-ttcn .cm-cmipVerbs {color: #8B2252}
.cm-s-ttcn .cm-modifier {color:#D2691E}
.cm-s-ttcn .cm-status {color:#8B4545}
.cm-s-ttcn .cm-storage {color:#A020F0}
.cm-s-ttcn .cm-tags {color:#006400}

/* CFG */
.cm-s-ttcn .cm-externalCommands {color: #8B4545; font-weight:bold}
.cm-s-ttcn .cm-fileNCtrlMaskOptions,
.cm-s-ttcn .cm-sectionTitle {color: #2E8B57; font-weight:bold}

/* TTCN */
.cm-s-ttcn .cm-booleanConsts,
.cm-s-ttcn .cm-otherConsts,
.cm-s-ttcn .cm-verdictConsts {color: #006400}
.cm-s-ttcn .cm-configOps,
.cm-s-ttcn .cm-functionOps,
.cm-s-ttcn .cm-portOps,
.cm-s-ttcn .cm-sutOps,
.cm-s-ttcn .cm-timerOps,
.cm-s-ttcn .cm-verdictOps {color: #0000FF}
.cm-s-ttcn .cm-preprocessor,
.cm-s-ttcn .cm-templateMatch,
.cm-s-ttcn .cm-ttcn3Macros {color: #27408B}
.cm-s-ttcn .cm-types {color: #A52A2A; font-weight:bold}
.cm-s-ttcn .cm-visibilityModifiers {font-weight:bold}

0 comments on commit fa11b72

Please sign in to comment.