polish: drop dead .progress-bar / .progress-fill utilities

Created with future-API intent during the optimize pass but no .tsx
consumer materialised — the three Subscription progress bars inline
their classes directly. Dead utility classes accumulate, confuse the
next reader ("this looks like our pattern, am I doing it wrong?"),
and add bytes to the CSS. Drop both the dark version and the
.light .progress-bar override.

If a future progress bar needs them back: inline first, extract only
when 3+ call sites share intent (per /impeccable extract guidance).
This commit is contained in:
c0mrade
2026-05-26 21:00:02 +03:00
parent 251c862922
commit 9cfbf2ba97

View File

@@ -646,18 +646,6 @@ img.twemoji {
@apply badge border border-dark-600/50 bg-dark-700/50 text-dark-300;
}
/* Progress bar - Dark */
.progress-bar {
@apply h-2 w-full overflow-hidden rounded-full bg-dark-800;
}
.progress-fill {
/* GPU-composited progress fill — consumer sets transform: scaleX(0..1)
with transform-origin: left. Avoids width-triggered reflow per frame. */
@apply h-full w-full origin-left rounded-full duration-500 ease-smooth;
transition-property: transform, background-color;
}
/* Stat card - Dark */
.stat-value {
@apply text-2xl font-bold text-dark-50 sm:text-3xl;
@@ -824,11 +812,6 @@ img.twemoji {
@apply border border-champagne-300 bg-champagne-200/50 text-champagne-700;
}
/* Progress bar - Light */
.light .progress-bar {
@apply bg-champagne-200;
}
/* Stat card - Light */
.light .stat-value {
@apply text-champagne-900;