feat: chart show

This commit is contained in:
Alisa | Side.one 2023-06-12 15:15:48 +08:00
parent eff43c87b1
commit d960db4840
2 changed files with 10 additions and 10 deletions

View File

@ -10,7 +10,7 @@ const baseStore = useBaseStore();
const expenseRationChartConfig = computed(() => {
const theme = baseStore.theme;
getDonutChartConfig(theme, props?.labels);
return getDonutChartConfig(theme, props?.labels);
});
</script>

View File

@ -166,7 +166,7 @@ const themeColors = (theme: string) => {
};
};
// 👉 Colors variables
const colorVariables = (theme: string) => {
export const colorVariables = (theme: string) => {
if (theme === 'light') {
return {
themeSecondaryTextColor: 'rgba(76,78,100,0.6)',