Skip to content

Commit 7e25ce2

Browse files
authored
Adjust plot colors (#3580)
* Adjust plot colors * Fix dark-theme
1 parent 71e1240 commit 7e25ce2

File tree

3 files changed

+68
-15
lines changed

3 files changed

+68
-15
lines changed

src/css/dark-theme.less

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,15 @@ progress[value] {
460460
background-color: #3a3a3a;
461461
color: white;
462462
}
463+
.x {
464+
background-color: #00A8F0;
465+
}
466+
.y {
467+
background-color: #C0D800;
468+
}
469+
.z {
470+
background-color: #CB4B4B;
471+
}
463472
}
464473
.motorblock {
465474
background-color: #393b3a;
@@ -481,6 +490,17 @@ progress[value] {
481490
text {
482491
fill: white;
483492
}
493+
.line {
494+
&:nth-child(1) {
495+
stroke: #00A8F0;
496+
}
497+
&:nth-child(2) {
498+
stroke: #C0D800;
499+
}
500+
&:nth-child(3) {
501+
stroke: #CB4B4B;
502+
}
503+
}
484504
}
485505
.tab-onboard_logging {
486506
.regular-button.disabled {
@@ -834,6 +854,39 @@ progress[value] {
834854
background-color: #3a3a3a;
835855
color: white;
836856
}
857+
.x {
858+
background-color: #00A8F0;
859+
}
860+
.y {
861+
background-color: #C0D800;
862+
}
863+
.z {
864+
background-color: #CB4B4B;
865+
}
866+
}
867+
.line {
868+
&:nth-child(1) {
869+
stroke: #00A8F0;
870+
}
871+
&:nth-child(2) {
872+
stroke: #C0D800;
873+
}
874+
&:nth-child(3) {
875+
stroke: #CB4B4B;
876+
}
877+
}
878+
.legend {
879+
.item {
880+
&:nth-child(1) {
881+
fill: #00A8F0;
882+
}
883+
&:nth-child(2) {
884+
fill: #C0D800;
885+
}
886+
&:nth-child(3) {
887+
fill: #CB4B4B;
888+
}
889+
}
837890
}
838891
text {
839892
fill: white;

src/css/tabs/motors.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -392,13 +392,13 @@
392392
border-radius: 3px;
393393
}
394394
.x {
395-
background-color: #00A8F0;
395+
background-color: #0000F0;
396396
}
397397
.y {
398-
background-color: #C0D800;
398+
background-color: #026303;
399399
}
400400
.z {
401-
background-color: #CB4B4B;
401+
background-color: #AB0202;
402402
}
403403
.rms {
404404
background-color: #00D800;
@@ -462,13 +462,13 @@
462462
}
463463
.line {
464464
&:nth-child(1) {
465-
stroke: #00A8F0;
465+
stroke: #0000F0;
466466
}
467467
&:nth-child(2) {
468-
stroke: #C0D800;
468+
stroke: #026303;
469469
}
470470
&:nth-child(3) {
471-
stroke: #CB4B4B;
471+
stroke: #AB0202;
472472
}
473473
}
474474
.motorblock {

src/css/tabs/sensors.less

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
border-radius: 3px;
5454
}
5555
.x {
56-
background-color: #00A8F0;
56+
background-color: #0000F0;
5757
padding: 3px;
5858
color: #fff;
5959
height: 12px;
@@ -64,7 +64,7 @@
6464
text-align: right;
6565
}
6666
.y {
67-
background-color: #C0D800;
67+
background-color: #026303;
6868
padding: 3px;
6969
color: #fff;
7070
height: 12px;
@@ -75,7 +75,7 @@
7575
text-align: right;
7676
}
7777
.z {
78-
background-color: #CB4B4B;
78+
background-color: #AB0202;
7979
padding: 3px;
8080
color: #fff;
8181
height: 12px;
@@ -131,13 +131,13 @@
131131
}
132132
.line {
133133
&:nth-child(1) {
134-
stroke: #00A8F0;
134+
stroke: #0000F0;
135135
}
136136
&:nth-child(2) {
137-
stroke: #C0D800;
137+
stroke: #026303;
138138
}
139139
&:nth-child(3) {
140-
stroke: #CB4B4B;
140+
stroke: #AB0202;
141141
}
142142
&:nth-child(4) {
143143
stroke: #4DA74D;
@@ -146,13 +146,13 @@
146146
.legend {
147147
.item {
148148
&:nth-child(1) {
149-
fill: #00A8F0;
149+
fill: #0000F0;
150150
}
151151
&:nth-child(2) {
152-
fill: #C0D800;
152+
fill: #026303;
153153
}
154154
&:nth-child(3) {
155-
fill: #CB4B4B;
155+
fill: #AB0202;
156156
}
157157
&:nth-child(4) {
158158
fill: #4DA74D;

0 commit comments

Comments
 (0)