Dark Mode (OLED)

Optimized for OLED displays and low-light environments. Uses true blacks to save battery and reduce eye strain while maintaining vibrant accent colors.

Palette & CSS ↓

Live demo

Code in the dark.
Ship at light speed.

The IDE that respects your eyes and your craft. True black OLED themes, zero distractions, maximum productivity.

main.ts
const app = createApp({
name: "NightCode",
theme: "pure-black",
performance: "blazing"
});

Built for the night shift

True Black

Pure #000000 background. Perfect OLED blacks save battery and reduce eye strain.

Lightning Fast

Sub-50ms response time. Every keystroke feels instant.

Plugin System

Extend everything. Our marketplace has 10,000+ extensions.

Auto Dark

Syncs with system preferences. Dark when you need it.

1M+

Developers

50ms

Response Time

99.9%

Uptime

About Dark Mode (OLED)

Optimized for OLED displays and low-light environments. Uses true blacks to save battery and reduce eye strain while maintaining vibrant accent colors.

Era / origin

2020s Modern

Key characteristics

  • Dark theme
  • Low light
  • High contrast
  • Deep black
  • Eye-friendly
  • OLED

When to use Dark Mode (OLED)

  • Night-mode apps
  • Coding platforms
  • Entertainment
  • OLED devices

When to avoid it

  • Print-first content
  • High-brightness outdoor
  • Color-accuracy-critical

Common industries

  • SaaS
  • Fintech & Banking
  • Entertainment & Media
  • Gaming

Dark Mode (OLED) color palette

  • #000000
  • #121212
  • #0A0E27
  • #39FF14
  • #0080FF
  • #FFD700
  • #BF00FF

How to build Dark Mode (OLED) in CSS

Effects: Soft neon glow on accents only (text-shadow and box-shadow), subtle border-color hovers, light grey body text on true black for readability

CSS · 77 lines
:root {
  --oled-black: #000000;
  --oled-surface: #121212;
  --oled-navy: #0A0E27;
  --oled-green: #39FF14;
  --oled-blue: #0080FF;
  --oled-gold: #FFD700;
  --oled-purple: #BF00FF;
  --oled-text: #9CA3AF;
  --oled-border: #1F2937;
}

body {
  background: var(--oled-black);
  color: var(--oled-text);
  font-family: system-ui, sans-serif;
}

h1,
h2,
h3 {
  color: #FFFFFF;
  font-weight: 700;
}

/* Glow only on accents, never on body text */
.glow {
  color: var(--oled-green);
  text-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
}

/* Give each stat or feature its own accent instead of repeating green */
.accent-green { color: var(--oled-green); }
.accent-blue { color: var(--oled-blue); }
.accent-gold { color: var(--oled-gold); }
.accent-purple { color: var(--oled-purple); }

.card {
  padding: 1.5rem;
  border: 1px solid var(--oled-border);
  border-radius: 0.75rem;
  background: var(--oled-black);
  transition: border-color 150ms ease;
}

.card:hover {
  border-color: #374151;
}

.code {
  border: 1px solid var(--oled-border);
  border-radius: 0.75rem;
  background: var(--oled-surface);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.button {
  padding: 1rem 2rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--oled-green);
  color: var(--oled-black);
  font-weight: 600;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

.button--ghost {
  border: 1px solid #374151;
  background: transparent;
  color: #FFFFFF;
  box-shadow: none;
}

.button:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

Use Dark Mode (OLED) with an AI coding agent

Paste this into Claude Code, Cursor, v0, Lovable or any coding agent to restyle a page in Dark Mode (OLED).

AI prompt · 93 lines
Apply the Dark Mode (OLED) style to this interface.

What it is: Optimized for OLED displays and low-light environments. Uses true blacks to save battery and reduce eye strain while maintaining vibrant accent colors.
Look and feel: Dark theme, Low light, High contrast, Deep black, Eye-friendly, OLED.
Colors: primary #000000, #121212, #0A0E27; secondary #39FF14, #0080FF, #FFD700, #BF00FF.
Effects and motion: Soft neon glow on accents only (text-shadow and box-shadow), subtle border-color hovers, light grey body text on true black for readability.

Reference CSS (put these class names on the matching elements, or map them onto existing components and class names; avoid long structural selectors):
```css
:root {
  --oled-black: #000000;
  --oled-surface: #121212;
  --oled-navy: #0A0E27;
  --oled-green: #39FF14;
  --oled-blue: #0080FF;
  --oled-gold: #FFD700;
  --oled-purple: #BF00FF;
  --oled-text: #9CA3AF;
  --oled-border: #1F2937;
}

body {
  background: var(--oled-black);
  color: var(--oled-text);
  font-family: system-ui, sans-serif;
}

h1,
h2,
h3 {
  color: #FFFFFF;
  font-weight: 700;
}

/* Glow only on accents, never on body text */
.glow {
  color: var(--oled-green);
  text-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
}

/* Give each stat or feature its own accent instead of repeating green */
.accent-green { color: var(--oled-green); }
.accent-blue { color: var(--oled-blue); }
.accent-gold { color: var(--oled-gold); }
.accent-purple { color: var(--oled-purple); }

.card {
  padding: 1.5rem;
  border: 1px solid var(--oled-border);
  border-radius: 0.75rem;
  background: var(--oled-black);
  transition: border-color 150ms ease;
}

.card:hover {
  border-color: #374151;
}

.code {
  border: 1px solid var(--oled-border);
  border-radius: 0.75rem;
  background: var(--oled-surface);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.button {
  padding: 1rem 2rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--oled-green);
  color: var(--oled-black);
  font-weight: 600;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

.button--ghost {
  border: 1px solid #374151;
  background: transparent;
  color: #FFFFFF;
  box-shadow: none;
}

.button:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}
```

Works best for: Night-mode apps, Coding platforms, Entertainment, OLED devices.
Avoid it for: Print-first content, High-brightness outdoor, Color-accuracy-critical. If this product falls into one of those, say so before restyling.

Change the visual design only: keep the existing layout, content and behaviour.
Meet WCAG AA contrast: where a palette color is too light or bright for text, keep it for backgrounds, borders and large display type and use a darker text color, rather than darkening the whole design. Keep visible focus states, give icon-only controls an accessible name (aria-label) and respect prefers-reduced-motion.

Rolling AI coding agents out across a team? Farad Labs runs hands-on AI training.