Inherit text-halo color from underlying fill layers
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Text halos are useful for improving legibility by applying an area of solid color around the text. However, they can be distracting when you can't be certain of what's in the background, and when there is a mismatch between background and halo colors.

_Ideally, the left label would have a blue halo to match the water. Labels over the park (right) would have a green halo to match that park.The center label with land-colored halo is ideal_.
How feasible is it, to add an option to inherit `text-halo-color` from the `fill` and `background` layers immediately below it, for each pixel of the halo?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files, tests, or entry points are named. Start by locating the text-halo rendering path and how fill and background layers are represented, then determine whether per-pixel inheritance is feasible. Done would mean halos match the underlying layer colors, including the label examples described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100