Skip to content

Focus Indicators

Meaning and Message

By defining a specific style for our focus indicators, we will create a smooth experience and maintain excellent compliance standards across all Primerica digital products. This page will cover the focus indicators used for links, buttons and inputs within the OneX design system.

Style recommendation for all focus indicators is a 2 pixel outline, with a 2 pixel spacing offset. Focus color of the outline will either be the link color, for text links, or Blue 600 in our design system, depending on what component is being focused. See individual components for more details.

Buttons

Buttons' focus color will be Blue 600 for the outline on light background and White for the outline on dark background.

Focused buttons on light backgroundFocused buttons on dark background

Icon links' focus color will be Blue 600 for the outline on light background and White for the outline on dark background.

Focused icons on light backgroundFocused icons on dark background

Image links' focus color will be Blue 600 for the outline on light background and White for the outline on dark background.

Focused images on light backgroundFocused images on dark background

Text links' focus color will be the current link color for the outline.

Focused standard link colorFocused other link color

Input Fields

Input fields will use active state styles as their focus indicator. This includes color, shape and animation styles that are applied when entering information into this field.

Focused text input field

Radios, Checkboxes and Toggles

Radio inputs, checkboxes and toggles will use active state styles as their focus indicator. This includes color, shape and animation styles that are applied when hovering this element.

Focused radioFocused checkboxFocused toggle