Notification

figma:ready
react:ready
scss:ready
freemarker:ready
vue:ready
webComponent:ready

Anatomy

Notifications--Specs.png

Properties

Layout / size

HeightPaddingsFont-sizeradius
Depends on textleft: 64px(4mu) others: 24px(1.5mu)size.font.04 (14px) title: size.font.06 (16px)radius.m (4px)

Icon / size

Width and height
- Main icon 32px (2mu)
- Closable icon 24px (1.5mu)

Types

Available types:

  • information (default)
  • success
  • warning
  • danger

Notification type colors for each type:

typePropertyTokenHex Value
Informationbackground-colorcolor.notification.information.background#ecfcfd
Informationborder-colorcolor.notification.information.border#25a8d0
Informationcolorcolor.notification.font#000000
Successbackground-colorcolor.notification.success.background#eaf3e2
Successborder-colorcolor.notification.success.border#78be20
Successcolorcolor.notification.font#000000
Warningbackground-colorcolor.notification.warning.background#fff5eb
Warningborder-colorcolor.notification.warning.border#fc961e
Warningcolorcolor.notification.font#000000
Dangerbackground-colorcolor.notification.danger.background#feedee
Dangerborder-colorcolor.notification.danger.border#df382b
Dangercolorcolor.notification.font#000000