Skip to content

fix(web): DRGARE depth label unreadable (white-on-white)#16

Merged
beetlebugorg merged 1 commit into
mainfrom
bugfix/drgare-text-color
Jun 25, 2026
Merged

fix(web): DRGARE depth label unreadable (white-on-white)#16
beetlebugorg merged 1 commit into
mainfrom
bugfix/drgare-text-color

Conversation

@beetlebugorg

Copy link
Copy Markdown
Owner

The dredged-area depth label layer reads the areas source-layer, whose color_token is the polygon FILL colour. textColor() in day mode resolves the text colour from color_token, so the depth value was painted the same light shade as the dredged-area fill — invisible against it.

Paint it CHBLK, matching the S-101 catalogue DredgedArea rule (FontColor:CHBLK). The CHBLK token resolves per palette (light ink at dusk/night), so the value stays legible in every scheme. Client-only paint change; no re-bake required.

The dredged-area depth label layer reads the `areas` source-layer, whose
`color_token` is the polygon FILL colour. textColor() in day mode resolves
the text colour from `color_token`, so the depth value was painted the same
light shade as the dredged-area fill — invisible against it.

Paint it CHBLK, matching the S-101 catalogue DredgedArea rule
(FontColor:CHBLK). The CHBLK token resolves per palette (light ink at
dusk/night), so the value stays legible in every scheme.
Client-only paint change; no re-bake required.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@beetlebugorg beetlebugorg merged commit c5d1fca into main Jun 25, 2026
4 checks passed
@beetlebugorg beetlebugorg deleted the bugfix/drgare-text-color branch June 25, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant