免费提示词
逐项挑出页面显得廉价的原因
适合想提升界面质感的前端。你要提供:页面代码或截图描述。
请对我提供的页面代码/截图描述进行 12 维严苛审美挑刺,列出所有显得粗糙廉价的具体原因,并给出精确到 CSS 类名的升级重构代码。
示例片段(ans-ui-taste-audit.ts)
只是写法示意,不是完整程序。
// ANS 前端源码排版与审美违规自动扫描器 (ans-ui-taste-audit.ts)
export function scanAnsUiViolations(sourceCode: string) {
const microFonts = (sourceCode.match(/text-\[(?:9|10|11)px\]/g) || []).length;
const dotNoise = (sourceCode.match(/\s·\s/g) || []).length;
return { clean: microFonts === 0 && dotNoise === 0, microFonts, dotNoise };
}免费使用,可用于个人和商业项目。模型输出的内容由你自己核对。