Styledex
← Index

Cel Shading

赛璐璐动画风

stylekitMITGaming · gamingGradient · gradientExperimental · experimentalLight · lightMedium · mediumBlue · blueMedium · mediumSerif · serifLanding · 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

"Cel Shading" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/cel-shading @ bfa7da909e86.

https://github.com/AnxForever/stylekit · api/styles/cel-shading · bfa7da909e86 · © AnxForever

Do

  • 所有元素使用3px粗黑边框 border-[3px] border-[#1a1a2e]
  • 硬阴影效果 shadow-[3px_3px_0_#1a1a2e]
  • 使用纯色填充,不使用渐变 bg-[#e63946]
  • 字体加粗 font-black uppercase
  • 点击交互:阴影缩小+位移 hover:translate-x-0.5
  • 高饱和度配色:红、蓝、绿、黄
  • 使用极短 duration-75,模拟动画抽帧感
  • active 时 scale-x-110 scale-y-90 Squash & Stretch

Don't

  • 禁止使用渐变色(保持平面色块)
  • 禁止使用细边框 border
  • 禁止使用低饱和度或灰色调
  • 禁止使用丝滑的 duration-300 以上过渡(太柔和)
  • 禁止使用 ease-in-out(卡通物理用 linear 或 ease-in)

Prompt

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

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

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Cel Shading. \"Cel Shading\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/cel-shading @ bfa7da909e86.",
  "$extensions": {
    "dev.styledex": {
      "id": "stylekit-cel-shading",
      "license": "MIT",
      "attribution": "\"Cel Shading\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/cel-shading @ bfa7da909e86.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "#fafaf5"
    },
    "foreground": {
      "$type": "color",
      "$value": "#1a1a2e"
    },
    "card": {
      "$type": "color",
      "$value": "#fafaf5"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "#1a1a2e"
    },
    "primary": {
      "$type": "color",
      "$value": "#1a1a2e"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "secondary": {
      "$type": "color",
      "$value": "#fafaf5"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "#1a1a2e"
    },
    "accent": {
      "$type": "color",
      "$value": "#e63946"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "muted": {
      "$type": "color",
      "$value": "#ebebe6"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "#6a6a77"
    },
    "border": {
      "$type": "color",
      "$value": "#d7d7d3"
    },
    "destructive": {
      "$type": "color",
      "$value": "#dc2626"
    },
    "ring": {
      "$type": "color",
      "$value": "#1a1a2e"
    }
  },
  "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": "3px 3px 0 #1a1a2e"
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "Cel Shading" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/cel-shading @ bfa7da909e86. */
:root {
  --background: #fafaf5;
  --foreground: #1a1a2e;
  --card: #fafaf5;
  --card-foreground: #1a1a2e;
  --primary: #1a1a2e;
  --primary-foreground: #fafaf9;
  --secondary: #fafaf5;
  --secondary-foreground: #1a1a2e;
  --accent: #e63946;
  --accent-foreground: #fafaf9;
  --muted: #ebebe6;
  --muted-foreground: #6a6a77;
  --border: #d7d7d3;
  --destructive: #dc2626;
  --ring: #1a1a2e;
  --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: 3px 3px 0 #1a1a2e;
}

Tailwind

/* powered by Styledex — https://styledex.dev */
/* "Cel Shading" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/cel-shading @ bfa7da909e86. */
/** Tailwind theme extend for Cel Shading (stylekit-cel-shading) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "#fafaf5",
        "foreground": "#1a1a2e",
        "card": "#fafaf5",
        "primary": "#1a1a2e",
        "primary-foreground": "#fafaf9",
        "secondary": "#fafaf5",
        "accent": "#e63946",
        "muted": "#ebebe6",
        "border": "#d7d7d3",
        "destructive": "#dc2626",
        "ring": "#1a1a2e"
      },
      "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": "3px 3px 0 #1a1a2e"
      }
    }
  }
};

shadcn

/* powered by Styledex — https://styledex.dev */
/* "Cel Shading" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/cel-shading @ bfa7da909e86. */
@layer base {
:root {
  --background: #fafaf5;
  --foreground: #1a1a2e;
  --card: #fafaf5;
  --card-foreground: #1a1a2e;
  --primary: #1a1a2e;
  --primary-foreground: #fafaf9;
  --secondary: #fafaf5;
  --secondary-foreground: #1a1a2e;
  --accent: #e63946;
  --accent-foreground: #fafaf9;
  --muted: #ebebe6;
  --muted-foreground: #6a6a77;
  --border: #d7d7d3;
  --destructive: #dc2626;
  --ring: #1a1a2e;
  --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: 3px 3px 0 #1a1a2e;
}
}