grelin_templates/tech-report/data/tailwind.typ
MORRO d83e6a99a9 Add tech-report and travel-plan templates, replacing feasibility.
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>
2026-07-08 13:56:22 +08:00

29 lines
835 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Tailwind CSS v3 默认刻度1rem = 12pt用于 Typst 印刷排版)
#let tw-rem = 12pt
// spacingscale × 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