返回风格库
视觉风格modern

瑞士国际风格

Swiss International

源于瑞士的理性主义设计风格,强调网格系统、无衬线字体、清晰层次和客观信息传达,是现代平面设计的基石。

瑞士国际风格视觉预览
主色#000000
次色#ffffff
强调色 1#ff0000
强调色 2#0057b8
强调色 3#ffcc00
强调色 4#6c3b00

AI 实现规则

你是一个 Swiss International Style 设计风格的前端开发专家。生成的所有代码必须严格遵守以下约束:

## 绝对禁止

- 使用装饰性元素
- 使用衬线字体
- 过度装饰或渐变效果
- 打破网格系统

## 必须遵守

- 12列网格系统 grid-cols-12
- 无衬线字体 font-sans
- 大量留白 p-8, gap-8
- 黑白为主 bg-black, text-white, bg-white, text-black
- 红色强调 bg-red-600, text-red-600
- 大写标签 uppercase tracking-[0.2em]
- 左对齐文本

## 配色

仅使用:
- 黑色: #000000
- 白色: #ffffff
- 红色: #ff0000 (强调色)
- 蓝色: #0057b8 (可选强调)

## 排版

- 标题:超大字号、粗体、紧凑行高
- 标签:小号、大写、宽字距
- 正文:适中字号、充足行高

## Animation & Interaction Rules

- Rational Restraint: Only color and border-color change on hover — zero `translate`, `scale`, or new `shadow`. The grid is a rational system; its geometry must not be disturbed by interaction. Forbidden: `hover:-translate-y-*`, `hover:scale-*`, `hover:shadow-*`.
- Guide Line Extension: The complete border activates from `border-[#cccccc]` to `hover:border-[#ff0000]` and background shifts to `hover:bg-[#f0f0f0]` — the complete frame becomes a red typographic accent, making the module feel "selected" on the layout.
- Hierarchy Focus: The category/label element turns `group-hover:text-[#ff0000] transition-colors duration-150 ease-out` — the taxonomic hierarchy is highlighted, reinforcing Swiss style's belief that information structure is the highest design value.
- Clean Cut Transitions: Use `duration-150 ease-out` for color changes. Button arrow icon uses `group-hover:translate-x-2 transition-transform duration-150 ease-out` — the arrow is the only permitted movement, indicating directionality as a typographic element.

组件预览与实现

