Gray10Theme

One of the default light themes available in Carbon.

This theme uses Gray 10 as the global background color and is layered first with components using White backgrounds.

The second layer uses Gray 10 and the third layer used White.

Properties

Link copied to clipboard
open override val aiColors: AiColors

Color tokens for the Ai component.

Link copied to clipboard
open override val background: Color

Default page background. UI Shell base color.

Link copied to clipboard
open override val backgroundActive: Color

Active color for background.

Link copied to clipboard
open override val backgroundBrand: Color

Feature background color.

Link copied to clipboard
open override val backgroundHover: Color

Hover color for background. Hover color for transparent backgrounds.

Link copied to clipboard
open override val backgroundInverse: Color

High contrast backgrounds. High contrast elements.

Link copied to clipboard
open override val backgroundInverseHover: Color

Hover color for backgroundInverse.

Link copied to clipboard
open override val backgroundSelected: Color

Selected color for background.

Link copied to clipboard
open override val backgroundSelectedHover: Color

Hover color for backgroundSelected.

Link copied to clipboard
open override val borderDisabled: Color

Disabled border color (excluding border-subtles).

Link copied to clipboard
open override val borderInteractive: Color

3:1 AA contrast. Selected borders. Active borders.

Link copied to clipboard
open override val borderInverse: Color

High contrast border. 4.5:1 AA non-text contrast.

Link copied to clipboard
open override val borderStrong01: Color

Medium contrast border. Border-bottom paired with field01. 3:1 AA non-text contrast.

Link copied to clipboard
open override val borderStrong02: Color

Medium contrast border. Border-bottom paired with field02. 3:1 AA non-text contrast.

Link copied to clipboard
open override val borderStrong03: Color

Medium contrast border. Border-bottom paired with field03. 3:1 AA non-text contrast.

Link copied to clipboard
open override val borderSubtle00: Color

Subtle borders paired with background.

Link copied to clipboard
open override val borderSubtle01: Color

Subtle borders paired with layer01.

Link copied to clipboard
open override val borderSubtle02: Color

Subtle borders paired with layer02.

Link copied to clipboard
open override val borderSubtle03: Color

Subtle borders paired with layer03.

Link copied to clipboard
open override val borderSubtleSelected01: Color

Selected color for borderSubtle01.

Link copied to clipboard
open override val borderSubtleSelected02: Color

Selected color for borderSubtle02.

Link copied to clipboard
open override val borderSubtleSelected03: Color

Selected color for borderSubtle03.

Link copied to clipboard
open override val borderTile01: Color

Operable tile indicator paired with layer01.

Link copied to clipboard
open override val borderTile02: Color

Operable tile indicator paired with layer02.

Link copied to clipboard
open override val borderTile03: Color

Operable tile indicator paired with layer03.

Link copied to clipboard
open override val buttonDangerActive: Color

Active color for dangerPrimary. Active color for dangerSecondary.

Link copied to clipboard
open override val buttonDangerHover: Color

Hover color for dangerPrimary. Hover color for dangerSecondary.

Link copied to clipboard
open override val buttonDangerPrimary: Color

Primary danger button color. 3:1 AA non-text contrast.

Link copied to clipboard
open override val buttonDangerSecondary: Color

Tertiary danger button color. Ghost danger button color. 4.5:1 AA text contrast.

Link copied to clipboard
open override val buttonDisabled: Color

Disabled color for button elements.

Link copied to clipboard
open override val buttonPrimary: Color

Primary button color.

Link copied to clipboard
open override val buttonPrimaryActive: Color

Active color for buttonPrimary.

Link copied to clipboard
open override val buttonPrimaryHover: Color

Hover color for buttonPrimary.

Link copied to clipboard
open override val buttonSecondary: Color

Secondary button color.

Link copied to clipboard
open override val buttonSecondaryActive: Color

Active color for buttonSecondary.

Link copied to clipboard
open override val buttonSecondaryHover: Color

Hover color for buttonSecondary.

Link copied to clipboard
open override val buttonSeparator: Color

Fluid button separator. 3:1 AA non-text contrast.

Link copied to clipboard
open override val buttonTertiary: Color

Tertiary button color. 4.5:1 AA text contrast.

Link copied to clipboard
open override val buttonTertiaryActive: Color

Active color for buttonTertiary.

Link copied to clipboard
open override val buttonTertiaryHover: Color

Hover color for buttonTertiary.

Link copied to clipboard
open override val chatColors: ChatColors

Color tokens for the Chat component.

Link copied to clipboard
open override val field01: Color

Default input fields. Fields on background.

Link copied to clipboard
open override val field02: Color

Secondary input fields. Fields on layer01.

Link copied to clipboard
open override val field03: Color

Tertiary input fields. Fields on layer02.

Link copied to clipboard
open override val fieldHover01: Color

Hover color for field01.

Link copied to clipboard
open override val fieldHover02: Color

Hover color for field02.

Link copied to clipboard
open override val fieldHover03: Color

Hover color for field03.

Link copied to clipboard
open override val focus: Color

Focus border. Focus underline.

Link copied to clipboard
open override val focusInset: Color

Contrast border paired with focus.

Link copied to clipboard
open override val focusInverse: Color

Focus on high contrast moments.

Link copied to clipboard
open override val highlight: Color

Highlight color.

Link copied to clipboard
open override val iconDisabled: Color

Disabled icon color.

Link copied to clipboard
open override val iconInteractive: Color

Icons that indicate operability.

Link copied to clipboard
open override val iconInverse: Color

Inverse icon color.

Link copied to clipboard
open override val iconOnColor: Color

Icons on interactive colors. Icons on non-layer colors.

Link copied to clipboard
open override val iconOnColorDisabled: Color

Disabled color for iconOnColor.

Link copied to clipboard
open override val iconPrimary: Color

Primary icons.

Link copied to clipboard
open override val iconSecondary: Color

Secondary icons.

Link copied to clipboard
open override val interactive: Color

3:1 AA contrast. Selected elements. Active elements. Accent icons.

Link copied to clipboard
open override val layer01: Color

Container color on background. Secondary page background.

Link copied to clipboard
open override val layer02: Color

Container color on layer01.

Link copied to clipboard
open override val layer03: Color

Container color on layer02.

Link copied to clipboard
open override val layerAccent01: Color

Tertiary background paired with layer01.

Link copied to clipboard
open override val layerAccent02: Color

Tertiary background paired with layer02.

Link copied to clipboard
open override val layerAccent03: Color

Tertiary background paired with layer03.

Link copied to clipboard
open override val layerAccentActive01: Color

Active color for layerAccent01.

Link copied to clipboard
open override val layerAccentActive02: Color

Active color for layerAccent02.

Link copied to clipboard
open override val layerAccentActive03: Color

Active color for layerAccent03.

Link copied to clipboard
open override val layerAccentHover01: Color

Hover color for layerAccent01.

Link copied to clipboard
open override val layerAccentHover02: Color

Hover color for layerAccent02.

Link copied to clipboard
open override val layerAccentHover03: Color

Hover color for layerAccent03.

Link copied to clipboard
open override val layerActive01: Color

Active color for layer01.

Link copied to clipboard
open override val layerActive02: Color

Active color for layer02.

Link copied to clipboard
open override val layerActive03: Color

Active color for layer03.

Link copied to clipboard
open override val layerHover01: Color

Hover color for layer01.

Link copied to clipboard
open override val layerHover02: Color

Hover color for layer02.

Link copied to clipboard
open override val layerHover03: Color

Hover color for layer03.

Link copied to clipboard
open override val layerSelected01: Color

Selected color for layer01.

Link copied to clipboard
open override val layerSelected02: Color

Selected color for layer02.

Link copied to clipboard
open override val layerSelected03: Color

Selected color for layer03.

Link copied to clipboard
open override val layerSelectedDisabled: Color

Disabled color for selected layers.

Link copied to clipboard
open override val layerSelectedHover01: Color

Hover color for layerSelected01.

Link copied to clipboard
open override val layerSelectedHover02: Color

Hover color for layerSelected02.

Link copied to clipboard
open override val layerSelectedHover03: Color

Hover color for layerSelected03.

Link copied to clipboard
open override val layerSelectedInverse: Color

High contrast elements. 4.5:1 AA element contrast.

Link copied to clipboard
open override val linkInverse: Color

Links on backgroundInverse backgrounds.

Link copied to clipboard
open override val linkInverseActive: Color

Active color for links on backgroundInverse backgrounds.

Link copied to clipboard
open override val linkInverseHover: Color

Hover color for links on backgroundInverse backgrounds.

Link copied to clipboard
open override val linkInverseVisited: Color

Color for visited links on backgroundInverse backgrounds.

Link copied to clipboard
open override val linkPrimary: Color

Primary links.

Link copied to clipboard
open override val linkPrimaryHover: Color

Hover color for linkPrimary.

Link copied to clipboard
open override val linkSecondary: Color

Secondary link color for lower contrast backgrounds.

Link copied to clipboard
open override val linkVisited: Color

Color for visited links.

Link copied to clipboard

Color tokens for the Notification component.

Link copied to clipboard
open override val overlay: Color

Background overlay.

Link copied to clipboard
open override val skeletonBackground: Color

Skeleton color for containers.

Link copied to clipboard
open override val skeletonElement: Color

Skeleton color for text and UI elements.

Link copied to clipboard
open override val supportCautionMajor: Color

Major caution status.

Link copied to clipboard
open override val supportCautionMinor: Color

Minor caution status.

Link copied to clipboard
open override val supportCautionUndefined: Color

Undefined status.

Link copied to clipboard
open override val supportError: Color

Error. Invalid state.

Link copied to clipboard
open override val supportErrorInverse: Color

Error in high contrast moments.

Link copied to clipboard
open override val supportInfo: Color

Information.

Link copied to clipboard
open override val supportInfoInverse: Color

Information in high contrast moments.

Link copied to clipboard
open override val supportSuccess: Color

Success. On.

Link copied to clipboard
open override val supportSuccessInverse: Color

Success in high contrast moments.

Link copied to clipboard
open override val supportWarning: Color

Warning.

Link copied to clipboard
open override val supportWarningInverse: Color

Warning in high contrast moments.

Link copied to clipboard
open override val tagColors: TagColors

Color tokens for the Tag component.

Link copied to clipboard
open override val textDisabled: Color

Disabled text color.

Link copied to clipboard
open override val textError: Color

Error message text.

Link copied to clipboard
open override val textHelper: Color

Tertiary text. Help text.

Link copied to clipboard
open override val textInverse: Color

Inverse text color.

Link copied to clipboard
open override val textOnColor: Color

Text on interactive colors. Text on button colors.

Link copied to clipboard
open override val textOnColorDisabled: Color

Disabled color for textOnColor.

Link copied to clipboard
open override val textPlaceholder: Color

Placeholder text.

Link copied to clipboard
open override val textPrimary: Color

Primary text. Body copy. Headers. Hover text color for textSecondary.

Link copied to clipboard
open override val textSecondary: Color

Secondary text. Input labels.

Link copied to clipboard
open override val toggleOff: Color

Off background. 3:1 AA contrast.

Functions

Link copied to clipboard
fun containerColor(layer: Layer = Layer.Layer00): Color

Returns the container color based on a provided layer.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int