Border colors

Consistently coloring borders of UI elements

As the name implies, border colors are colors applied specifically to the borders of various UI elements, like containers and separators.

Border colors may only be used with the following properties:

iOS (Swift)

borderColor

Web (SCSS)

border, border-color

Android (XML)

color on a Stroke

Android (Kotlin)

setStroke()

 

Usage

Border colors can be instrumental denominators in separating specific elements from the rest of your UI. By categorizing border colors within a dedicated group of color tokens, we ensure that border colors are globally configurable and easy to align with accessibility standards.

Border colors are hierarchically organized based on their importance and usage:

  1. border/default is used as the strongest border color with highest contrast ratio.
  2. border/subtle is a softer border color for elements not required to pass accessibility requirements.
Usage

 

Border colors also consist of colors that can be used with contextual elements such as:

  • border/info
  • border/success
  • border/warning
  • border/danger
Usage contextual

 

Resources

Below, you can find additional documentation and resources to help you navigate the world of design tokens. The documentation includes guides for engineers and designers, as well as high-level information about our design tokens at Backbase.

 

Semantic tokens

Discover all foundational concepts to get you started with our new semantic tokens architecture.

 

Migration

Learn more about how to migrate to the latest version of our design tokens (semantic tokens).