Rounded Border Accent
Adding a thick colored border on a single side (left or top) of a rounded-corner card or callout box as a design accent treatment.…
$ prime install @anthropic-impeccable/anti-pattern-rounded-border-accent Projection
Always in _index.xml · the agent never has to ask for this.
RoundedBorderAccent [anti-pattern] v1.0.0
Adding a thick colored border on a single side (left or top) of a rounded-corner card or callout box as a design accent treatment. Appears frequently in dashboards, alert boxes, and information cards as a lazy brand color injection that almost never looks intentional.
Loaded when retrieval picks the atom as adjacent / supporting.
RoundedBorderAccent [anti-pattern] v1.0.0
Adding a thick colored border on a single side (left or top) of a rounded-corner card or callout box as a design accent treatment. Appears frequently in dashboards, alert boxes, and information cards as a lazy brand color injection that almost never looks intentional.
Label
Rounded Rectangles with Thick Colored Left/Top Border as Accent
Trap
Designers reach for this pattern when they want to add 'a pop of color' to an otherwise achromatic component without committing to a full color treatment. The result is a visual compromise that satisfies neither: the component is not fully colored (so it lacks commitment) and the single-side border looks like an afterthought. The border creates an asymmetric tension with the rounded corners — a rounded rectangle signals soft, full-perimeter containment; a single thick border signals directional emphasis and looks better with squared corners.
Detection
- border-left: 3-6px solid
on a card with border-radius > 0 - border-top: 3-6px solid
on a panel with border-radius > 0 - The element uses this treatment across all alert/callout variants regardless of semantic meaning
Remediation
- Commit to a full treatment: fill the entire card background with a tint of the accent, or use no color at all.
- If a directional accent is intentional (timeline indicator, category tag), use sharp/small border-radius (0-2px) to acknowledge the directional geometry.
- Replace accent borders with semantic background tints (oklch(95% 0.04 250) for a subtle blue-info card).
- Use icon + background-color treatment for semantic callouts (success, warning, error) — the icon communicates meaning more clearly than a side border color.
Loaded when retrieval picks the atom as a focal / direct hit.
RoundedBorderAccent [anti-pattern] v1.0.0
Adding a thick colored border on a single side (left or top) of a rounded-corner card or callout box as a design accent treatment. Appears frequently in dashboards, alert boxes, and information cards as a lazy brand color injection that almost never looks intentional.
Label
Rounded Rectangles with Thick Colored Left/Top Border as Accent
Trap
Designers reach for this pattern when they want to add 'a pop of color' to an otherwise achromatic component without committing to a full color treatment. The result is a visual compromise that satisfies neither: the component is not fully colored (so it lacks commitment) and the single-side border looks like an afterthought. The border creates an asymmetric tension with the rounded corners — a rounded rectangle signals soft, full-perimeter containment; a single thick border signals directional emphasis and looks better with squared corners.
Detection
- border-left: 3-6px solid
on a card with border-radius > 0 - border-top: 3-6px solid
on a panel with border-radius > 0 - The element uses this treatment across all alert/callout variants regardless of semantic meaning
Remediation
- Commit to a full treatment: fill the entire card background with a tint of the accent, or use no color at all.
- If a directional accent is intentional (timeline indicator, category tag), use sharp/small border-radius (0-2px) to acknowledge the directional geometry.
- Replace accent borders with semantic background tints (oklch(95% 0.04 250) for a subtle blue-info card).
- Use icon + background-color treatment for semantic callouts (success, warning, error) — the icon communicates meaning more clearly than a side border color.
Sources
Label
Rounded Rectangles with Thick Colored Left/Top Border as Accent
Trap
Designers reach for this pattern when they want to add 'a pop of color' to an otherwise achromatic component without committing to a full color treatment. The result is a visual compromise that satisfies neither: the component is not fully colored (so it lacks commitment) and the single-side border looks like an afterthought. The border creates an asymmetric tension with the rounded corners — a rounded rectangle signals soft, full-perimeter containment; a single thick border signals directional emphasis and looks better with squared corners.
Detection
- border-left: 3-6px solid
on a card with border-radius > 0 - border-top: 3-6px solid
on a panel with border-radius > 0 - The element uses this treatment across all alert/callout variants regardless of semantic meaning
Remediation
- Commit to a full treatment: fill the entire card background with a tint of the accent, or use no color at all.
- If a directional accent is intentional (timeline indicator, category tag), use sharp/small border-radius (0-2px) to acknowledge the directional geometry.
- Replace accent borders with semantic background tints (oklch(95% 0.04 250) for a subtle blue-info card).
- Use icon + background-color treatment for semantic callouts (success, warning, error) — the icon communicates meaning more clearly than a side border color.
Source
prime-system/examples/frontend-design/primes/compiled/@anthropic-impeccable/anti-pattern-rounded-border-accent/atom.yaml