Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Commit

Permalink
Modified css colors for bq query and python (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
yebrahim authored Mar 6, 2017
1 parent bbd60c6 commit 7418d32
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 13 deletions.
11 changes: 4 additions & 7 deletions sources/web/datalab/static/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ table.bqsv th, table.bqsv td {
border-left: 1px solid #f8f8f0;
}
.cm-s-ipython span.cm-comment {
color: #75715e;
color: #888;
}
.cm-s-ipython span.cm-atom {
color: #ae81ff;
Expand All @@ -236,7 +236,7 @@ table.bqsv th, table.bqsv td {
.cm-s-ipython span.cm-property, .cm-s-ipython span.cm-attribute {
color: #a6e22e;
}
.cm-s-ipython span.cm-keyword {
.cm-s-ipython span.cm-keyword, .cm-s-ipython span.cm-builtin {
color: #48c34e;
}
.cm-s-ipython span.cm-function {
Expand All @@ -246,7 +246,7 @@ table.bqsv th, table.bqsv td {
color: #e6db74;
}
.cm-s-ipython span.cm-operator {
color: #ff7878;
color: #fff;
}
.cm-s-ipython span.cm-type {
color: #d67135;
Expand All @@ -257,9 +257,6 @@ table.bqsv th, table.bqsv td {
.cm-s-ipython span.cm-variable-2 {
color: #9effff;
}
.cm-s-ipython span.cm-variable-3 {
color: #66d9ef;
}
.cm-s-ipython span.cm-def {
color: #fd971f;
}
Expand All @@ -276,7 +273,7 @@ table.bqsv th, table.bqsv td {
color: #ae81ff;
}
.cm-s-ipython span.cm-error {
color: #f8f8f0;
color: red;
}
.cm-s-ipython .CodeMirror-activeline-background {
background: #373831;
Expand Down
27 changes: 21 additions & 6 deletions sources/web/datalab/static/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,30 @@ code {
}

/* Code theme */
.cm-comment {
.cm-s-ipython span.cm-comment {
color: #008000 !important;
}
.cm-error {
.cm-s-ipython span.cm-error {
color: red !important;
}
.cm-function {
color: #ff4056;
.cm-s-ipython span.cm-function {
color: #800000;
}
.cm-type {
color: #d67135;
.cm-s-ipython span.cm-type {
color: #800080;
}
.cm-s-ipython span.cm-builtin {
color: #0000ff;
}
.cm-s-ipython span.cm-atom {
color: #ff8c00;
}
.cm-s-ipython span.cm-keyword {
color: #0000ff;
}
.cm-s-ipython span.cm-string {
color: #000080;
}
.cm-s-ipython span.cm-operator {
color: #000;
}

0 comments on commit 7418d32

Please sign in to comment.