Button

Anatomy

Key

Description

Value?

Token?

1

Shape: Border Radius

4px

token unavailable

2

Shape: Background Color

#312A64

Tokens Available (see Figma)

3

Shape: Padding (block, inline)

6px, 16px

token unavailable

4a

Text: Font

Roboto

token unavailable

4b

Text: Size/Line Height

14px/14px

token unavailable

4c

Text: Color

#FBFBFE

Tokens Available (see Figma)

5a

Icon: Glyph

Collection

token unavailable

5b

Icon: Size

24px

token unavailable

5c

Icon: Color

#FBFBFE

Tokens Available (see Figma)

Usage

Types

Acorn offers six button types for Android.

See Themes for information on differences across themes.
See
States for information on interactive states.

Type = Primary

Type = Primary

Type = Secondary

Type = Secondary

Type = Tertiary

Type = Tertiary

Type = Destructive

Type = Destructive

Type = FAB

Type = FAB

Type = Text

Type = Text

Themes

Acorn offers two button themes for Android.

Primary, Theme = Light

Primary, Theme = Light

Primary, Theme = Dark

Primary, Theme = Dark

Secondary, Theme = Light

Secondary, Theme = Light

Secondary, Theme = Dark

Secondary, Theme = Dark

Tertiary, Theme = Light

Tertiary, Theme = Light

Tertiary, Theme = Dark

Tertiary, Theme = Dark

Destructive, Theme = Light

Destructive, Theme = Light

Destructive, Theme = Dark

Destructive, Theme = Dark

FAB, Theme = Light

FAB, Theme = Light

FAB, Theme = Dark

FAB, Theme = Dark

Text, Theme = Light

Text, Theme = Light

Text, Theme = Dark

Text, Theme = Dark

States

States this component may appear in. Each state is distinct across Types.

Label Only

Primary, State = Label Only

Primary, State = Label Only

Primary, State = Label Only

Primary, State = Label Only

Secondary, State = Label Only

Secondary, State = Label Only

Secondary, State = Label Only

Secondary, State = Label Only

Tertiary, State = Label Only

Tertiary, State = Label Only

Tertiary, State = Label Only

Tertiary, State = Label Only

Destructive, State = Label Only

Destructive, State = Label Only

Destructive, State = Label Only

Destructive, State = Label Only

Label + Icon

Primary, State = Label + Icon

Primary, State = Label + Icon

Primary, State = Label + Icon

Primary, State = Label + Icon

Secondary, State = Label + Icon

Secondary, State = Label + Icon

Secondary, State = Label + Icon

Secondary, State = Label + Icon

Tertiary, State = Label + Icon

Tertiary, State = Label + Icon

Tertiary, State = Label + Icon

Tertiary, State = Label + Icon

Destructive, State = Label + Icon

Destructive, State = Label + Icon

Destructive, State = Label + Icon

Destructive, State = Label + Icon

FAB, State = Label + Icon

FAB, State = Label + Icon

FAB, State = Label + Icon

FAB, State = Label + Icon

Icon Only

This state is only available on the FAB button type.

FAB, State = Icon Only

FAB, State = Icon Only

FAB, State = Icon Only

FAB, State = Icon Only

Default

Text, State = Default

Text, State = Default

Text, State = Default

Text, State = Default

Disabled

Disabled visual styles should only be applied when the button is disabled.

Text, State = Disabled

Text, State = Disabled

Text, State = Disabled

Text, State = Disabled

Focus

Android implementations inherit the built-in focus states from the operating system, and there is no Acorn specific visual override for this.

The CSS pseudo class :focus does not affect visual output in Android.

Sizes

Behavior and interaction

Android specific behavior/interaction guidance coming soon.

In the meantime please reference Material Design for general guidance when designing for Android.

Writing guidelines

Localization