| commit ec8ae7cb4bc613c67f6ec7381334aaaab3a0c181 parent d67d61a799a2b42ecec8eda8b01d62ff50301868 Author: sqzer <110329244+sqzer-x@users.noreply.github.com> Date: Tue, 4 Aug 2026 17:33:59 +0900 Declare the weight tokens the last commit forgot The previous commit tokenised the ladder at every call site but never landed the :root declarations — the edit that added them died before it wrote the file, and only the html[lang="ko"] redeclaration survived. So English pages resolved var(--w-display) and friends against nothing, the declarations were invalid at computed-value time, and the display type fell back to 400. Korean was correct by accident, because its block declared the tokens locally. Two rules were left holding literals for the same reason and are converted now. Prose headings join the ladder as well: h2 at section, h3 at item, h4 at label, which is the same rule the display scale follows — the bigger it is, the thinner it gets. Verified by reading getComputedStyle in a browser rather than by reading the sheet, which is what would have caught it the first time. Every rung on five English pages and both Korean pages resolves to its intended value, and Korean letter-spacing computes to normal. Diffstat:
|
www~ Personal site — projects, posts, about. Built with sqzass. |
| git clone https://github.com/debuman/www.git |