diff --git a/src/assets/images/icon-circle.png b/src/assets/images/icon-circle.png deleted file mode 100644 index cfd50ab680..0000000000 Binary files a/src/assets/images/icon-circle.png and /dev/null differ diff --git a/src/assets/images/icon-circle.svg b/src/assets/images/icon-circle.svg new file mode 100644 index 0000000000..303108a017 --- /dev/null +++ b/src/assets/images/icon-circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/shared/components/DateRangePicker/index.jsx b/src/shared/components/DateRangePicker/index.jsx index 0a58006d46..f49ea5d300 100644 --- a/src/shared/components/DateRangePicker/index.jsx +++ b/src/shared/components/DateRangePicker/index.jsx @@ -246,11 +246,13 @@ function DateRangePicker(props) { setPreview({ startDate: date, endDate: range.endDate || date, + color: '#137d60', }); } else if (isEndDateFocused && date) { setPreview({ startDate: range.startDate || date, endDate: date, + color: '#137d60', }); } @@ -368,13 +370,13 @@ function DateRangePicker(props) { { ...range, key: 'selection', - color: '#0B71E6', + color: '#137d60', }, { startDate: activeDate, endDate: activeDate, key: 'active', - color: '#59A7FF', + color: '#137d60', }, ]; } @@ -382,7 +384,7 @@ function DateRangePicker(props) { { ...range, key: 'selection', - color: '#0A81FF', + color: '#137d60', }, ]; }; @@ -453,6 +455,8 @@ function DateRangePicker(props) { shownDate={getShownDate()} preview={preview} onPreviewChange={onPreviewChange} + rangeColors={'#137d60'} + color='#137d60' />