Skip to content

Commit 3b62c3b

Browse files
committed
Mildly adjust colors in light and dark code editing themes
1 parent 677148e commit 3b62c3b

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $p5-dark-lightbrown: #A67F59;
1414
$p5-light-green: #42F48F;
1515
$p5-dark-black: #1C1C1C;
1616
$p5-dark-pink: #DE4A9B;
17-
$p5-dark-gray: #999999;
17+
$p5-dark-gray: #9B9B9B;
1818
$p5-dark-lightblue: #0F9DD7;
1919
$p5-dark-darkblue: #318094;
2020
$p5-dark-white: #FDFDFD;

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

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,16 @@
1010
//light gray: #f4f4f4
1111
//dark gray: #b5b5b5
1212

13-
$p5-light-lightbrown: #7a5a3a;
14-
$p5-light-brown: #704F21;
13+
$p5-light-brown: #7A5A3A;
1514
$p5-light-black: #333333;
16-
$p5-light-pink: #CA445F;
15+
$p5-light-pink: #D52889;
1716
$p5-light-gray: #666;
18-
$p5-light-lightblue: #007bbb;
19-
$p5-light-darkblue: #306bb4;
20-
$p5-light-white: #FDFDFD;
21-
$p5-light-orange: #9E6700;
22-
$p5-light-lightgray: #E0D7D1;
23-
$p5-light-darkgray: #666666;
24-
$p5-light-green: #008007;
17+
$p5-light-blue: #0B7CA9;
18+
$p5-light-white: $lighter;
19+
$p5-light-orange: #A06801;
20+
$p5-light-lightgray: $middle-gray;
21+
$p5-light-green: #47820A;
22+
2523

2624
$p5-light-gutter: #f4f4f4;
2725
$p5-light-number: #b5b5b5;
@@ -34,11 +32,11 @@ $p5-light-activeline: rgb(207, 207, 207);
3432
}
3533

3634
.cm-s-p5-light span .cm-comment {
37-
color: $p5-light-gray;
35+
color: $p5-light-lightgray;
3836
}
3937

4038
.cm-s-p5-light span .cm-def {
41-
color: $p5-light-lightblue;
39+
color: $p5-light-blue;
4240
}
4341

4442
.cm-s-p5-light span .cm-string {
@@ -58,7 +56,7 @@ $p5-light-activeline: rgb(207, 207, 207);
5856
}
5957

6058
.cm-s-p5-light span .cm-variable {
61-
color: $p5-light-lightblue;
59+
color: $p5-light-blue;
6260
}
6361

6462
.cm-s-p5-light span .cm-variable2 {
@@ -74,7 +72,7 @@ $p5-light-activeline: rgb(207, 207, 207);
7472
}
7573

7674
.cm-s-p5-light span .cm-operator {
77-
color: $p5-light-lightbrown;
75+
color: $p5-light-brown;
7876
}
7977

8078
.cm-s-p5-light .cm-linenumber {
@@ -105,23 +103,23 @@ $p5-light-activeline: rgb(207, 207, 207);
105103
}
106104

107105
.cm-s-p5-light span .cm-qualifier {
108-
color: $p5-light-lightblue;
106+
color: $p5-light-blue;
109107
}
110108

111109
.cm-s-p5-light span .cm-tag {
112110
color: $p5-light-pink;
113111
}
114112

115113
.cm-s-p5-light span .cm-builtin {
116-
color: $p5-light-lightblue;
114+
color: $p5-light-blue;
117115
}
118116

119117
.cm-s-p5-light span .cm-attribute {
120118
color: $p5-light-black;
121119
}
122120

123121
.cm-s-p5-light .cm-p5-function {
124-
color: $p5-light-darkblue;
122+
color: $p5-light-blue;
125123
font-weight: bold;
126124
}
127125

0 commit comments

Comments
 (0)