Move default yellow to var, add in list UI

This commit is contained in:
2026-03-13 14:56:12 +04:00
parent 990f3afa88
commit ff68b5addc
3 changed files with 11 additions and 2 deletions

View File

@@ -63,7 +63,10 @@ export default class MapComponent extends Component {
const bookmarkStyleFunction = (feature) => {
const originalPlace = feature.get('originalPlace');
let color = '#ffcc33'; // Default Yellow
let color =
getComputedStyle(document.documentElement)
.getPropertyValue('--default-list-color')
.trim() || '#000000'; // Fallback to black if variable is missing to make error obvious
if (
originalPlace &&