ToolypetMCP
intermediate4 minutescss

Dark Mode Color Palette Conversion

Convert a light theme to dark mode with adjusted gradients, shadows, and filter effects.

dark-modepalettegradientshadowtheme

何时使用此配方

Convert your light theme to a proper dark mode. Dark mode requires different shadow intensities, adjusted gradients, and careful color choices to maintain contrast and readability.

步骤

1

Gradient Generator

试用此工具

Create dark background gradient

提示词:Generate dark mode background gradient: from #0f172a (slate-900) to #1e293b (slate-800) at 180 degrees
2

Gradient Generator

试用此工具

Create dark mode accent colors

提示词:Generate dark mode accent gradient: from #6366f1 (indigo-500) to #8b5cf6 (violet-500) at 135 degrees
3

Box Shadow Generator

试用此工具

Adjust shadows for dark mode

提示词:Generate dark mode shadows: 0 4px 16px rgba(0,0,0,0.4) — darker and more diffused than light mode
4

Text Shadow Generator

试用此工具

Add text glow effect

提示词:Generate subtle text glow for dark mode headings: 0 0 20px rgba(99,102,241,0.3)

常见问题

Is dark mode just inverting colors?

No. Simple inversion looks terrible. Dark mode needs: lower contrast (not pure white on black), elevated surfaces should be lighter (not darker), and shadows need higher opacity.

What background color should dark mode use?

Not pure black (#000). Use dark grays like #0f172a or #1a1a2e. Pure black causes 'halation' on OLED screens and feels harsh. Material Design recommends #121212.

相关配方