sk Skill · maxrave-dev
semantic-color-tokens-compositionlocal
Hold the colours that have no Material role — a liked-state pink, an active-line highlight, shimmer tones, overlays that sit on artwork — in an @Immutable token class provided through staticCompositionLocalOf, with the bytecode-level reason static is the right choice for theme values and a rule for what belongs in the token class versus in the colour scheme. Use when hex literals are spreading through composables,…
Open on skills.sh ↗read 2026-09-20
- installs 8w
- 0
- 30-day movement
- starts with the next reading
- Related entries
- 1
- Connections
- 0
kotlinbash
- Host repository
- maxrave-dev/kotlin-footguns
- Host stars
- 578