Naskh weight slider in the display settings #101

Merged
anas merged 1 commits from feature/naskh-weight into main 2026-10-09 22:54:34 +00:00
Owner

Owner request: a slider in the display settings to make Naskh heavier, for easier reading on phones.

  • خط › نسخ کی موٹائی: a slider with four steps (400 regular, 500, 600, 700 bold). Text changes as you slide.
  • The choice is remembered (localStorage divan-weight) and applied before the page draws, like the font and palette, so nothing flashes.
  • It applies to all text in Naskh. Bold text stays bold. Nastaliq comes only in regular and bold, so the slider is greyed out while Nastaliq is chosen.
  • Noto Naskh Arabic 500 and 600 are now loaded as well. They come from our own server, and only when used.
  • Right to left like the page: regular is on the right, bold on the left.

Checked locally with a screenshot at phone width: regular and 700 side by side, with the panel open.

🤖 Generated with Claude Code

Owner request: a slider in the display settings to make Naskh heavier, for easier reading on phones. - **خط › نسخ کی موٹائی:** a slider with four steps (400 regular, 500, 600, 700 bold). Text changes as you slide. - The choice is remembered (`localStorage` `divan-weight`) and applied before the page draws, like the font and palette, so nothing flashes. - It applies to all text in Naskh. Bold text stays bold. Nastaliq comes only in regular and bold, so the slider is greyed out while Nastaliq is chosen. - Noto Naskh Arabic 500 and 600 are now loaded as well. They come from our own server, and only when used. - Right to left like the page: regular is on the right, bold on the left. Checked locally with a screenshot at phone width: regular and 700 side by side, with the panel open. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
anas added 1 commit 2026-10-09 22:50:26 +00:00
anas merged commit 0694a2ed4f into main 2026-10-09 22:54:34 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: anas/divan#101
No description provided.