synthwave
它能做什么
这份指南介绍如何打造一种 80 年代风格的视觉效果:在深色背景上使用明亮的霓虹色,并配以向远处延伸渐隐的网格效果。非常适合复古未来主义的氛围。
适用场景
- ✓制作一个复古 80 年代主题的网站。
- ✓开发一款具有未来感霓虹美学的应用。
- ✓为项目添加带有霓虹光晕的深色背景。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/synthwave/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我该如何为网站制作明亮的霓虹文字效果和深色网格背景?”
每周 5 个新技能,1 分钟读完。
工作原理
它以深色作为底色,再加入粉色、青色等鲜艳霓虹色的光晕。透视网格效果能营造出纵深感,就像老电影和游戏中的画面。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Synthwave (Outrun)
"Driving a Ferrari through a neon-lit digital grid at midnight."
When to Use
Use this sub-style when the user's request matches the aesthetic described above. This is a child reference of the design-it skill and is not meant to be triggered directly.
Core Principles
- Dark Mode by Default: Absolute pitch-black or deep purple backgrounds.
- Neon Glowing Vectors: Bright magenta, cyan, and yellow wireframes, text, and grids. Heavy use of
box-shadowandtext-shadowfor glow effects. - The Perspective Grid: The defining visual is a glowing grid that fades into a vanishing point on the horizon.
Visual DNA
- Colors: Deep space backgrounds (
#0B0C10,#110022). Glowing neon accents: Cyan (#00FFFF), Hot Pink (#FF00FF), Electric Yellow (#FFFF00). - Typography: 80s chrome text, brush script (like a neon sign), and heavy italicized sans-serifs.
- Shadows: Drop shadows are not black; they are the same color as the element, heavily blurred, to create light emission.
Web Implementation
- Rely on
text-shadowfor neon signs and 3D transforms for the floor grid. - CSS Example:
body {
background-color: #090014;
color: #fff;
font-family: 'Montserrat', sans-serif;
overflow-x: hidden;
}
/* Neon Text Glow */
.synth-neon-text {
font-family: 'Mr Dafoe', cursive; /* A classic 80s script */
font-size: 4rem;
color: #fff;
text-shadow:
0 0 5px #fff,
0 0 10px #fff,
0 0 20px #FF00FF,
0 0 40px #FF00FF,
0 0 80px #FF00FF;
}
/* The Perspective Grid Floor */
.synth-grid {
position: absolute;
bottom: 0; left: -50%;
width: 200%; height: 50vh;
background-image:
linear-gradient(rgba(0, 255, 255, 0.8) 2px, transparent 2px),
linear-gradient(90deg, rgba(0, 255, 255, 0.8) 2px, transparent 2px);
background-size: 50px 50px;
/* Create the 3D horizon effect */
transform: perspective(500px) rotateX(60deg);
transform-origin: top center;
/* Fade out towards the horizon */
mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}
App Implementation
SwiftUI
struct NeonText: View {
let text: String
var body: some View {
Text(text)
.font(.custom("Mr Dafoe", size: 64))
.foregroundColor(.white)
// Layering shadows to create a glowing bloom
.shadow(color: .white, radius: 2)
.shadow(color: .pink, radius: 5)
.shadow(color: .pink, radius: 10)
.shadow(color: .pink, radius: 20)
}
}
struct SynthwaveScreen: View {
var body: some View {
ZStack {
Color(red: 0.03, green: 0.0, blue: 0.08).ignoresSafeArea() // #090014
VStack {
NeonText(text: "Outrun")
Spacer()
}
// Note: A 3D perspective grid requires SceneKit or a pre-rendered image
// Native SwiftUI 3D transforms apply to the view, but won't draw an infinite floor grid easily.
Image("synth_grid")
.resizable()
.scaledToFill()
.frame(height: 300)
.offset(y: 200)
}
}
}
- Stack multiple
.shadow(color:radius:)modifiers directly on the text to create a vibrant neon bloom effect. - The 3D wireframe horizon grid is best achieved via a pre-rendered image background.
Flutter
class NeonText extends StatelessWidget {
final String text;
const NeonText(this.text);
@override
Widget build(BuildContext context) {
return Text(
text,
style: const TextStyle(
fontFamily: 'Mr Dafoe', // Or any cursive 80s font
fontSize: 64,
color: Colors.white,
shadows: [
Shadow(color: Colors.white, blurRadius: 2),
Shadow(color: Colors.pinkAccent, blurRadius: 5),
Shadow(color: Colors.pinkAccent, blurRadius: 15),
Shadow(color: Colors.pinkAccent, blurRadius: 30),
],
),
);
}
}
class SynthwaveScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: const Color(0xFF090014),
body: Stack(
children: [
// Background grid asset
Positioned(
bottom: 0,
left: 0,
right: 0,
height: 300,
…
常见问题
应该使用什么颜色?
背景使用非常深的颜色(黑色或深紫色),高亮元素则使用洋红、青色、黄色等鲜艳的霓虹色。
如何实现霓虹光晕效果?
在编程中,可以使用带颜色的模糊阴影来模拟光晕,仿佛光线从文字或物体本身散发出来。
什么是「透视网格」?
它是一组看起来向远处延伸的网格线,能营造出深度感和运动感,就像一条未来感十足的道路或赛道。
详情
作者的原始描述
Web and App implementation guide for Synthwave. Trigger when user wants 80s-inspired neon, dark backgrounds, outrun grids, and Miami Vice aesthetics.
热度
- GitHub 星标
- 48k
- 排名
- #4419
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。