Consistent CSS Styling Across Components prompt

Business841

为组件生成统一风格的 CSS,并抽取可复用的 CSS 变量保证全站一致。

Style a component and extract reusable CSS variables to keep the whole app consistent.

Full prompt
请读取我提供的组件代码并为其设计样式,风格统一、便于在多个组件间复用。

1)阅读组件代码:____
2)按我要的风格进行 CSS 设计:____(例如「现代深色风」)
3)说明期望的呈现效果:____
4)由于该样式会用于多个组件,请抽取一组 CSS 变量(如 primary、secondary 等主题色),方便我复制、后续引用,以保持全站风格一致、便于追踪整体观感。
Fill in the blanks, then copy

How to use this prompt

  1. 1Copy the full prompt below
  2. 2Replace the [____] placeholders with your specifics
  3. 3Paste into DeepSeek / Claude / ChatGPT to run

Related Business prompts