Skip to content

Commit

Permalink
Fix light theme
Browse files Browse the repository at this point in the history
  • Loading branch information
marjan-georgiev committed Dec 20, 2024
1 parent 5cf1786 commit f99d790
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@
}

.dashes-back {
stroke: #455066;
stroke: #e7e7e7;
}

.target-circle,
.target-circle-bg {
fill: #1b1e27;
fill: white;
}

.target-circle-bg {
stroke: #455066;
stroke: #e7e7e7;
}

.target-label {
fill: #a0aabe;
}
// .target-label {
// fill: #a0aabe;
// }

.target-value {
fill: #cdd2dd;
}
// .target-value {
// fill: #cdd2dd;
// }

.total {
dominant-baseline: middle;
Expand All @@ -35,3 +35,41 @@
text-anchor: middle;
}
}

// .percent-gauge {
// cursor: pointer;

// text {
// text-anchor: middle;
// }

// .dashes-back {
// stroke: #455066;
// }

// .target-circle,
// .target-circle-bg {
// fill: #1b1e27;
// }

// .target-circle-bg {
// stroke: #455066;
// }

// .target-label {
// fill: #a0aabe;
// }

// .target-value {
// fill: #cdd2dd;
// }

// .total {
// dominant-baseline: middle;
// }

// .label {
// display: block;
// text-anchor: middle;
// }
// }
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { ScaleType } from '../../common/types/scale-type.enum';
[style.stroke-dashoffset]="circumference * (1 - percent / 100)"
/>
</mask>
<text x="0" y="0" fill="white" stroke="none" class="total" [style.font-size]="valueFontSize">
<text x="0" y="0" stroke="none" class="total" [style.font-size]="valueFontSize">
{{ displayValue }}
</text>
<circle
Expand Down
23 changes: 23 additions & 0 deletions src/app/app.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,27 @@ main {
font-size: 0.8em;
color: $color-text-med;
}

.percent-gauge {
.dashes-back {
stroke: #455066;
}

.target-circle,
.target-circle-bg {
fill: #1b1e27;
}

.target-circle-bg {
stroke: #455066;
}

.target-label {
fill: #a0aabe;
}

.target-value {
fill: #cdd2dd;
}
}
}

0 comments on commit f99d790

Please sign in to comment.