Skip to content

Commit

Permalink
Adjust plot colors (#3580)
Browse files Browse the repository at this point in the history
* Adjust plot colors

* Fix dark-theme
  • Loading branch information
haslinghuis authored Sep 23, 2023
1 parent 71e1240 commit 7e25ce2
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 15 deletions.
53 changes: 53 additions & 0 deletions src/css/dark-theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,15 @@ progress[value] {
background-color: #3a3a3a;
color: white;
}
.x {
background-color: #00A8F0;
}
.y {
background-color: #C0D800;
}
.z {
background-color: #CB4B4B;
}
}
.motorblock {
background-color: #393b3a;
Expand All @@ -481,6 +490,17 @@ progress[value] {
text {
fill: white;
}
.line {
&:nth-child(1) {
stroke: #00A8F0;
}
&:nth-child(2) {
stroke: #C0D800;
}
&:nth-child(3) {
stroke: #CB4B4B;
}
}
}
.tab-onboard_logging {
.regular-button.disabled {
Expand Down Expand Up @@ -834,6 +854,39 @@ progress[value] {
background-color: #3a3a3a;
color: white;
}
.x {
background-color: #00A8F0;
}
.y {
background-color: #C0D800;
}
.z {
background-color: #CB4B4B;
}
}
.line {
&:nth-child(1) {
stroke: #00A8F0;
}
&:nth-child(2) {
stroke: #C0D800;
}
&:nth-child(3) {
stroke: #CB4B4B;
}
}
.legend {
.item {
&:nth-child(1) {
fill: #00A8F0;
}
&:nth-child(2) {
fill: #C0D800;
}
&:nth-child(3) {
fill: #CB4B4B;
}
}
}
text {
fill: white;
Expand Down
12 changes: 6 additions & 6 deletions src/css/tabs/motors.less
Original file line number Diff line number Diff line change
Expand Up @@ -392,13 +392,13 @@
border-radius: 3px;
}
.x {
background-color: #00A8F0;
background-color: #0000F0;
}
.y {
background-color: #C0D800;
background-color: #026303;
}
.z {
background-color: #CB4B4B;
background-color: #AB0202;
}
.rms {
background-color: #00D800;
Expand Down Expand Up @@ -462,13 +462,13 @@
}
.line {
&:nth-child(1) {
stroke: #00A8F0;
stroke: #0000F0;
}
&:nth-child(2) {
stroke: #C0D800;
stroke: #026303;
}
&:nth-child(3) {
stroke: #CB4B4B;
stroke: #AB0202;
}
}
.motorblock {
Expand Down
18 changes: 9 additions & 9 deletions src/css/tabs/sensors.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
border-radius: 3px;
}
.x {
background-color: #00A8F0;
background-color: #0000F0;
padding: 3px;
color: #fff;
height: 12px;
Expand All @@ -64,7 +64,7 @@
text-align: right;
}
.y {
background-color: #C0D800;
background-color: #026303;
padding: 3px;
color: #fff;
height: 12px;
Expand All @@ -75,7 +75,7 @@
text-align: right;
}
.z {
background-color: #CB4B4B;
background-color: #AB0202;
padding: 3px;
color: #fff;
height: 12px;
Expand Down Expand Up @@ -131,13 +131,13 @@
}
.line {
&:nth-child(1) {
stroke: #00A8F0;
stroke: #0000F0;
}
&:nth-child(2) {
stroke: #C0D800;
stroke: #026303;
}
&:nth-child(3) {
stroke: #CB4B4B;
stroke: #AB0202;
}
&:nth-child(4) {
stroke: #4DA74D;
Expand All @@ -146,13 +146,13 @@
.legend {
.item {
&:nth-child(1) {
fill: #00A8F0;
fill: #0000F0;
}
&:nth-child(2) {
fill: #C0D800;
fill: #026303;
}
&:nth-child(3) {
fill: #CB4B4B;
fill: #AB0202;
}
&:nth-child(4) {
fill: #4DA74D;
Expand Down

0 comments on commit 7e25ce2

Please sign in to comment.