fromTheme
deprecated@deprecated
Use matchTheme instead.
function fromTheme<Theme extends BaseTheme = BaseTheme, Section extends keyof Theme & string = keyof Theme & string>(
section?: "" | Section | KebabCase<Section>,
resolve?: keyof CSSProperties | ThemeRuleResolver<ThemeValue<Theme[Section]>, Theme>,
convert?: ThemeMatchConverter<ThemeValue<Theme[Section]>, Theme>,
): RuleResolver<Theme>;§
fromTheme<Theme extends BaseTheme = BaseTheme, Section extends keyof Theme & string = keyof Theme & string>(section?: "" | Section | KebabCase<Section>, resolve?: keyof CSSProperties | ThemeRuleResolver<ThemeValue<Theme[Section]>, Theme>, convert?: ThemeMatchConverter<ThemeValue<Theme[Section]>, Theme>): RuleResolver<Theme>
[src]§Type Parameters
§Parameters
§
resolve?: keyof CSSProperties | ThemeRuleResolver<ThemeValue<Theme[Section]>, Theme> optional
[src]§
convert?: ThemeMatchConverter<ThemeValue<Theme[Section]>, Theme> optional
[src]§Return Type
§
RuleResolver<Theme>
[src]