# Midnight primary (B 096)

Category: Buttons  
Tags: dark-mode, solid, rounded, glow  
Page: https://designforai.dev/snippet/btn-096

## Prompt

A dark-mode primary button on #09090b: off-white #fafafa fill with near-black text at 14px semibold, 8px radius, 12px by 24px padding, a 1px 10% white ring and a faint white glow 0 4px 16px. Hover brightens to pure white with a stronger glow; active #e4e4e7. Focus outline 2px off-white.

## HTML

```html
<div style="background:#09090b;padding:28px"><button class="btn-096">Deploy</button></div>
```

## CSS

```css
.btn-096 {
  font: 600 14px/1 system-ui,sans-serif;
  color: #09090b;
  background: #fafafa;
  border: 0;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1),0 4px 16px rgba(255,255,255,.08);
  transition: background .15s,box-shadow .15s
}
.btn-096:hover {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2),0 6px 24px rgba(255,255,255,.14)
}
.btn-096:focus-visible {
  outline: 2px solid #fafafa;
  outline-offset: 3px
}
.btn-096:active {
  background: #e4e4e7;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1)
}
```
