Styledex
← Index

Swiss International

瑞士国际风格

stylekitMITProfessional · professionalMinimal · minimalLight · lightMedium · mediumNeutral · neutralMuted · mutedSerif · serifGeneral · generalLanding · landing

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

NNorthwind
Product · Pricing
Specimen
Make the work feel finished

One interface, dressed in this style. Compare type, color, radius, and density.

128
Active
4.8
Score
12ms
Edge

Attribution

"Swiss International" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/swiss-style @ bfa7da909e86.

https://github.com/AnxForever/stylekit · api/styles/swiss-style · bfa7da909e86 · © AnxForever

Do

  • 使用严格的网格系统
  • 选用 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: left border changes from gray to red `hover:border-[#ff0000]` and background shifts to `hover:bg-[#f0f0f0]` — the structure becomes activated, not decorated

Don't

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

Prompt

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

---
"Swiss International" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/swiss-style @ bfa7da909e86.
powered by Styledex — https://styledex.dev

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Swiss International. \"Swiss International\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/swiss-style @ bfa7da909e86.",
  "$extensions": {
    "dev.styledex": {
      "id": "stylekit-swiss-style",
      "license": "MIT",
      "attribution": "\"Swiss International\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/swiss-style @ bfa7da909e86.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "foreground": {
      "$type": "color",
      "$value": "#000000"
    },
    "card": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "#000000"
    },
    "primary": {
      "$type": "color",
      "$value": "#000000"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "secondary": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "#000000"
    },
    "accent": {
      "$type": "color",
      "$value": "#ff0000"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "muted": {
      "$type": "color",
      "$value": "#f0f0f0"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "#595959"
    },
    "border": {
      "$type": "color",
      "$value": "#dbdbdb"
    },
    "destructive": {
      "$type": "color",
      "$value": "#dc2626"
    },
    "ring": {
      "$type": "color",
      "$value": "#000000"
    }
  },
  "font": {
    "sans": {
      "$type": "fontFamily",
      "$value": [
        "ui-sans-serif",
        "system-ui",
        "sans-serif"
      ]
    },
    "serif": {
      "$type": "fontFamily",
      "$value": [
        "ui-serif",
        "Georgia",
        "serif"
      ]
    },
    "mono": {
      "$type": "fontFamily",
      "$value": [
        "ui-monospace",
        "SFMono-Regular",
        "Menlo",
        "monospace"
      ]
    }
  },
  "radius": {
    "base": {
      "$type": "dimension",
      "$value": "0px"
    }
  },
  "spacing": {
    "base": {
      "$type": "dimension",
      "$value": "1rem"
    }
  },
  "shadow": {
    "base": {
      "$type": "shadow",
      "$value": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "Swiss International" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/swiss-style @ bfa7da909e86. */
:root {
  --background: #ffffff;
  --foreground: #000000;
  --card: #ffffff;
  --card-foreground: #000000;
  --primary: #000000;
  --primary-foreground: #fafaf9;
  --secondary: #ffffff;
  --secondary-foreground: #000000;
  --accent: #ff0000;
  --accent-foreground: #fafaf9;
  --muted: #f0f0f0;
  --muted-foreground: #595959;
  --border: #dbdbdb;
  --destructive: #dc2626;
  --ring: #000000;
  --radius: 0px;
  --font-sans: ui-sans-serif, system-ui, sans-serif;
  --font-serif: ui-serif, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --spacing: 1rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}

Tailwind

/* powered by Styledex — https://styledex.dev */
/* "Swiss International" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/swiss-style @ bfa7da909e86. */
/** Tailwind theme extend for Swiss International (stylekit-swiss-style) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "#ffffff",
        "foreground": "#000000",
        "card": "#ffffff",
        "primary": "#000000",
        "primary-foreground": "#fafaf9",
        "secondary": "#ffffff",
        "accent": "#ff0000",
        "muted": "#f0f0f0",
        "border": "#dbdbdb",
        "destructive": "#dc2626",
        "ring": "#000000"
      },
      "borderRadius": {
        "lg": "0px"
      },
      "fontFamily": {
        "sans": [
          "ui-sans-serif",
          "system-ui",
          "sans-serif"
        ],
        "serif": [
          "ui-serif",
          "Georgia",
          "serif"
        ],
        "mono": [
          "ui-monospace",
          "SFMono-Regular",
          "Menlo",
          "monospace"
        ]
      },
      "boxShadow": {
        "styledex": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
      }
    }
  }
};

shadcn

/* powered by Styledex — https://styledex.dev */
/* "Swiss International" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/swiss-style @ bfa7da909e86. */
@layer base {
:root {
  --background: #ffffff;
  --foreground: #000000;
  --card: #ffffff;
  --card-foreground: #000000;
  --primary: #000000;
  --primary-foreground: #fafaf9;
  --secondary: #ffffff;
  --secondary-foreground: #000000;
  --accent: #ff0000;
  --accent-foreground: #fafaf9;
  --muted: #f0f0f0;
  --muted-foreground: #595959;
  --border: #dbdbdb;
  --destructive: #dc2626;
  --ring: #000000;
  --radius: 0px;
  --font-sans: ui-sans-serif, system-ui, sans-serif;
  --font-serif: ui-serif, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --spacing: 1rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}
}