-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Removes hard-coded colors from the plugins - iteration 2 #20006
chore: Removes hard-coded colors from the plugins - iteration 2 #20006
Conversation
@@ -46,7 +46,7 @@ export const lineEncoderFactory = createEncoderFactory<LineEncodingConfig>({ | |||
x: { field: 'x', type: 'quantitative' }, | |||
y: { field: 'y', type: 'quantitative' }, | |||
fill: { value: false, legend: false }, | |||
stroke: { value: '#222' }, | |||
stroke: { value: '#222' }, // eslint-disable-line theme-colors/no-literal-colors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I disabled the rule here because it seems this Line
chart is deprecated. Can you confirm @villebro @zhaoyongjie?
Codecov Report
@@ Coverage Diff @@
## master #20006 +/- ##
=======================================
Coverage 66.28% 66.29%
=======================================
Files 1712 1712
Lines 63968 63971 +3
Branches 6731 6731
=======================================
+ Hits 42404 42407 +3
Misses 19853 19853
Partials 1711 1711
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…he#20006) * chore: Removes hard-coded colors from the plugins - iteration 2 * Fixes lint errors
SUMMARY
Replaces hard-coded colors with colors from the theme.
TESTING INSTRUCTIONS
Open the plugins' storybook
Check the changed plugins
ADDITIONAL INFORMATION