mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-22 15:42:22 +08:00
Merge pull request #112 from Tencent/fix/chart-font-color
fix: 修复图表文字颜色异常
This commit is contained in:
commit
d1953a6ab9
|
@ -45,7 +45,7 @@ export const useSettingStore = defineStore('setting', {
|
|||
|
||||
document.documentElement.setAttribute('theme-mode', isDarkMode ? 'dark' : '');
|
||||
|
||||
this.chartColor = isDarkMode ? DARK_CHART_COLORS : LIGHT_CHART_COLORS;
|
||||
this.chartColors = isDarkMode ? DARK_CHART_COLORS : LIGHT_CHART_COLORS;
|
||||
},
|
||||
changeBrandTheme(brandTheme: string) {
|
||||
document.documentElement.setAttribute('theme-color', brandTheme);
|
||||
|
|
Loading…
Reference in New Issue
Block a user