Skip to content

Neutral

Neutral is the default light palette. It contains the neutral.colors color-scheme plugin and has no Python module, renderer extension, service, or dependencies. Select Neutral in project.json and read colors through the manifest:

from manifest import color_schemes
colors = color_schemes['neutral.colors']
background = colors['background']
accent = colors['accent']

Neutral defines background, foreground, keyword, string, comment, number, and accent. Code and Chart select Neutral as a dependency.

To change the accent used by this example, add the following field to project.json and choose Save & Run.

"color_schemes": {"neutral.colors": {"accent": [80, 160, 240]}}

The colors object in project.json holds project-only names, available through from manifest import colors. Package palettes stay in their own namespaces.

Version 1.0.0 · Package API 1 · Neutral API reference