Profile Badge
Sony picture profile compact key-value indicator
Size
Material
State
PP
S-Log3
PP
HLG
<div class="pp-badge active-pp">
<span class="pp-key">PP</span>
<span class="pp-val">S-Log3</span>
</div>
<div class="pp-badge">
<span class="pp-key">PP</span>
<span class="pp-val">HLG</span>
</div> .pp-badge {
display: inline-flex; flex-direction: column; align-items: center;
background: var(--bg-panel); border: 1px solid var(--border-mid);
border-radius: var(--radius-sm); padding: 4px 10px;
box-shadow: 0 2px 0 var(--border-deep), inset 0 1px 0 var(--border-hi);
gap: 1px; cursor: pointer; transition: background 0.1s;
}
.pp-badge:hover { background: var(--bg-surface); }
.pp-key { font-size: 7px; letter-spacing: 2px; color: var(--text-muted); font-family: var(--font-ui); }
.pp-val { font-family: var(--font-mono); font-size: 12px; color: var(--text-primary); letter-spacing: 1px; }
.pp-badge.active-pp .pp-val { color: var(--amber); } API
| Class | Type | Description |
|---|---|---|
.pp-badge | Base | Primary component class |
.default | Size | Extra large variant |
.active | State | Active state |
Design Notes
Physical Analog
Reference devices: Sony cameras display the active picture profile (PP1-PP11, S-Log3, HLG) as a small rectangular indicator. Mechanism: Compact key-value pair display. This component replicates the small rectangular indicator showing the active picture profile on Sony camera displays.
Geometry
| Property | Value |
|---|---|
| Padding | 4px 10px |
| Border radius | --radius-sm (4px) |
| Key font size | 7px |
| Value font size | 12px |
| Gap | 1px |
CSS Recipe
Container (.pp-badge)
.pp-badge {
display: inline-flex; flex-direction: column; align-items: center;
background: var(--bg-panel); border: 1px solid var(--border-mid);
border-radius: var(--radius-sm); padding: 4px 10px;
box-shadow: 0 2px 0 var(--border-deep), inset 0 1px 0 var(--border-hi);
gap: 1px; cursor: pointer; transition: background 0.1s;
}
Hover
.pp-badge:hover { background: var(--bg-surface); }
Key label (.pp-key)
.pp-key { font-size: 7px; letter-spacing: 2px; color: var(--text-muted); font-family: var(--font-ui); }
Value (.pp-val)
.pp-val { font-family: var(--font-mono); font-size: 12px; color: var(--text-primary); letter-spacing: 1px; }
Active state
.pp-badge.active-pp .pp-val { color: var(--amber); }
HTML Structure
<div class="pp-badge active-pp">
<span class="pp-key">PP</span>
<span class="pp-val">S-Log3</span>
</div>
<div class="pp-badge">
<span class="pp-key">PP</span>
<span class="pp-val">HLG</span>
</div>
Size Variants
No size variants defined.
Material Variants
No material variants. Uses Tier 2 raised depth model.
Theme Behavior
- Background swaps via
--bg-panel - Hover background uses
--bg-surface - Active value uses
--amber(constant across themes) - Shadow stack adapts via tokens
Constraints
- Layout MUST be vertical column (key above, value below)
- MUST use
--radius-sm(4px), smaller than mode badge - Key label MUST be 7px with 2px letter-spacing
- Value MUST use monospace font (
--font-mono) for data consistency - Active profile MUST highlight value in amber
- MUST be interactive (cursor: pointer, hover state)
- Gap between key and value MUST be minimal (1px)
Accessibility
- Should have
role="radio"if part of a selection group, orrole="button"for standalone - Active state:
aria-pressed="true"oraria-selected="true" - Include
aria-labelwith full description: "Picture Profile: S-Log3 (active)"
♿
Accessibility
- Element
- Use semantic HTML with appropriate ARIA roles
- Keyboard
- Follow WAI-ARIA patterns for this control type
- Focus
-
Visible focus indicator required. Use native browser focus ring or custom
:focus-visiblestyles.