Type MethodMethodextract
extractVariables(from:colorScheme:)
Extracts all CSS variable definitions from theme settings.
static func extractVariables(
from settings: ThemeSettings .Root,
colorScheme: ColorScheme
) -> [String : String]Parameters
settingsThe theme settings.
colorSchemeThe color scheme to extract variables for.
Return Value
A dictionary mapping variable names to values.