pub fn priority(theme: &Theme, layer: Layer) -> usize
Maps a token layer onto GPUI’s deferred paint priority.