@dialpad/dialtone-css
Version:
Dialpad's design system
40 lines (36 loc) • 1.36 kB
text/less
//
// DIALTONE
// UTILITIES: COLORS
//
// These are all the color utility classes for Dialpad's design system Dialtone.
// For further information about these classes, please visit their respective
// documentation pages at https://dialtone.dialpad.com
//
// TABLE OF CONTENTS
// • TEXT COLORS
// • BACKGROUND/SURFACE COLORS
// • BORDER COLORS
//
// TODO: Remove `*-transparent` classes in favor of `*-neutral-transparent` classes.
// Both are existing and that's not ok, a migration will be needed on product.
//
// $$ TEXT COLORS
// ----------------------------------------------------------------------------
.d-fc-current { color: currentColor ; }
.d-fc-transparent { color: transparent ; }
.d-fc-unset { color: unset ; }
// $$ BACKGROUND/SURFACE COLORS
// ----------------------------------------------------------------------------
.d-bgc-transparent {
background-color: transparent ;
background-image: none ;
}
.d-bgc-unset {
background-color: unset ;
background-image: unset ;
}
// $$ BORDER COLORS
// ----------------------------------------------------------------------------
.d-bc-transparent { border-color: transparent ; }
.d-bc-current { border-color: currentColor ; }
.d-bc-unset { border-color: unset ; }