refactor(css): remove redundant .text-bg-* combined utility #146

Merged
jmiller merged 2 commits from fix/text-bg-background-only into main 2026-06-29 16:00:31 +00:00
Owner

.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-*` 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
jmiller added 1 commit 2026-06-29 15:55:14 +00:00
refactor(css): remove redundant .text-bg-* combined utility
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 6s
Generic: Repo Health / Access control (pull_request) Successful in 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Project CI / Lint & Validate (pull_request) Successful in 15s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 13s
Universal: PR Check / Branch Policy (pull_request) Failing after 1s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 18s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Universal: PR Check / Secret Scan (pull_request) Successful in 5s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Failing after 36s
Generic: Project CI / Tests (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been cancelled
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been cancelled
Joomla: Extension CI / Build RC Pre-Release (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report: Scripts Governance (pull_request) Has been cancelled
Generic: Repo Health / Report: Repository Health (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
168c091352
.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 Consulting
jmiller force-pushed fix/text-bg-background-only from 44b52b92f3 to 168c091352 2026-06-29 15:55:14 +00:00 Compare
jmiller changed title from fix(css): make .text-bg-* background-only (drop forced color) to refactor(css): remove redundant .text-bg-* combined utility 2026-06-29 15:55:25 +00:00
jmiller added 1 commit 2026-06-29 15:55:31 +00:00
chore(version): pre-release bump to 02.27.06-dev [skip ci]
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 17s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Successful in 3m18s
c54b164826
jmiller merged commit 0d205bcc65 into main 2026-06-29 16:00:31 +00:00
jmiller deleted branch fix/text-bg-background-only 2026-06-29 16:00:31 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoOnyx#146