Map cluster and calendar drag highlight color tweak (#15680)

* update map cluster color

* add fc-highlight-color for drag highlight

* don't use cssVar due to dark mode
This commit is contained in:
Azri Kahar
2022-10-15 11:16:08 +08:00
committed by GitHub
parent 7fc4613379
commit 84870c90ef
2 changed files with 2 additions and 1 deletions

View File

@@ -96,7 +96,7 @@ export function getMapStyle() {
filter: ['has', 'point_count'],
paint: {
'circle-radius': ['step', ['get', 'point_count'], 20, 100, 30, 750, 40],
'circle-color': ['step', ['get', 'point_count'], '#7fe3ca', 100, '#fde2a7', 750, '#f0a7b3'],
'circle-color': ['step', ['get', 'point_count'], '#b3a2ff', 100, '#fde2a7', 750, '#f1a8b4'],
'circle-opacity': 0.7,
},
},

View File

@@ -10,6 +10,7 @@
--fc-button-hover-border-color: transparent;
--fc-button-text-color: var(--foreground-subdued);
--fc-border-color: var(--border-normal);
--fc-highlight-color: var(--primary-10);
--fc-neutral-bg-color: var(--background-normal);
--fc-list-event-hover-bg-color: var(--background-subdued);