font-sans font-bold uppercase tracking-widest rounded-sm transition-all duration-150 bg-black text-white hover:bg-[#e30613] hover:text-white active:opacity-80
button

按钮

瑞士风格按钮,Guide Line 文字变红 + 箭头图标 `group-hover:translate-x-2 duration-150` + Rational Restraint 零 scale/shadow

<button className="
  group
  flex items-center gap-3
  px-6 py-3
  bg-black
  text-white text-sm font-medium uppercase tracking-[0.2em]
  hover:bg-[#ff0000]
  transition-colors duration-150 ease-out
">
  Action
  <svg className="w-4 h-4 transition-transform duration-150 ease-out group-hover:translate-x-2" viewBox="0 0 16 16" fill="none" stroke="currentColor" strokeWidth="2">
    <path d="M3 8h10M9 4l4 4-4 4"/>
  </svg>
</button>
card

卡片

瑞士风格卡片,Guide Line Extension 完整边框灰→红 + Hierarchy Focus 类别标签变红 + `duration-150 ease-out` + 零 translate/scale

<div className="group p-8 bg-white border-[4px] border-[#cccccc] hover:border-[#ff0000] hover:bg-[#f0f0f0] transition-all duration-150 ease-out cursor-pointer">
  <p className="text-xs font-medium uppercase tracking-[0.3em] text-gray-400 group-hover:text-[#ff0000] transition-colors duration-150 ease-out mb-2">
    Category
  </p>
  <h3 className="text-2xl font-bold text-black mb-4">
    Helvetica Neue
  </h3>
  <p className="text-gray-700 leading-relaxed">
    Clean, objective, rational design principles.
  </p>
</div>
input

输入框

瑞士风格输入框

<div>
  <label className="block text-xs font-medium uppercase tracking-[0.2em] text-gray-500 mb-2">
    Email
  </label>
  <input
    type="text"
    placeholder="your@email.com"
    className="
      w-full px-0 py-2
      bg-transparent
      border-0 border-2 border-black
      text-black
      focus:outline-none focus:border-red-600
      transition-colors
    "
  />
</div>
hero

Hero 区块

瑞士风格 Hero

<section className="
  min-h-screen
  bg-white
  px-8 py-20
  grid grid-cols-12 gap-8
">
  <div className="col-span-8">
    <p className="text-xs font-medium uppercase tracking-[0.3em] text-gray-500 mb-4">
      International Style
    </p>
    <h1 className="text-7xl md:text-9xl font-bold text-black leading-none mb-8">
      Swiss
      <br />
      Design
    </h1>
    <p className="text-xl text-gray-700 max-w-md leading-relaxed mb-8">
      The grid is the foundation. Typography is the voice. Clarity is the goal.
    </p>
    <button className="px-8 py-4 bg-black text-white text-sm font-medium uppercase tracking-[0.2em] hover:bg-red-600 transition-colors">
      Explore
    </button>
  </div>
  <div className="col-span-4 flex items-center justify-center">
    <div className="w-32 h-32 bg-red-600" />
  </div>
</section>

交互展示

适用范围与设计理念

应用场景

portfolioeditorialdocs

视觉关键词

瑞士国际主义网格Helvetica理性排版极简moderncontemporarysleek

Swiss International Style(瑞士国际风格)是20世纪50年代在瑞士发展起来的设计运动,强调清晰、客观、理性的视觉传达。

核心理念:

- 网格系统:严格的数学网格控制布局

- 无衬线字体:Helvetica 等清晰易读的字体

- 负空间:大量留白增强可读性

- 客观传达:设计服务于信息,而非装饰

设计原则:

- 视觉一致性:所有组件必须遵循统一的视觉语言,从色彩到字体到间距保持谐调

- 层次分明:通过颜色深浅、字号大小、留白空间建立清晰的信息层级

- 交互反馈:每个可交互元素都必须有明确的 hover、active、focus 状态反馈

- 响应式适配:设计必须在移动端、平板、桌面端上保持一致的体验

- 无障碍性:确保色彩对比度符合 WCAG 2.1 AA 标准,所有交互元素可键盘访问

应该这样做

  • 使用严格的网格系统
  • 选用 Helvetica 或类似的无衬线字体
  • 保持大量负空间
  • 使用黑白为主的配色
  • 文字左对齐,避免居中
  • 使用简洁的几何图形
  • Rational Restraint: only color and border-color change on interaction — zero translate, scale, or shadow added. The grid must not be disturbed
  • Guide Line Extension: complete border changes from gray to red `hover:border-[#ff0000]` and background shifts to `hover:bg-[#f0f0f0]` — the structure becomes activated, not decorated
  • Hierarchy Focus: category label turns red `group-hover:text-[#ff0000]` on hover — the taxonomic label is highlighted, reinforcing information hierarchy
  • Clean Cut Transitions: use `duration-150 ease-out` — Swiss style is precise and efficient, not slow nor instantaneous

避免这样做

  • 禁止使用装饰性元素
  • 禁止使用衬线字体作为正文
  • 禁止过度装饰或渐变
  • 禁止打破网格系统
  • 禁止使用任何 `translate`、`scale` 或 `shadow` 变化(Rational Restraint — 网格不可被扰动)
  • 禁止 hover 时引入新颜色以外的装饰(只允许颜色和边框色变化,不添加阴影或变形)
  • 禁止使用 `duration-300` 或更长(Swiss Style 精准高效,`duration-150 ease-out` 是上限)
  • 禁止按钮不带箭头图标(Swiss Style 按钮必须包含方向性,`→` 是排版的一部分)

全局 CSS

/* Swiss International Style 全局样式 */

:root {
  --swiss-black: #000000;
  --swiss-white: #ffffff;
  --swiss-red: #ff0000;
  --swiss-blue: #0057b8;
}

/* 网格系统 */
.swiss-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* 标题样式 */
.swiss-heading {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

/* 标签样式 */
.swiss-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #6b7280;
}

/* 完整边框强调 */
.swiss-accent {
  border: 4px solid var(--swiss-black);
  padding: 1.5rem;
}
@keyframes swiss-style-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes swiss-style-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.swiss-style-card {
  position: relative;
  overflow: hidden;
}

.swiss-style-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent);
  pointer-events: none;
}

.swiss-style-card:hover::before {
  opacity: 1;
}

