搜索

PythonReactSEOPDF
GitHub Skill

egp-typography

Typography and layout tokens for EGP Aesthetics. Use when editing headings, sections, containers, or ensuring responsive design on public or admin pages.

Ivan-Hristoslavov☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

EGP Typography & Layout

Tokens (config/typography.ts)

  • typography.headingPage — Page h1: text-2xl sm:text-3xl md:text-4xl lg:text-5xl
  • typography.headingHero — Hero h1 only: adds xl:text-6xl
  • typography.headingSection — Section h2: text-xl sm:text-2xl md:text-3xl lg:text-4xl
  • typography.headingCard — Card h3: text-lg sm:text-xl md:text-2xl
  • typography.headingSmall — h4: text-base sm:text-lg font-semibold
  • typography.lead — Lead paragraph
  • typography.body — Body text
  • typography.small — Caption
  • layout.container — max-w-6xl mx-auto px-4 sm:px-6 lg:px-8
  • layout.containerWide — max-w-7xl mx-auto px-4 sm:px-6 lg:px-8
  • layout.sectionPy — Section vertical padding
  • textColors.heading, textColors.body, textColors.muted

Rules

  • No raw text-4xl, text-5xl, text-6xl without smaller mobile size.
  • Import from @/config/typography.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-03-11
索引更新时间
2026-03-11
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!