Introduce tech-report/ with cover page, custom TOC, and summary flow; add travel-plan/ for trip planning; update README, gitignore, and brand colors. Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
835 B
Plaintext
29 lines
835 B
Plaintext
// Tailwind CSS v3 默认刻度(1rem = 12pt,用于 Typst 印刷排版)
|
||
#let tw-rem = 12pt
|
||
|
||
// spacing:scale × 0.25rem(等同 Tailwind p-*, m-*, gap-*)
|
||
#let tw(scale) = scale * 0.25 * tw-rem
|
||
|
||
// font-size(等同 Tailwind text-*)
|
||
#let text-xs = 0.75 * tw-rem
|
||
#let text-sm = 0.875 * tw-rem
|
||
#let text-base = 1 * tw-rem
|
||
#let text-lg = 1.125 * tw-rem
|
||
#let text-xl = 1.25 * tw-rem
|
||
#let text-2xl = 1.5 * tw-rem
|
||
#let text-3xl = 1.875 * tw-rem
|
||
#let text-4xl = 2.25 * tw-rem
|
||
#let text-5xl = 3 * tw-rem
|
||
#let text-6xl = 3.75 * tw-rem
|
||
#let text-7xl = 4.5 * tw-rem
|
||
#let text-8xl = 6 * tw-rem
|
||
#let text-9xl = 8 * tw-rem
|
||
|
||
// line-height(等同 Tailwind leading-*,值为倍数)
|
||
#let leading-none = 1
|
||
#let leading-tight = 1.25
|
||
#let leading-snug = 1.375
|
||
#let leading-normal = 1.5
|
||
#let leading-relaxed = 1.625
|
||
#let leading-loose = 2
|