Skip to content

Colors

Color utility classes let you quickly set text and background colors using your design system tokens.

Use .ro-u-text-* classes to set text color.

<p class="ro-u-text-product">var(--ro-colors-accent)</p>
<p class="ro-u-text-success">var(--ro-colors-success)</p>
<p class="ro-u-text-warning">var(--ro-colors-warning)</p>
<p class="ro-u-text-danger">var(--ro-colors-danger)</p>
<p class="ro-u-text-white ro-u-bg-black">var(--ro-colors-white)</p>
<p class="ro-u-text-black ro-u-bg-white">var(--ro-colors-black)</p>
<p class="ro-u-text-favorite">var(--ro-colors-favorite)</p>
<p class="ro-u-text-primary">var(--ro-colors-text-primary)</p>
<p class="ro-u-text-secondary">var(--ro-colors-text-secondary)</p>
<p class="ro-u-text-inverted ro-u-bg-overlay-inverted">var(--ro-colors-text-inverted)</p>
<p class="ro-u-text-incoming">var(--ro-colors-business-incoming)</p>
<p class="ro-u-text-outgoing">var(--ro-colors-business-outgoing)</p>
<p class="ro-u-text-missed">var(--ro-colors-business-missed)</p>
<p class="ro-u-text-voicemail">var(--ro-colors-business-voicemail)</p>
<p class="ro-u-text-snooze">var(--ro-colors-business-snooze)</p>
<p class="ro-u-text-not-connected">var(--ro-colors-business-not-connected)</p>
<p class="ro-u-text-processed">var(--ro-colors-business-processed)</p>
<p class="ro-u-text-not-applicable">var(--ro-colors-business-not-applicable)</p>
<p class="ro-u-text-video-calls">var(--ro-colors-business-video-calls)</p>
<p class="ro-u-text-call-back">var(--ro-colors-business-call-back)</p>
Preview

ro-u-text-product

ro-u-text-success

ro-u-text-warning

ro-u-text-danger

ro-u-text-white

ro-u-text-black

ro-u-text-favorite

ro-u-text-primary

ro-u-text-secondary

ro-u-text-inverted

ro-u-text-incoming

ro-u-text-outgoing

ro-u-text-missed

ro-u-text-voicemail

ro-u-text-snooze

ro-u-text-not-connected

ro-u-text-processed

ro-u-text-not-applicable

ro-u-text-video-calls

ro-u-text-call-back

Use .ro-u-bg-* classes to set background color.

<p class="ro-u-bg-transparent">var(transparent)</p>
<p class="ro-u-bg-product">var(--ro-colors-accent)</p>
<p class="ro-u-bg-product-light">var(--ro-colors-accent-light)</p>
<p class="ro-u-bg-success">var(--ro-colors-success)</p>
<p class="ro-u-bg-success-light">var(--ro-colors-success-light)</p>
<p class="ro-u-bg-warning">var(--ro-colors-warning)</p>
<p class="ro-u-bg-warning-light">var(--ro-colors-warning-light)</p>
<p class="ro-u-bg-danger">var(--ro-colors-danger)</p>
<p class="ro-u-bg-danger-light">var(--ro-colors-danger-light)</p>
<p class="ro-u-bg-white ro-u-text-black">var(--ro-colors-white)</p>
<p class="ro-u-bg-black ro-u-text-white">var(--ro-colors-black)</p>
<p class="ro-u-bg-overlay">var(--ro-colors-bg-overlay)</p>
<p class="ro-u-bg-overlay-inverted ro-u-text-inverted">var(--ro-colors-bg-overlay-inverted)</p>
<p class="ro-u-bg-favorite">var(--ro-colors-favorite)</p>
Preview

ro-u-bg-transparent

ro-u-bg-product

ro-u-bg-product-light

ro-u-bg-success

ro-u-bg-success-light

ro-u-bg-warning

ro-u-bg-warning-light

ro-u-bg-danger

ro-u-bg-danger-light

ro-u-bg-white

ro-u-bg-black

ro-u-bg-overlay

ro-u-bg-overlay-inverted

ro-u-bg-favorite

ClassTokenDescription
.ro-u-text-product--ro-colors-accentProduct accent text
.ro-u-text-success--ro-colors-successSuccess text
.ro-u-text-warning--ro-colors-warningWarning text
.ro-u-text-danger--ro-colors-dangerDanger text
.ro-u-text-white--ro-colors-whiteWhite text
.ro-u-text-black--ro-colors-blackBlack text
.ro-u-text-favorite--ro-colors-favoriteFavorite text
.ro-u-text-primary--ro-colors-text-primaryPrimary text
.ro-u-text-secondary--ro-colors-text-secondarySecondary text
.ro-u-text-inverted--ro-colors-text-invertedInverted text
.ro-u-text-incoming--ro-colors-business-incomingBusiness incoming text
.ro-u-text-outgoing--ro-colors-business-outgoingBusiness outgoing text
.ro-u-text-missed--ro-colors-business-missedBusiness missed text
.ro-u-text-voicemail--ro-colors-business-voicemailBusiness voicemail text
.ro-u-text-snooze--ro-colors-business-snoozeBusiness snooze text
.ro-u-text-not-connected--ro-colors-business-not-connectedBusiness not connected text
.ro-u-text-processed--ro-colors-business-processedBusiness processed text
.ro-u-text-not-applicable--ro-colors-business-not-applicableBusiness not applicable text
.ro-u-text-video-calls--ro-colors-business-video-callsBusiness video calls text
.ro-u-text-call-back--ro-colors-business-call-backBusiness call back text
ClassTokenDescription
.ro-u-bg-transparenttransparentTransparent background
.ro-u-bg-product--ro-colors-accentProduct accent background
.ro-u-bg-product-light--ro-colors-accent-lightProduct accent light background
.ro-u-bg-success--ro-colors-successSuccess background
.ro-u-bg-success-light--ro-colors-success-lightSuccess light background
.ro-u-bg-warning--ro-colors-warningWarning background
.ro-u-bg-warning-light--ro-colors-warning-lightWarning light background
.ro-u-bg-danger--ro-colors-dangerDanger background
.ro-u-bg-danger-light--ro-colors-danger-lightDanger light background
.ro-u-bg-white--ro-colors-whiteWhite background
.ro-u-bg-black--ro-colors-blackBlack background
.ro-u-bg-overlay--ro-colors-bg-overlayOverlay background
.ro-u-bg-overlay-inverted--ro-colors-bg-overlay-invertedInverted background (previously .ro-u-bg-inverted)
.ro-u-bg-favorite--ro-colors-favoriteFavorite background