resolveThemeRefs function

LayoutDocument resolveThemeRefs(
  1. LayoutDocument doc,
  2. ThemeTokens theme
)

doc resolved against theme (ThemeRefs.document); doc itself when it names nothing of it.

Implementation

LayoutDocument resolveThemeRefs(LayoutDocument doc, ThemeTokens theme) => ThemeRefs(theme).document(doc);