Skip to content

Commit c7493ae

Browse files
committed
Make fill left and big counter themes use semi-transparent colors
1 parent e1dfbcb commit c7493ae

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

templates/pace-theme-big-counter.tmpl.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
font-size: 5rem;
2727
line-height: 1;
2828
text-align: right;
29-
color: `args.color || "#444"`;
30-
color: `args.color || "rgba(0, 0, 0, 0.2)"`;
29+
color: `Color(args.color).clearer(0.8).rgbString() || "#444"`;
30+
color: `Color(args.color).clearer(0.8).rgbString() || "rgba(0, 0, 0, 0.2)"`;
3131
}

templates/pace-theme-fill-left.tmpl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88

99
.pace .pace-progress {
10-
background-color: `args.color || "rgba(0, 0, 0, 0.2)"`;
10+
background-color: `Color(args.color).clearer(0.8).rgbString() || "rgba(0, 0, 0, 0.2)"`;
1111
position: fixed;
1212
z-index: -1;
1313
top: 0;

0 commit comments

Comments
 (0)