pub const LISTING_LANGUAGE_ELEMENTS: &[(&str, &str)];Expand description
The per-language elements, as (element name, palette key).
Names are dotted and inherit through [ElementName::parent], so a
theme retunes listing.file to move every language that does not
override, or pins one language on its own.
Defaults are palette keys, not literals, and every key here is
one [lattice_theme::default_palette] actually defines. The
devicons table in lattice_core::ui::icons hardcodes RGB per
extension ("rs" => 0xDEA584); mapping each onto the nearest role
in the active palette is what makes these respond to a colourscheme
at all, which is the entire point of rooting them here. A theme that
wants a literal back sets it explicitly on the element.
An unknown palette key resolves to the inherited parent rather than failing loudly, so a typo here is invisible except as “every language looks the same” — which is what the family/one-language test below is really guarding.