chore: Removes hard-coded colors from the plugins - iteration 1 (#19923)

* chore: Removes hard-coded colors from the plugins - iteration 1

* Fixes lint errors

* Fixes tests
This commit is contained in:
Michael S. Molina
2022-05-09 10:44:13 -03:00
committed by GitHub
parent d0b8b1e97d
commit b7cff8335b
25 changed files with 409 additions and 324 deletions

View File

@@ -105,7 +105,7 @@ class WordCloud extends React.PureComponent<
text: 'Text',
},
defaultEncoding: {
color: { value: 'black' },
color: { value: this.props.theme.colors.grayscale.dark2 },
fontFamily: { value: this.props.theme.typography.families.sansSerif },
fontSize: { value: 20 },
fontWeight: { value: 'bold' },