loco-rs / loco

🚂 🦀 The one-person framework for Rust for side-projects and startups
https://loco.rs
Apache License 2.0
5.45k stars 235 forks source link

A series of small improvements to the docs and the docs site #974

Closed isaacdonaldson closed 1 week ago

isaacdonaldson commented 1 week ago

More Accurate Info

The docs mentioned the -k flag and were not updated since it was removed.

Bacon Command

The cargo-watch maintainer recommends using bacon, so that was added to the FAQ page

Dark Mode in the Blog

Dark mode in the blog would show code and links with light mode colors, so changed it to use display better Before -> After Screenshot 2024-11-08 at 9 52 46 AM Screenshot 2024-11-08 at 9 52 57 AM

Before Screenshot 2024-11-08 at 9 53 10 AM After Screenshot 2024-11-08 at 9 53 22 AM

Docs Site Width

The docs site breakpoints would leave no padding at the exact breakpoints of the width: Screenshot 2024-11-08 at 9 53 44 AM

Adding a couple -rem` buffer improves the look at these points: Screenshot 2024-11-08 at 9 53 53 AM

These points being common device sizes means it would be run into often enough.

jondot commented 1 week ago

amazing work 🔥