跳到正文
Skillpedia
界面(UI/UX)48k · #4421

typography-first

它能做什么

这份指南介绍如何制作以文字为主要视觉元素的网站和应用。重点是使用大号、醒目的文字,并尽量减少其他装饰元素,让文字脱颖而出。

适用场景

  • ✓当你希望文字成为设计的核心焦点时。
  • ✓制作一个极简、现代风格的网站或应用。
  • ✓想使用动画文字或能响应触摸的文字时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/typography-first/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/typography-first/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“创建一个以文字为主的网站设计,带有超大的黑白标题。”

每周 5 个新技能,1 分钟读完。

工作原理

它的做法是将字号放大到占满整个屏幕,并使用黑白或鲜艳霓虹色等高对比度颜色。按钮和菜单也只用文字构成,不加边框或背景。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Typography First Design

"The words are the interface. No distractions, just beautiful text."

When to Use

Use this sub-style when the user's request matches the aesthetic described above. This is a child reference of the design-it skill and is not meant to be triggered directly.

Core Principles

  1. Hyper-Sized Typography: The main headline is so large it becomes an abstract graphic element.
  2. Minimal UI Chroming: Buttons are just text. Navigation is just text. No boxes, no backgrounds.
  3. Kinetic Typography: Text that moves, scrolls, or reacts to the user's cursor.

Visual DNA

  • Colors: Extreme high contrast. Pure black and white, or a very dark background with a single neon accent color. Midnight Luxury works well.
  • Typography: Display fonts with extreme character. Try Oswald, Anton, or Bebas Neue for impact, or a massive serif.
  • Layout: Often centers the massive text perfectly in the viewport, cutting off at the edges.

Web Implementation

  • Rely on vw and vh units for font sizing so the text perfectly fills the screen.
  • CSS Example:
body {
  background-color: #0A0A0A;
  color: #F5F5F0;
  overflow-x: hidden;
  margin: 0;
}

.hero-type {
  font-family: 'Anton', sans-serif;
  font-size: 25vw; /* Fills the width of the screen */
  text-transform: uppercase;
  line-height: 0.8;
  white-space: nowrap;
  
  /* Outline effect */
  color: transparent;
  -webkit-text-stroke: 2px #F5F5F0;
  transition: color 0.3s;
}

.hero-type:hover {
  color: var(--cta-highlight);
  -webkit-text-stroke: 0;
}

.nav-text-btn {
  background: none;
  border: none;
  color: #F5F5F0;
  font-size: 2rem;
  font-family: 'Helvetica Neue', sans-serif;
  text-decoration: underline;
  text-underline-offset: 8px;
  cursor: pointer;
}

App Implementation

SwiftUI

struct TypographyFirstView: View {
    var body: some View {
        ZStack {
            Color(hex: "0A0A0A").ignoresSafeArea()
            
            VStack {
                // Massive Typography Bleeding Off Edge
                Text("THE WORDS ARE THE INTERFACE")
                    .font(.custom("Anton", size: 200)) // Absurdly large
                    .foregroundColor(Color(hex: "F5F5F0"))
                    .lineLimit(1)
                    .fixedSize(horizontal: true, vertical: false) // Force no wrapping
                    .minimumScaleFactor(1.0) // Prevent auto-shrinking
                
                // Outlined variant
                Text("NO CHROMING")
                    .font(.custom("Anton", size: 150))
                    .foregroundColor(.clear)
                    .overlay(
                        Text("NO CHROMING")
                            .font(.custom("Anton", size: 150))
                            .foregroundColor(Color(hex: "0A0A0A"))
                            // Hack for text stroke in SwiftUI
                            .shadow(color: Color(hex: "F5F5F0"), radius: 1)
                    )
                    .lineLimit(1)
                    .fixedSize()
            }
            .frame(maxWidth: .infinity, alignment: .leading)
            .padding(.leading, -20) // Intentionally cut off
        }
    }
}
  • Use .fixedSize(horizontal: true, vertical: false) and .lineLimit(1) to force massive fonts to bleed off the edge of the screen rather than wrapping into a paragraph.
  • Native text-stroke is difficult in SwiftUI; overlapping a masked text or using thin shadows is the common workaround.

Flutter

class TypographyFirstScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: const Color(0xFF0A0A0A),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.stretch,
          children: [
            // Auto-scaling hero text
            FittedBox(
              fit: BoxFit.cover,
              child: Text(
                'THE WORDS ARE',
                style: TextStyle(fontFamily: 'Anton', color: const Color(0xFFF5F5F0), height: 0.8),
              ),
            ),
            
            // Outlined text
            FittedBox(
              fit: BoxFit.cover,
              child: Stack(
                children: [
                  // Outline
                  Text(
                    'THE INTERFACE',
                    style: TextStyle(

…
常见问题

「最少界面装饰」是什么意思?

意思是按钮、菜单等界面元素只用文字呈现,不添加方框、彩色背景或阴影等额外视觉元素。

推荐使用什么字体?

推荐视觉冲击力强的字体,比如 Oswald、Anton 或 Bebas Neue,或者非常大的衬线字体,让文字更加醒目。

文字怎么能做得这么大?

它使用会随屏幕尺寸自动调整的单位(比如 CSS 中的 vw),并进行特定设置,让文字占满尽可能大的空间,有时甚至会超出屏幕边缘。

详情

作者的原始描述

Web and App implementation guide for Typography First Design. Trigger when user wants text as the absolute main visual element, with minimal UI chroming.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4421
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能