diff --git a/src/meshcore_hub/web/static/css/app.css b/src/meshcore_hub/web/static/css/app.css index 90d6991..c0b3bcd 100644 --- a/src/meshcore_hub/web/static/css/app.css +++ b/src/meshcore_hub/web/static/css/app.css @@ -29,6 +29,12 @@ --color-members: oklch(0.72 0.17 50); /* orange */ --color-neutral: oklch(0.3 0.01 250); /* subtle dark grey */ --color-radio: oklch(0.75 0.15 210); /* cyan — radio tile icons */ + + /* Map marker colors — theme-independent, chosen for contrast on map tiles */ + --color-marker-infra: #3b82f6; + --color-marker-infra-border: #1e40af; + --color-marker-public: #22c55e; + --color-marker-public-border: #15803d; } /* Light mode: darker section colors for contrast on light backgrounds */ diff --git a/src/meshcore_hub/web/static/js/spa/components.js b/src/meshcore_hub/web/static/js/spa/components.js index ce342b9..b2eac88 100644 --- a/src/meshcore_hub/web/static/js/spa/components.js +++ b/src/meshcore_hub/web/static/js/spa/components.js @@ -74,7 +74,7 @@ export function mobileSortSelect({ currentSort, currentOrder, navigate, basePath return html`
${t('common.sort_by')} - @@ -402,7 +402,7 @@ export function copyToClipboard(e, text) { export function renderNodeDisplay({ name, description, publicKey, advType, size = 'base' }) { const displayName = name || null; const emoji = getNodeEmoji(name, advType); - const emojiSize = size === 'sm' ? 'text-lg' : 'text-lg'; + const emojiSize = 'text-lg'; const nameSize = size === 'sm' ? 'text-sm' : 'text-base'; const descSize = size === 'sm' ? 'text-xs' : 'text-xs'; @@ -718,7 +718,7 @@ export function renderAuthSection(container, config) {
${pictureHtml}
-