Progress on dms, code cleanup

Progress on dms, code cleanup
This commit is contained in:
mgabdev
2020-12-02 23:22:51 -05:00
parent 20d4fc09af
commit 9a43c51085
103 changed files with 3656 additions and 859 deletions

View File

@@ -4,6 +4,7 @@ import { CX } from '../constants'
// Define colors for enumeration for Text component `color` prop
const COLORS = {
alt: 'alt',
primary: 'primary',
secondary: 'secondary',
tertiary: 'tertiary',
@@ -76,6 +77,7 @@ class Text extends React.PureComponent {
lineHeight15: isBadge,
px5: isBadge,
cAlt: color === COLORS.alt,
cPrimary: color === COLORS.primary,
cSecondary: color === COLORS.secondary,
cTertiary: color === COLORS.tertiary,