What's Changed
- CMS Block Text Colors Fix Fixes #169:
- Fixed CMS blocks not respecting custom text colors configured in the admin panel (Heading Color, Subtitle Color, Body Text Color)
- Root Cause: Blocks used hardcoded Tailwind classes (e.g.,
text-gray-900 dark:text-white,text-gray-600 dark:text-gray-400) that override custom colors defined inbackground-wrapper - Solution: Removed hardcoded color classes from all text elements (titles, subtitles, paragraphs) and added
subtitleclass where appropriate to allowbackground-wrapperCSS to apply custom colors - Blocks Fixed (18 blocks covering all text elements):
features.blade.php: Title (h2), subtitle, item titles (h3), descriptionshero.blade.php: Title (h1), subtitlecta.blade.php: Heading (h2), subheadingtestimonials.blade.php: Title (h2), names (h3), rolesnewsletter.blade.php: Heading (h2), descriptionfaq.blade.php: Title (h2), questions, answersteam.blade.php: Heading (h2), description, member names (h3), biosgallery.blade.php: Heading (h2), descriptionblog_posts.blade.php: Heading (h2), dates, post titles (h3), excerptstimeline.blade.php: Heading (h2), event titles (h3), descriptionspricing.blade.php: Heading (h2), plan names (h3), descriptionsmap.blade.php: Heading (h2), sub-headings (h3)video.blade.php: Heading (h2)blog-title.blade.php: Title (h1), descriptioncontent.blade.php: Prose headings and paragraphs (removedprose-headings:text-gray-900andprose-p:text-gray-700override classes)stats.blade.php: Heading (h2)
- Impact: Users can now fully customize ALL text colors (headings h1-h6, subtitles, body text) in Dark Mode and Light Mode, and blocks will correctly display those choices instead of using hardcoded colors
Full Changelog: v0.15.6...v0.15.7