From 2da9a6a38f50066190794f4c3018ee47e8c2c195 Mon Sep 17 00:00:00 2001 From: omsaggau Date: Tue, 13 Feb 2024 12:22:59 +0100 Subject: [PATCH] MAke highmap use open sans font --- src/main/resources/site/parts/highmap/Highmap.jsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/resources/site/parts/highmap/Highmap.jsx b/src/main/resources/site/parts/highmap/Highmap.jsx index 4da2127a1..68962b00c 100644 --- a/src/main/resources/site/parts/highmap/Highmap.jsx +++ b/src/main/resources/site/parts/highmap/Highmap.jsx @@ -44,6 +44,12 @@ function Highmap(props) { const mapOptions = { chart: { height: desktop && props.heightAspectRatio && `${props.heightAspectRatio}%`, + style: { + color: '#21383a', + fontSize: '14px', + fontWeight: 'normal', + fontFamily: '"Open Sans Regular", "Arial", "DejaVu Sans", sans-serif', + } }, accessibility: { enabled: true, @@ -109,6 +115,9 @@ function Highmap(props) { exporting: { buttons: { contextButton: { + symbol: 'menu', + symbolStroke: '#00824D', // ssb-green-4 + text: props.phrases['highcharts.download'], menuItems: [ 'printChart', 'separator', @@ -179,6 +188,7 @@ Highmap.propTypes = { description: PropTypes.string, mapFile: PropTypes.string, tableData: PropTypes.array, + style: PropTypes.object, thresholdValues: PropTypes.array, hideTitle: PropTypes.boolean, colorPalette: PropTypes.string,