The discussion revolves around Improved code block sizing & color scheme. fitzy initiated the conversation by sharing an experiment to improve code block readability, specifically for large blocks of code. The proposed changes include reducing text size, increasing line height, and modifying code block heights.
awesomerobot pointed out an unintentional side-effect of changing inline code font size, which fitzy agreed to modify. Lilly shared a custom CSS solution to achieve similar results.
sam expressed concerns that the changes might negatively impact shorter code snippets, suggesting that the modifications should only apply to very long code blocks. jordan-vidrine compared the current experiment to Stack Overflow’s code block display, noting differences in font size, bolding, and line height.
The conversation led to several updates, including a PR by jordan-vidrine to address concerns and improve code block readability. CvX suggested that the smaller font size might not be worth the space savings and recommended updating inline code styling for better consistency.
Later, jordan-vidrine proposed changing the default code block colors to a more modern scheme, similar to GitHub’s updated colors or Stack Overflow’s color scheme. fitzy preferred a more muted color scheme, such as Stack Overflow’s.
The discussion concluded with jordan-vidrine merging the changes into the core code and Tris20 expressing enthusiasm for the updates, which have improved code block readability.