Skip to content

Commit

Permalink
[Discover]: Make colour of discover histogram match theme (opensearch…
Browse files Browse the repository at this point in the history
…-project#9405)

* [Discover]: Make color of discover histogram match theme

Signed-off-by: Joey Liu <[email protected]>

* Changeset file for PR opensearch-project#9405 created/updated

---------

Signed-off-by: Joey Liu <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and sumukhswamy committed Feb 18, 2025
1 parent 57e3852 commit 08a7217
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/9405.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
chore:
- Make colour of discover histogram match theme ([#9405](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/9405))
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ export class DiscoverHistogram extends Component<DiscoverHistogramProps, Discove
chartsTheme.axes!.axisTitle = {
fill: euiThemeVars.euiTextColor,
};
chartsTheme.colors = chartsTheme.colors ?? {};
chartsTheme.colors.vizColors = [euiThemeVars.euiColorVis1_behindText];

return (
<Chart size="100%">
Expand Down

0 comments on commit 08a7217

Please sign in to comment.