Skip to content

Commit c47f30c

Browse files
committed
add background to gauge
1 parent 9fa79a3 commit c47f30c

5 files changed

Lines changed: 13 additions & 4 deletions

File tree

control-station/package-lock.json

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

control-station/src/components/GaugeTag/Gauge/Gauge.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.backgroundArc {
2-
stroke: rgba(0, 0, 0, 0.049);
2+
stroke: #c4d7e5a1;
33
}
44

55
.radialShadowArc {

control-station/src/components/GaugeTag/GaugeTag.module.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
@use "../../styles/colors";
2+
13
.gaugeTagWrapper {
24
display: grid;
35
grid-template-columns: min-content;
46
justify-items: center;
57
align-items: center;
68
margin-bottom: -1.87em;
9+
background-color: map-get($map: colors.$key-colors, $key: lightskyblue);
10+
padding: 1rem;
11+
border-radius: 100%;
712
}
813

914
.gauge {

control-station/src/components/GaugeTag/TextData/TextData.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
font-weight: inherit;
1313
font-size: 0.7em;
1414
font-weight: 400;
15+
font-style: italic;
1516
}
1617

1718
.value {

control-station/src/styles/colors.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ $key-colors: (
66
stable: hsl(73, 68%, 40%),
77
fault: hsl(0, 68%, 40%),
88
warning: hsl(49, 90%, 40%),
9-
neutral: hsl(0, 0%, 40%)
9+
neutral: hsl(0, 0%, 40%),
10+
lightskyblue: hsl(206, 100%, 96%),
1011
);
1112

1213
$lightnesses: 0, 10, 15, 20, 30, 40, 50, 60, 70, 80, 85, 90, 95, 99, 100;

0 commit comments

Comments
 (0)