Theme names from ix are not compatible with ix-echart theme names #1106
Labels
type: enhancement
New feature or request
Workflow: Issue created
JIRA issue is created and will be analyzed
Prerequisites
What happened?
themeSwitcher.getCurrentTheme() method returns ix themes formatted like this. "theme-brand-dark"
but ix-chart names are "brand-dark" , "brand-light" etc. OFC I can use string replace method like below but I cant always count on it in future.
themeSwitcher.getCurrentTheme().replace("theme-","")
Therefore the names of the themes of ix and echarts should be same.
What type of frontend frameware are you seeing the problem on?
React
Which version of iX do you use?
v.2.0.4
Code to produce this issue.
themeSwitcher.getCurrentTheme()
The text was updated successfully, but these errors were encountered: