v0.1.5
What's new
Ships a small, opinion-light frontend stylesheet so the related-posts widget looks polished out-of-box without fighting the theme's design.
What it adds
assets/css/frontend.css— structural only (grid, hover lift, image sizing, radius), enqueued on the public site- Five CSS variables for trivial restyling:
--sp-gap,--sp-radius,--sp-shadow,--sp-shadow-hover,--sp-accent - New filter
semantic_posts_enqueue_stylesfor complete opt-out
Why
The previous philosophy ("the theme decides") meant the widget looked broken on themes that didn't already style .related-posts. This release fixes that without imposing colors or typography — those still inherit from the theme. Industry standard (Jetpack Related Posts, YARPP, Yoast all ship base styles).
Opt out
add_filter( 'semantic_posts_enqueue_styles', '__return_false' );Architectural notes
- AR-14 unaffected — that rule restricts jQuery on the render path, not CSS.
- NFR-PERF-3 unaffected — that rule was about outbound HTTP per render, not plugin-local assets.
- ~1 KB gzipped contribution to page weight.
Upgrade
Dashboard → Updates → Update now. Safe in-place; no data migration.