Skip to content

Commit 2938c76

Browse files
committed
Modify dark theme
1 parent 8bf9c10 commit 2938c76

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

client/styles/components/_p5-dark-codemirror-theme.scss

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ $p5-dark-lightbrown: #A67F59;
1414
$p5-light-green: #42F48F;
1515
$p5-dark-black: #333;
1616
$p5-dark-pink: #D9328F;
17-
$p5-dark-gray: #A0A0A0;
18-
$p5-dark-lightblue: #00A1D3;
19-
$p5-dark-darkblue: #2D7BB6;
17+
$p5-dark-gray: #999999;
18+
$p5-dark-lightblue: #0F9DD7;
19+
$p5-dark-darkblue: #318094;
2020
$p5-dark-white: #FDFDFD;
2121
$p5-dark-orange: #EE9900;
2222
$p5-dark-lightgray: #E0D7D1;
2323
$p5-dark-darkgray: #666666;
2424
$p5-dark-green: #58a10b;
25-
$p5-dark-goldbrown: #b58317;
25+
$p5-dark-goldbrown: #b58318;
2626

2727
$p5-dark-gutter: #f4f4f4;
2828
$p5-dark-number: #b5b5b5;
@@ -39,7 +39,7 @@ $p5-dark-activeline: rgb(207, 207, 207);
3939
}
4040

4141
.cm-s-p5-dark .cm-def {
42-
color: $p5-dark-darkblue;
42+
color: $p5-dark-lightblue;
4343
}
4444

4545
.cm-s-p5-dark .cm-string {
@@ -75,7 +75,7 @@ $p5-dark-activeline: rgb(207, 207, 207);
7575
}
7676

7777
.cm-s-p5-dark .cm-operator {
78-
color: $p5-dark-lightbrown;
78+
color: $p5-dark-white;
7979
}
8080

8181
.cm-s-p5-dark .cm-linenumber {
@@ -96,7 +96,7 @@ $p5-dark-activeline: rgb(207, 207, 207);
9696
}
9797

9898
.cm-s-p5-dark .cm-error {
99-
color: #f00;
99+
color: #df3a3d;
100100
}
101101

102102
.cm-s-p5-dark .CodeMirror-matchingbracket {
@@ -115,14 +115,16 @@ $p5-dark-activeline: rgb(207, 207, 207);
115115

116116
.cm-s-p5-dark .cm-builtin {
117117
color: $p5-dark-lightblue;
118+
font-weight: bold;
118119
}
119120

120121
.cm-s-p5-dark .cm-attribute {
121122
color: $p5-dark-lightblue;
122123
}
123124

124125
.cm-s-p5-dark .cm-p5-function {
125-
color: $p5-dark-darkblue;
126+
color: $p5-dark-lightblue;
127+
font-weight: bold !important;
126128
}
127129

128130
.cm-s-p5-dark .cm-p5-variable {

0 commit comments

Comments
 (0)