diff --git a/packages/vendure-plugin-metrics/CHANGELOG.md b/packages/vendure-plugin-metrics/CHANGELOG.md index 89f5a289..4f69848b 100644 --- a/packages/vendure-plugin-metrics/CHANGELOG.md +++ b/packages/vendure-plugin-metrics/CHANGELOG.md @@ -1,3 +1,7 @@ +# 1.6.1 (2024-12-18) + +- Fixed chart text color to display correctly in dark mode. + # 1.6.0 (2024-11-19) - Allow showing metrics of past X months instead of always past 12 months. diff --git a/packages/vendure-plugin-metrics/package.json b/packages/vendure-plugin-metrics/package.json index 1946f47d..66b4e49f 100644 --- a/packages/vendure-plugin-metrics/package.json +++ b/packages/vendure-plugin-metrics/package.json @@ -1,6 +1,6 @@ { "name": "@pinelab/vendure-plugin-metrics", - "version": "1.6.0", + "version": "1.6.1", "description": "Vendure plugin measuring and visualizing e-commerce metrics", "author": "Martijn van de Brug ", "homepage": "https://pinelab-plugins.com/", diff --git a/packages/vendure-plugin-metrics/src/ui/chartist/chartist.component.scss b/packages/vendure-plugin-metrics/src/ui/chartist/chartist.component.scss index bcce9b55..fa09eaa8 100644 --- a/packages/vendure-plugin-metrics/src/ui/chartist/chartist.component.scss +++ b/packages/vendure-plugin-metrics/src/ui/chartist/chartist.component.scss @@ -31,6 +31,10 @@ transform-origin: 100% 0; transform: translate(-100%) rotate(-45deg); white-space: nowrap; + color: var(--clr-label-info-font-color); + } + .ct-label.ct-vertical.ct-start { + color: var(--clr-label-info-font-color); } .ct-series-a .ct-slice-pie, .ct-series-a .ct-area {