Skip to content

Commit

Permalink
Remove charts theme code (opensearch-project#554)
Browse files Browse the repository at this point in the history
* Remove theme folder for charts

Signed-off-by: Tarun Samanta <tarunsamanta77@gmail.com>
  • Loading branch information
SamantaTarun committed Mar 31, 2023
1 parent 10389e9 commit 2086980
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 248 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import {
DataGenerator,
} from '@elastic/charts';

import { OUI_CHARTS_THEME_LIGHT } from '../../../../src/themes/charts/themes';

import {
getDefaultOuiMarkdownParsingPlugins,
getDefaultOuiMarkdownProcessingPlugins,
Expand Down Expand Up @@ -248,7 +246,7 @@ const ChartMarkdownRenderer = ({ palette, categories }) => {
return (
<Chart size={{ height: 320 }}>
<Settings
theme={[customColors, OUI_CHARTS_THEME_LIGHT]}
theme={[customColors]}
showLegend={false}
showLegendDisplayValue={false}
/>
Expand Down
16 changes: 0 additions & 16 deletions src/themes/charts/theme.scss

This file was deleted.

229 changes: 0 additions & 229 deletions src/themes/charts/themes.ts

This file was deleted.

0 comments on commit 2086980

Please sign in to comment.