@@ -324,30 +324,30 @@ const renderStats = () => {
324
324
<h5 class="mb-1">Contributions</h5>
325
325
<div class="d-flex flex-justify-between rounded-2 border px-1 px-md-2">
326
326
<div class="p-2">
327
- <span class="d-block f2 text-bold color-text -success lh-condensed">${ countTotal } </span>
327
+ <span class="d-block f2 text-bold color-fg -success lh-condensed">${ countTotal } </span>
328
328
<span class="d-block text-small text-bold">Total</span>
329
- <span class="d-none d-sm-block text-small color-text-tertiary ">${ datesTotal } </span>
329
+ <span class="d-none d-sm-block text-small color-fg-subtlcolor-fg-subtle ">${ datesTotal } </span>
330
330
</div>
331
331
`
332
332
if ( ! viewingYear ) {
333
333
topMarkup += `
334
334
<div class="p-2 d-none d-xl-block">
335
- <span class="d-block f2 text-bold color-text -success lh-condensed">${ weekCountTotal } </span>
335
+ <span class="d-block f2 text-bold color-fg -success lh-condensed">${ weekCountTotal } </span>
336
336
<span class="d-block text-small text-bold">This week</span>
337
- <span class="d-none d-sm-block text-small color-text-tertiary ">${ weekDatesTotal } </span>
337
+ <span class="d-none d-sm-block text-small color-fg-subtle ">${ weekDatesTotal } </span>
338
338
</div>
339
339
`
340
340
}
341
341
342
342
topMarkup += `
343
343
<div class="p-2">
344
- <span class="d-block f2 text-bold color-text -success lh-condensed">${ maxCount } </span>
344
+ <span class="d-block f2 text-bold color-fg -success lh-condensed">${ maxCount } </span>
345
345
<span class="d-block text-small text-bold">Best day</span>
346
- <span class="d-none d-sm-block text-small color-text-tertiary ">${ dateBest } </span>
346
+ <span class="d-none d-sm-block text-small color-fg-subtle ">${ dateBest } </span>
347
347
</div>
348
348
</div>
349
349
<p class="mt-1 text-right text-small">
350
- Average: <span class="text-bold color-text -success">${ averageCount } </span> <span class="color-text-tertiary ">/ day</span>
350
+ Average: <span class="text-bold color-fg -success">${ averageCount } </span> <span class="color-fg-subtle ">/ day</span>
351
351
</p>
352
352
</div>
353
353
`
@@ -357,17 +357,17 @@ const renderStats = () => {
357
357
<h5 class="mb-1">Streaks</h5>
358
358
<div class="d-flex flex-justify-between rounded-2 border px-1 px-md-2">
359
359
<div class="p-2">
360
- <span class="d-block f2 text-bold color-text -success lh-condensed">${ streakLongest } <span class="f4">days</span></span>
360
+ <span class="d-block f2 text-bold color-fg -success lh-condensed">${ streakLongest } <span class="f4">days</span></span>
361
361
<span class="d-block text-small text-bold">Longest</span>
362
- <span class="d-none d-sm-block text-small color-text-tertiary ">${ datesLongest } </span>
362
+ <span class="d-none d-sm-block text-small color-fg-subtle ">${ datesLongest } </span>
363
363
</div>
364
364
`
365
365
if ( ! viewingYear ) {
366
366
bottomMarkup += `
367
367
<div class="p-2">
368
- <span class="d-block f2 text-bold color-text -success lh-condensed">${ streakCurrent } <span class="f4">days</span></span>
368
+ <span class="d-block f2 text-bold color-fg -success lh-condensed">${ streakCurrent } <span class="f4">days</span></span>
369
369
<span class="d-block text-small text-bold">Current</span>
370
- <span class="d-none d-sm-block text-small color-text-tertiary ">${ datesCurrent } </span>
370
+ <span class="d-none d-sm-block text-small color-fg-subtle ">${ datesCurrent } </span>
371
371
</div>
372
372
</div>
373
373
</div>
0 commit comments