.swiss-style-gradient {
  background: linear-gradient(135deg, #000000, #ff0000);
}

.swiss-style-gradient-text {
  background: linear-gradient(135deg, #000000, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.swiss-style-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(0, 0, 0, 0.08);
}

.swiss-style-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.swiss-style-animate-in {
  animation: swiss-style-fade-in 0.5s ease-out both;
}

布局、色板与 Tokens

主色#000000
次色#ffffff
强调色 1#ff0000
强调色 2#0057b8
强调色 3#ffcc00
强调色 4#6c3b00
{
  "border": {
    "width": "border",
    "color": "border-black",
    "radius": "rounded-none",
    "style": "border-solid"
  },
  "shadow": {
    "sm": "shadow-none",
    "md": "shadow-none",
    "lg": "shadow-none",
    "none": "shadow-none",
    "hover": "hover:shadow-none",
    "focus": "focus:shadow-none",
    "colored": {}
  },
  "interaction": {
    "transition": "transition-opacity duration-150",
    "active": "active:opacity-70",
    "hoverOpacity": "hover:opacity-80"
  },
  "typography": {
    "heading": "font-sans font-bold tracking-tight",
    "body": "font-sans",
    "mono": "font-mono",
    "sizes": {
      "hero": "text-5xl md:text-7xl lg:text-9xl",
      "h1": "text-4xl md:text-6xl",
      "h2": "text-2xl md:text-4xl",
      "h3": "text-lg md:text-xl",
      "body": "text-sm md:text-base",
      "small": "text-xs md:text-sm"
    }
  },
  "spacing": {
    "section": "py-12 md:py-24 lg:py-32",
    "container": "px-4 md:px-8 lg:px-16",
    "card": "p-4 md:p-6",
    "gap": {
      "sm": "gap-2 md:gap-4",
      "md": "gap-4 md:gap-8",
      "lg": "gap-8 md:gap-12"
    }
  },
  "colors": {
    "background": {
      "primary": "bg-white",
      "secondary": "bg-black",
      "accent": [
        "bg-[#ff0000]"
      ]
    },
    "text": {
      "primary": "text-black",
      "secondary": "text-white",
      "muted": "text-gray-600"
    },
    "button": {
      "primary": "bg-black text-white",
      "secondary": "bg-white text-black border border-black",
      "danger": "bg-[#ff0000] text-white"
    }
  },
  "forbidden": {
    "classes": [
      "font-serif",
      "font-mono",
      "rounded-lg",
      "rounded-xl",
      "rounded-2xl",
      "rounded-3xl",
      "rounded-full",
      "shadow-sm",
      "shadow",
      "shadow-md",
      "shadow-lg",
      "shadow-xl",
      "shadow-2xl",
      "bg-gradient-to-r",
      "bg-gradient-to-l",
      "bg-gradient-to-b",
      "bg-gradient-to-t",
      "italic",
      "border-dashed",
      "border-dotted"
    ],
    "patterns": [
      "^font-(?:serif|mono)$",
      "^rounded-(?!none)",
      "^shadow-(?!none)",
      "^bg-gradient-",
      "^italic$"
    ],
    "reasons": {
      "font-serif": "Swiss Style uses Helvetica-style sans-serif only (font-sans)",
      "rounded-xl": "Swiss Style uses sharp geometric corners for grid alignment (rounded-none)",
      "shadow-lg": "Swiss Style avoids decorative shadows; focus on typography and grid",
      "bg-gradient-to-r": "Swiss Style uses flat solid colors only, no gradients"
    }
  },
  "required": {
    "button": [
      "rounded-none",
      "font-sans font-bold",
      "transition-opacity duration-150"
    ],
    "card": [
      "rounded-none",
      "border border-black",
      "bg-white"
    ],
    "input": [
      "rounded-none",
      "border border-black",
      "font-sans",
      "focus:outline-none"
    ]
  }
}

示例提示词

设计工作室官网

极简理性的设计工作室网站

用 Swiss International Style 创建一个设计工作室官网,要求:
1. 布局:严格的12列网格
2. 字体:无衬线字体,大标题
3. 配色:黑白为主,红色点缀
4. 大量留白
5. 简洁的几何装饰

SaaS 着陆页

生成 瑞士国际风格风格的 SaaS 产品着陆页

Create a SaaS landing page using Swiss International style with hero section, feature grid, testimonials, pricing table, and footer.

作品集展示

生成 瑞士国际风格风格的作品集页面

Create a portfolio showcase page using Swiss International style with project grid, about section, contact form, and consistent visual language.