DioxusLabs / DioxusLabs/docsite
Font doesn't render well on Linux/Firefox, hard to read
- Dominant language
- Rust
- Stars
- 206
- Forks
- 208
- Avg merge
- 1h 11m
- Merged PRs (30d)
- 3
Description
I've just started the tutorial, but notice the font rendering makes it tricky to read. Looking in dev tools, I see most copy is treated with `font-light`. I don't think lightweight styling is appropriate for primary content, and removing makes it much easier to read. It's somewhat compounded by primary copy also being set to `text-sm`.
**Current (text-sm, font-light)**
**Normal weight (text-sm)**
**Normal size & weight (my preference)**
Those screenshots are using Deja Vu Sans, as my system didn't have Inter font installed. I installed Inter, and it's not _as bad_ now but still subpar. In the tailwind config `font-family` is set to `"Inter var",sans-serif` but there's no loading of Inter, not sure if that's intentional?
Happy to attempt a PR if you'd like! 🌭
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by checking the Tailwind configuration and the styles applied to primary tutorial copy, focusing on the reported font-light and text-sm classes and the configured Inter font family. Compare the resulting typography in Linux/Firefox with the screenshots and verify that the primary content is easier to read at the intended weight and size, with font loading behaving as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- tailwindcss
- Domain
- design, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100