NkUsageBar
color="primary" glowWhere to look: the track sets overflow-hidden, so the halo is clipped to the track box and only shows where it falls inside it — the soft bleed just right of the fill edge, into the empty 28% of the bar.
- Correct
- All five bars below are
height="lg"atvalue=72, so only the colour differs. Every one paints an 8px halo around its fill,primaryincluded — the class is nowshadow-[0_0_8px_hsl(var(--primary)/0.3)], which is valid CSS. Measured in this app, the primary halo is the wrong colour. The playground defines--primaryas an OKLCH triplet (0.65 0.18 200in dark), sohsl()reads it as hue 0.65, saturation 0.18%, lightness 200% clamped to 100% —getComputedStylereturnsrgba(255, 255, 255, 0.3). The fill is teal, the halo is white. It matches the fill only where--primaryis an HSL triplet: Hub, admin, account, auth, status. - Regressed
- The glow used to be written
rgba(oklch(var(--primary))/0.3), which nests one colour function inside another and is not valid CSS, so the whole declaration was dropped.primarywas the only one of the five with a flat, halo-free edge while emerald, blue, amber and red all had one.