Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

VisualStoryDesignTokenExtensions

Namespace ChartForgeX.Themes
Assembly ChartForgeX.Stories
Modifiers static

Applies shared core design tokens to Stories-owned scene presentation.

Inheritance

  • Object
  • VisualStoryDesignTokenExtensions

Methods

public static VisualStoryTheme ApplyTo(VisualDesignTokens tokens, VisualStoryTheme theme) #
Returns: VisualStoryTheme

Maps shared surfaces, typography and text roles onto an existing story theme. Success uses the status ink for text; syntax uses the data palette, falling back to primary text when a palette color has less than 4.5:1 contrast on the panel. Apply caller-specific overrides after this mapping.

Parameters

tokens ChartForgeX.Themes.VisualDesignTokens requiredposition: 0
theme ChartForgeX.Stories.VisualStoryTheme requiredposition: 1