Best For
霓虹武士 / 赛博武士 / 日本
Neon Samurai
A collision of traditional Japanese samurai aesthetics with neon cyberpunk, weaving katana slash lines, vermillion torii gate frames, calligraphy brushstrokes, and dual-color neon glow effects -- ukiyo-e meets neon lights in a futuristic urban bushido.
Best For
霓虹武士 / 赛博武士 / 日本
Primary Move
Use dark navy backgrounds (bg-[#080818])
Watch Out
No soft pastel colors or light backgrounds
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#dc2626
Secondary
#080818
Accent 1
#a020f0
Accent 2
#38bdf8
AI Implementation
Use the Hard Prompt by default to generate UI. Use the Design Spec to understand, modify, and review the style. Use the Creative Brief for early exploration.
Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.
When to use
How to use
STYLEKIT_STYLE_REFERENCE
style_name: Neon Samurai
style_slug: neon-samurai
style_source: /styles/neon-samurai
# Hard Prompt
## When To Use
Use this when you want AI to generate code with strict style consistency. It is the safest default for production UI.
## How To Use
- Copy the full prompt into ChatGPT, Claude, Cursor, or another coding assistant.
- Append the concrete product/page requirement after the prompt.
- After generation, check the forbidden rules and interaction states before accepting the output.
Strictly follow the style rules below and maintain consistency. No style drift allowed.
## Requirements
- Prioritize style consistency first, then creative extension.
- When conflicts arise, treat prohibitions as the highest priority.
- Self-check before output: verify colors, typography, spacing, and interactions still match this style.
## Style Rules
You are a Neon Samurai design style frontend development expert. All generated code must strictly follow these constraints:
## Absolutely Forbidden
- Soft pastel colors or light backgrounds
- rounded-full or large border radius
- Organic/irregular shapes
- Serif fonts
- Light mode backgrounds (bg-white, bg-gray-50, etc.)
- Standard drop shadows (shadow-md, shadow-lg)
## Must Follow
- Dark navy backgrounds: bg-[#080818] or similar near-black
- Neon red primary: #dc2626 with glow effects
- Dual-color glow: stroke color differs from glow (e.g., purple text with blue glow halo)
- Katana slash diagonal lines as decorative elements
- Torii gate shapes for section framing
- Armor-plate angular clip-paths on cards
- Brush-stroke style underlines (not solid box borders for inputs)
- Ink splatter burst accents on hover
## Color Palette
Primary:
- Neon Red: #dc2626
- Dark Navy: #080818
- Electric Purple: #a020f0
- Neon Blue: #38bdf8
- Gold: #fbbf24
## Unique Elements
- Katana diagonal slash stroke decorations (tapered SVG paths)
- Torii gate shaped frames (double-beam top border)
- Dual-color glow effect (stroke color != glow color)
- Armor-plate angular card clip-paths
- Calligraphy brush-stroke neon dividers
## Animation & Interaction Rules
- Katana Slash: Interactions must resolve in 75ms to 100ms, with slash-line sweeps that feel like a single blade pass.
- Target Lock: Corner markers should brighten and contract on hover to simulate lock-on feedback.
- Lethal Glow: Glow stays concentrated and high-saturation (red/purple), avoiding broad soft haze.
- Instant Parry: Active state should snap with slight X-axis jolt or immediate color inversion, never soft scaling.Component Templates
Sharp-edged button with slash-mark corner cuts and dual-color neon glow
Frontend Readiness
This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.
Overall
58%
Fallback
Dark Mode
35%
FallbackUI States
79%
PartialMotion
70%
PartialA11y
70%
PartialPerformance
35%
FallbackButton
Default / Hover / Focus Visible / Active / Disabled
Input
Default / Hover / Focus Visible / Disabled / Error
Card
Default / Hover / Focus Visible / Loading / Skeleton
Form
Default / Focus Visible / Disabled / Loading / Error
/* Neon Samurai Global Styles */
:root {
--ns-red: #dc2626;
--ns-dark: #080818;
--ns-purple: #a020f0;
--ns-blue: #38bdf8;
--ns-gold: #fbbf24;
}
/* Dual-color neon text glow (red text, blue glow) */
.ns-dual-glow {
text-shadow: 0 0 20px var(--ns-blue), 0 0 40px rgba(56, 189, 248, 0.3);
color: var(--ns-red);
}
/* Katana slash diagonal line */
.ns-slash-line {
position: relative;
}
.ns-slash-line::after {
content: "";
position: absolute;
top: 50%;
left: -10%;
right: -10%;
height: 2px;
background: linear-gradient(135deg, transparent 10%, var(--ns-red) 30%, var(--ns-red) 70%, transparent 90%);
box-shadow: 0 0 12px var(--ns-blue);
transform: rotate(-15deg);
pointer-events: none;
}
/* Torii gate frame */
.ns-torii-frame {
border-top: 3px solid var(--ns-red);
border-left: 2px solid var(--ns-red);
border-right: 2px solid var(--ns-red);
box-shadow: 0 -4px 15px rgba(220, 38, 38, 0.3);
position: relative;
}
.ns-torii-frame::before {
content: "";
position: absolute;
top: 8px;
left: 0;
right: 0;
height: 2px;
background: var(--ns-red);
opacity: 0.5;
}
/* Armor-plate clip path */
.ns-armor-clip {
clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
/* Smoke overlay */
.ns-smoke::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(ellipse at 50% 80%, rgba(220, 38, 38, 0.04) 0%, transparent 70%);
pointer-events: none;
}
/* Scan line overlay */
.ns-scanlines::before {
content: "";
position: absolute;
inset: 0;
background: repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
rgba(0, 0, 0, 0.08) 2px,
rgba(0, 0, 0, 0.08) 4px
);
pointer-events: none;
}
.neon-samurai-filter { filter: brightness(1.05) contrast(1.02); }
.neon-samurai-focus { outline: 2px solid var(--neon-samurai-primary, currentColor); outline-offset: 2px; }
/* Additional techniques */
@keyframes neon-samurai-shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
.neon-samurai-glass { backdrop-filter: blur(8px) saturate(150%); -webkit-backdrop-filter: blur(8px) saturate(150%); }IDE Integration
Download configuration files for AI coding assistants to generate code in this style.
Style Pack
Get complete machine-readable style assets including design tokens, Tailwind presets, CSS variables, and shadcn/ui themes.
Metadata
Style metadata including version information
Design Tokens
Compatible with Figma / Style Dictionary / Tokens Studio
Tailwind Preset
Tailwind CSS theme preset, import directly in config
Global CSS
CSS variables and base styles
shadcn Theme
shadcn/ui theme configuration
CSS Variables
Pure CSS variables, works with any project
SKILL.md
Loadable skill pack for Cursor / Claude Code / VS Code
Neon Samurai fuses Japanese bushido aesthetics with cyberpunk neon luminance, forging a style of relentless tension and kinetic energy.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: D - Poor
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#ffffff / #080818 | 19.84:1 | ||
| Secondary text on background | /#dc2626 / #080818 | 4.11:1 | ||
| Text on secondary background | /#ffffff / #111122 | 18.63:1 | ||
| Secondary text on secondary | /#dc2626 / #111122 | 3.86:1 | ||
| Button primary | /#ffffff / #dc2626 | 4.83:1 | ||
| Text on accent 1 | /#ffffff / #dc2626 | 4.83:1 | ||
| Alt text on accent 1 | /#dc2626 / #dc2626 | 1:1 | ||
| Text on accent 2 | /#ffffff / #a020f0 | 5.3:1 | ||
| Alt text on accent 2 | /#dc2626 / #a020f0 | 1.1:1 | ||
| Text on accent 3 | /#ffffff / #38bdf8 | 2.14:1 | ||
| Alt text on accent 3 | /#dc2626 / #38bdf8 | 2.25:1 | ||
| Text on accent 4 | /#ffffff / #fbbf24 | 1.67:1 | ||
| Alt text on accent 4 | /#dc2626 / #fbbf24 | 2.89:1 |
Readability
Score
87/100
Font Size
text-sm md:text-base
Font Weight
font-sans font-bold uppercase tracking-widest
Line Height
default
Scoring is based on WCAG 2.1 standards. AA requires 4.5:1 contrast for normal text, 3:1 for large text; AAA requires 7:1 for normal text, 4.5:1 for large text.