Skip to content

Leonardo Theme ​

What It Does ​

The Leonardo Theme node generates accessible color values based on Adobe's Leonardo color system. It takes Leonardo color configurations and produces a theme of colors that meet specified contrast requirements. The node calculates and outputs an array of colors that can be used to create design tokens.

Inputs ​

NameDescriptionTypeRequired
ColorsArray of Leonardo color configurationsArray of LeonardoColorYes
ContrastGlobal contrast modifierNumberYes
LightnessGlobal lightness modifierNumberYes
SaturationGlobal saturation modifierNumberYes
Background ColorLeonardo color configuration for the backgroundLeonardoColorYes

Outputs ​

NameDescriptionType
ColorsArray of calculated color valuesArray of Colors

How to Use It ​

  1. Drag the Leonardo Theme node into your graph.
  2. Connect an array of Leonardo Color node outputs to the "Colors" input.
  3. Connect a number to the "Contrast" input to adjust the global contrast.
  4. Connect a number to the "Lightness" input to adjust the global lightness.
  5. Connect a number to the "Saturation" input to adjust the global saturation.
  6. Connect a Leonardo Color node output to the "Background Color" input.
  7. The node outputs an array of calculated color values that can be further processed into design tokens.

Tips ​

  • The Background Color input is crucial as it determines the contrast base for all other colors.
  • Experiment with different contrast, lightness, and saturation values to fine-tune your color theme.
  • Connect the output to token creation nodes to integrate the colors into your design token system.
  • For best results, use a consistent approach to creating your input Leonardo colors.

See Also ​

  • Leonardo Color: For creating Leonardo color configurations to feed into this node.
  • Create Color Design Token: For creating standard color tokens from the output colors.
  • Create Design Token: For creating other types of design tokens.

Use Cases ​

  • Accessible Design Systems: Generate complete color themes that meet WCAG accessibility guidelines.
  • Adaptive Interfaces: Create color systems that adapt to different background colors while maintaining accessibility.
  • Brand Color Palettes: Develop expanded color palettes from core brand colors that ensure contrast and readability.
  • Dark/Light Themes: Generate matching themes for both dark and light modes with guaranteed accessibility.