p5.js-web-editor/client/styles/components/_p5-light-codemirror-theme.scss

134 lines
2.3 KiB
SCSS
Raw Normal View History

2016-09-15 19:10:53 +02:00
// brown: #6C4D13
// black: #333
// blue: #0F9DD7
// pink: #D9328F
// gray: #999999
// dark blue: #318094
// white: #fdfdfd
//numbers
//light gray: #f4f4f4
//dark gray: #b5b5b5
$p5-light-lightbrown: #A67F59;
$p5-light-brown: #704F21;
$p5-light-black: #333333;
2016-09-15 19:10:53 +02:00
$p5-light-pink: #D9328F;
$p5-light-gray: #A0A0A0;
$p5-light-lightblue: #00A1D3;
$p5-light-darkblue: #2D7BB6;
2016-09-15 19:10:53 +02:00
$p5-light-white: #FDFDFD;
$p5-light-orange: #EE9900;
$p5-light-lightgray: #E0D7D1;
$p5-light-darkgray: #666666;
$p5-light-green: #58a10b;
2016-09-15 19:10:53 +02:00
$p5-light-gutter: #f4f4f4;
$p5-light-number: #b5b5b5;
$p5-light-selected: rgba(45, 123, 182, 25);
$p5-light-activeline: rgb(207, 207, 207);
2016-05-03 22:13:04 +02:00
2016-09-20 17:51:09 +02:00
.cm-s-p5-light {
2016-09-15 19:10:53 +02:00
background-color: $p5-light-white;
color: $p5-light-black;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-comment {
2016-09-15 19:10:53 +02:00
color: $p5-light-gray;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-def {
color: $p5-light-lightblue;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-string {
color: $p5-light-green;
2016-09-15 19:10:53 +02:00
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-string-2 {
color: $p5-light-orange;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-number {
color: $p5-light-black;
2016-09-15 19:10:53 +02:00
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-keyword {
color: $p5-light-brown;
2016-09-15 19:10:53 +02:00
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-variable {
color: $p5-light-lightblue;
2016-09-15 19:10:53 +02:00
}
.cm-s-p5-light .cm-variable2 {
2016-09-15 20:14:36 +02:00
color: $p5-light-black;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-property {
2016-09-15 20:14:36 +02:00
color: $p5-light-black;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-atom {
2016-09-15 20:14:36 +02:00
color: $p5-light-pink;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-operator {
color: $p5-light-lightbrown;
2016-09-15 20:14:36 +02:00
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-linenumber {
color: $p5-light-number;
2016-09-15 20:14:36 +02:00
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .CodeMirror-selected {
background-color: $p5-light-selected;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .CodeMirror-activeline-background {
background-color: #F3F3F3;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .CodeMirror-activeline-gutter {
background-color: #ECECEC;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-error {
color: #f00;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .CodeMirror-matchingbracket {
outline: 1px solid $p5-light-gray;
color: $p5-light-black !important;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-qualifier {
color: $p5-light-lightblue;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-tag {
color: $p5-light-pink;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-builtin {
color: $p5-light-lightblue;
}
2016-09-20 17:51:09 +02:00
.cm-s-p5-light .cm-attribute {
color: $p5-light-black;
}
.cm-s-p5-light .cm-p5-function {
color: $p5-light-darkblue;
font-weight: bold;
}
.cm-s-p5-light .cm-p5-variable {
color: $p5-light-pink;
}
2017-10-11 23:31:23 +02:00
.cm-s-p5-light .CodeMirror-foldmarker {
background-color: #333;
color: white;
}