Fixed Code block colors (aka Prism) & dark styles

Xon

Well-known member
Affected version
2.1.3
Most styling uses style independent colors system, or LESS to pick a color which works. But the Prism-based code-block colors in bb_code.less have a number of hard-coded colors. Ideally these should use the LESS contrast function against the background to ensure the colors are vaguely usable on both light and dark styles
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.0 RC2).

Change log:
Define custom code block colors for dark styles
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom