Rename Solarized → Solarium Daylight/Moonlight (Besley slab serif)#16
Merged
Conversation
The Solarized palette was always asking for a serif body face — the muted base1 / base01 olive-grey body and the warm-orange / yellow accents read as "designed document" colors but with SF Pro they sat in generic-modern territory. Swapping in Besley (Owen Earl, Indestructible Type, OFL — slab-serif revival explicitly designed for sustained screen reading) gives the palette the typeface those colors always wanted. Six Besley weights bundled: Regular, Italic, SemiBold, SemiBoldItalic, Bold, BoldItalic (~500 KB total). Registered alongside Alegreya and OpenDyslexic via the existing FontRegistration path. Typography pass tuned for slab-serif body, balancing readability and density (per spec — neither Sevilla-style long-form-reading nor default-density operational): - 16pt body (default — Besley's tall x-height handles it) - 0.40em line spacing (≈1.55× — between sans default 0.30 and Sevilla's 0.55) - 720pt measure (≈80ch — between Sevilla's 620 and the 860 default) - 1.55 / 1.28 / 1.1 heading scale (down from default 1.75/1.4/1.15; slab serifs are visually dense at heading sizes) - Default rhythm — Besley SemiBold + the H1 rule carry section breaks - Strong drops to tier 1 (= body) for Moonlight too — was tier 2 with SF Pro semibold, but Besley SemiBold has the heft to carry mid- paragraph emphasis on its own. Same call Sevilla makes for Alegreya. Solarized values unchanged otherwise. Schoonover's L*-balanced palette already worked; the font was the only thing wrong. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Solarized palette has always wanted a serif body face — its muted base1 / base01 olive-grey body and warm orange / yellow accents read as "designed document" but with SF Pro they sat in generic-modern territory. Replace with Besley (Owen Earl, Indestructible Type, OFL — slab-serif revival explicitly designed for sustained screen reading) and rename:
Schoonover's Solarized values are unchanged (base3 / base03 / base01 / base1 / blue / orange / yellow). The font swap is what we wanted; the palette already worked.
What ships
mdv/Fonts/(~500 KB total): Regular, Italic, SemiBold, SemiBoldItalic, Bold, BoldItalic. Registered alongside Alegreya and OpenDyslexic via the existingFontRegistrationpath. SemiBold variants resolve through Besley's typographic-family table (name ID 16) so SwiftUI'sFont.custom("Besley").weight(.semibold)picks them cleanly.MDVTheme.solariumDaylight+solariumMoonlightreplacesolarizedLight+solarizedDarkinMDVTheme.all.TYPOGRAPHY.mdcatalog rows + a Solarium deep-dive section documenting each typography knob.Typography
Tuned for slab-serif body, balancing readability and density (per spec — neither Sevilla-style long-form-reading nor default-density operational):
bodyFontFamily.custom("Besley")baseFontSizeparagraphLineSpacingEmarticleMaxWidthshowH1Rule/showH2Rulestrongcolor#C5CDC2) because SF Pro semibold was too soft on muted base1; Besley SemiBold doesn't need the lift. Same call Sevilla makes for Alegreya.Test plan
swift build -c debug— clean**bold emphasis**picks up SemiBold cleanly;*italic*uses Besley Italic with calligraphic letterforms;***both***uses SemiBoldItalic🤖 Generated with Claude Code