Holographic
全息渐变
stylekitMITGradient · gradientExperimental · experimentalLight and dark · bothMedium · mediumPurple · purpleVivid · vividSerif · serifGeneral · generalLanding · landing
彩虹光谱虹彩渐变美学,模拟全息投影的棱镜折射与动态光效,营造超凡脱俗的虹彩体验。
NNorthwind
Product · PricingSpecimen
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
"Holographic" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/holographic @ bfa7da909e86.
https://github.com/AnxForever/stylekit · api/styles/holographic · bfa7da909e86 · © AnxForever
Do
- Use multi-color gradient backgrounds (linear-gradient with 3+ color stops)
- Apply background-size animation for moving gradient effects
- Use semi-transparent cards over dark cosmic backgrounds
- Add prismatic box-shadow with multiple colored glows
- Include holographic sticker badges with full spectrum gradients
- Use dark purple/navy backgrounds (#0a0a1f, #1a0b2e) to make holographic elements pop
- Spectrum Shift: use bg-[length:200%_auto] on gradient buttons + hover:bg-right for lateral color flow (simulates angle-dependent holographic foil)
- Prismatic Glow: buttons hover to multi-color shadow hover:shadow-[0_0_40px_rgba(0,212,255,0.6),0_0_20px_rgba(255,0,128,0.4)]
Don't
- Don't use flat solid colors without gradient
- Don't use light/white backgrounds (kills the holographic effect)
- Don't use muted or desaturated colors
- Don't use sharp corners without any glow
- Don't use more than 2 non-gradient elements in a row
- Don't omit active:scale-95 from buttons (no tactile confirmation)
- Don't use focus:ring without focus:ring-offset-[#0a0a1f] (ring invisible on dark cosmic background)
Prompt
用 Holographic 风格创建一个产品展示卡片,要求: 1. 深色宇宙背景 #0a0a1f 2. 半透明玻璃卡片 bg-white/5 backdrop-blur 3. 彩虹渐变边框,悬浮时棱镜光晕 4. 标题使用 bg-clip-text 彩虹渐变 5. 全息贴纸徽章装饰 --- "Holographic" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/holographic @ bfa7da909e86. powered by Styledex — https://styledex.dev
Tokens
DTCG
{
"$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
"$description": "Holographic. \"Holographic\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/holographic @ bfa7da909e86.",
"$extensions": {
"dev.styledex": {
"id": "stylekit-holographic",
"license": "MIT",
"attribution": "\"Holographic\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/holographic @ bfa7da909e86.",
"banner": "powered by Styledex — https://styledex.dev"
}
},
"color": {
"background": {
"$type": "color",
"$value": "#0a0a1f"
},
"foreground": {
"$type": "color",
"$value": "#ffffff"
},
"card": {
"$type": "color",
"$value": "#0a0a1f"
},
"card-foreground": {
"$type": "color",
"$value": "#ffffff"
},
"primary": {
"$type": "color",
"$value": "#a855f7"
},
"primary-foreground": {
"$type": "color",
"$value": "#fafaf9"
},
"secondary": {
"$type": "color",
"$value": "#0a0a1f"
},
"secondary-foreground": {
"$type": "color",
"$value": "#ffffff"
},
"accent": {
"$type": "color",
"$value": "#ff0080"
},
"accent-foreground": {
"$type": "color",
"$value": "#fafaf9"
},
"muted": {
"$type": "color",
"$value": "#19192c"
},
"muted-foreground": {
"$type": "color",
"$value": "#a6a6a6"
},
"border": {
"$type": "color",
"$value": "#2c2c3e"
},
"destructive": {
"$type": "color",
"$value": "#dc2626"
},
"ring": {
"$type": "color",
"$value": "#a855f7"
}
},
"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": "0.5rem"
}
},
"spacing": {
"base": {
"$type": "dimension",
"$value": "1rem"
}
},
"shadow": {
"base": {
"$type": "shadow",
"$value": "0 0 25px rgba(147,51,234,0.4)"
}
}
}
CSS
/* powered by Styledex — https://styledex.dev */
/* "Holographic" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/holographic @ bfa7da909e86. */
:root {
--background: #0a0a1f;
--foreground: #ffffff;
--card: #0a0a1f;
--card-foreground: #ffffff;
--primary: #a855f7;
--primary-foreground: #fafaf9;
--secondary: #0a0a1f;
--secondary-foreground: #ffffff;
--accent: #ff0080;
--accent-foreground: #fafaf9;
--muted: #19192c;
--muted-foreground: #a6a6a6;
--border: #2c2c3e;
--destructive: #dc2626;
--ring: #a855f7;
--radius: 0.5rem;
--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: 0 0 25px rgba(147,51,234,0.4);
}
Tailwind
/* powered by Styledex — https://styledex.dev */
/* "Holographic" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/holographic @ bfa7da909e86. */
/** Tailwind theme extend for Holographic (stylekit-holographic) */
module.exports = {
"theme": {
"extend": {
"colors": {
"background": "#0a0a1f",
"foreground": "#ffffff",
"card": "#0a0a1f",
"primary": "#a855f7",
"primary-foreground": "#fafaf9",
"secondary": "#0a0a1f",
"accent": "#ff0080",
"muted": "#19192c",
"border": "#2c2c3e",
"destructive": "#dc2626",
"ring": "#a855f7"
},
"borderRadius": {
"lg": "0.5rem"
},
"fontFamily": {
"sans": [
"ui-sans-serif",
"system-ui",
"sans-serif"
],
"serif": [
"ui-serif",
"Georgia",
"serif"
],
"mono": [
"ui-monospace",
"SFMono-Regular",
"Menlo",
"monospace"
]
},
"boxShadow": {
"styledex": "0 0 25px rgba(147,51,234,0.4)"
}
}
}
};
shadcn
/* powered by Styledex — https://styledex.dev */
/* "Holographic" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/holographic @ bfa7da909e86. */
@layer base {
:root {
--background: #0a0a1f;
--foreground: #ffffff;
--card: #0a0a1f;
--card-foreground: #ffffff;
--primary: #a855f7;
--primary-foreground: #fafaf9;
--secondary: #0a0a1f;
--secondary-foreground: #ffffff;
--accent: #ff0080;
--accent-foreground: #fafaf9;
--muted: #19192c;
--muted-foreground: #a6a6a6;
--border: #2c2c3e;
--destructive: #dc2626;
--ring: #a855f7;
--radius: 0.5rem;
--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: 0 0 25px rgba(147,51,234,0.4);
}
}