refactor(css): remove redundant .text-bg-* combined utility #146
Reference in New Issue
Block a user
Delete Branch "fix/text-bg-background-only"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
.text-bg-*had a misleading prefix and forced a black/white foreground that fought the theme. The theme already provides separate, theme-aware utilities —.text-*(color: var(--*-rgb)) and.bg-*(background-color: var(--*-rgb)) — so the combined class is redundant. Removed all 8.text-bg-*rules; compose.text-{ctx}+.bg-{ctx}instead.Unused in content (article/category callouts now use
.text-primary; the demo modules use their own inline styles).Authored-by: Moko Consulting
.text-bg-* both (a) had a misleading prefix and (b) forced a black/white foreground that fought the theme. The theme already provides separate, theme-aware utilities: .text-* (color: var(--*-rgb)) and .bg-* (background-color: var(--*-rgb)). Remove .text-bg-* and compose .text-{ctx} + .bg-{ctx} instead. Authored-by: Moko Consulting44b52b92f3to168c091352fix(css): make .text-bg-* background-only (drop forced color)to refactor(css): remove redundant .text-bg-* combined utility