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

134 lines
2.4 KiB
SCSS
Raw Normal View History

// brown: #6C4D13
// black: #333
// blue: #0F9DD7
// pink: #D9328F
// gray: #999999
// dark blue: #318094
// white: #fdfdfd
//numbers
//light gray: #f4f4f4
//dark gray: #b5b5b5
$p5-contrast-black: #333;
$p5-contrast-gray: #A0A0A0;
$p5-contrast-white: #FDFDFD;
$p5-contrast-darkgray: #333333;
$p5-contrast-lightgray: #C1C1C1;
$p5-contrast-blue: #00FFFF;
$p5-contrast-green: #2DE9B6;
$p5-contrast-yellow: #F5DC23;
$p5-contrast-orange: #FFA95D;
$p5-contrast-pink: #FFA9D9;
$p5-contrast-gutter: #454545;
$p5-contrast-number: #FDFDFD;
$p5-contrast-selected: rgba(45, 123, 182, 25);
$p5-contrast-activeline: #999999;
.cm-s-p5-contrast {
background-color: $p5-contrast-black;
color: $p5-contrast-white;
}
.cm-s-p5-contrast .cm-comment {
color: $p5-contrast-lightgray;
}
.cm-s-p5-contrast .cm-def {
color: $p5-contrast-blue;
}
.cm-s-p5-contrast .cm-string {
color: $p5-contrast-green;
}
.cm-s-p5-contrast .cm-string-2 {
color: $p5-contrast-green;
}
.cm-s-p5-contrast .cm-number {
color: $p5-contrast-pink;
}
.cm-s-p5-contrast .cm-keyword {
color: $p5-contrast-yellow;
}
.cm-s-p5-contrast .cm-variable {
color: $p5-contrast-white;
}
.cm-s-p5-contrast .cm-variable-2 {
color: $p5-contrast-white;
}
.cm-s-p5-contrast .cm-property {
color: $p5-contrast-white;
}
.cm-s-p5-contrast .cm-atom {
color: $p5-contrast-pink;
}
.cm-s-p5-contrast .cm-operator {
color: $p5-contrast-lightgray;
}
.cm-s-p5-contrast .cm-linenumber {
color: $p5-contrast-number;
}
.cm-s-p5-contrast .CodeMirror-selected {
background-color: $p5-contrast-selected;
}
.cm-s-p5-contrast .CodeMirror-activeline-background {
background-color: #404040;
}
.cm-s-p5-contrast .CodeMirror-activeline-gutter {
background-color: #454545;
border-right: 1px solid #949494;
}
.cm-s-p5-contrast .cm-error {
color: #f00;
}
.cm-s-p5-contrast .CodeMirror-matchingbracket {
outline: 1px solid $p5-contrast-lightgray;
2018-11-07 21:07:06 +01:00
outline-offset: 1px;
color: $p5-contrast-white !important;
}
.cm-s-p5-contrast .cm-qualifier {
color: $p5-contrast-yellow;
}
.cm-s-p5-contrast .cm-tag {
color: $p5-contrast-orange;
}
.cm-s-p5-contrast .cm-builtin {
color: $p5-contrast-yellow;
}
.cm-s-p5-contrast .cm-attribute {
color: $p5-contrast-white;
}
.cm-s-p5-contrast .cm-p5-function {
color: $p5-contrast-blue;
}
.cm-s-p5-contrast .cm-p5-variable {
color: $p5-contrast-pink;
font-weight: bold;
}
2017-10-11 23:31:23 +02:00
.cm-s-p5-contrast .CodeMirror-foldmarker {
background-color: white;
color: #333;
}