Styledex
← Index

Bauhaus

包豪斯风格

stylekitMITProfessional · professionalLight · 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

"Bauhaus" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/bauhaus @ bfa7da909e86.

https://github.com/AnxForever/stylekit · api/styles/bauhaus · bfa7da909e86 · © AnxForever

Do

  • 使用原色(红、黄、蓝)+ 黑白
  • 运用基础几何形状(圆、方、三角)
  • 保持简洁的功能性设计
  • 使用无衬线字体
  • 强调网格和对齐
  • 去除不必要的装饰
  • 使用极短的 duration-150 或 duration-200
  • 色彩交互为原色之间的硬切换,不用透明度渐变

Don't

  • 禁止使用复杂的渐变
  • 禁止使用装饰性元素
  • 禁止使用衬线字体
  • 禁止使用非原色的复杂配色
  • 禁止使用柔和缓慢的 duration-500 以上过渡
  • 禁止使用 ease-in-out(使用 ease-out)
  • 禁止使用圆角(rounded-lg 等),仅允许 rounded-full 用于圆形

Prompt

用 Bauhaus 风格创建一个设计学院官网,要求:
1. 配色:仅使用红黄蓝 + 黑白
2. 几何装饰:圆形、方形、三角形,悬停时 scale/rotate
3. 按钮使用色块滑轨覆盖机制(伪元素 translate 动画)
4. 字体:粗体无衬线 + 大写
5. 布局:网格对齐
6. 所有交互 duration-150 到 200,ease-out
7. 去除所有装饰性元素

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

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Bauhaus. \"Bauhaus\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/bauhaus @ bfa7da909e86.",
  "$extensions": {
    "dev.styledex": {
      "id": "stylekit-bauhaus",
      "license": "MIT",
      "attribution": "\"Bauhaus\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/bauhaus @ 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 */
/* "Bauhaus" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/bauhaus @ 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 */
/* "Bauhaus" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/bauhaus @ bfa7da909e86. */
/** Tailwind theme extend for Bauhaus (stylekit-bauhaus) */
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 */
/* "Bauhaus" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/bauhaus @ 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);
}
}