Skip to content

Variable: neon ​

ts
const neon: Template;

The glow showcase: saturated neon hues on a near-black indigo background, a faint cyan grid, a magenta zero line, and a luminous title halo (title.font.shadow). Markers and bars get a thin white-hot rim and lines are 2.5 px, which reads as a glowing core.

Approximation: the plan's 3D glow is a bloom post-processing pass (E8.12), which does not exist yet; in 2D the glow is approximated by the rims, the text halo and the palette's luminance against the dark background. When bloom lands, this template turns it on. Colorscales are interpolated in Oklab (colorscaleInterpolation), which keeps the neon ramps bright through their midpoints.

Released under the MIT License.