matchTheme
function matchTheme<Theme extends BaseTheme = BaseTheme, Section extends keyof Theme & string = keyof Theme & string>(
pattern: MaybeArray<string | RegExp>,
section?: "" | Section | KebabCase<Section>,
resolve?: keyof CSSProperties | ThemeRuleResolver<ThemeValue<Theme[Section]>, Theme>,
convert?: ThemeMatchConverter<ThemeValue<Theme[Section]>, Theme>,
): Rule<Theme>;§
matchTheme<Theme extends BaseTheme = BaseTheme, Section extends keyof Theme & string = keyof Theme & string>(pattern: MaybeArray<string | RegExp>, section?: "" | Section | KebabCase<Section>, resolve?: keyof CSSProperties | ThemeRuleResolver<ThemeValue<Theme[Section]>, Theme>, convert?: ThemeMatchConverter<ThemeValue<Theme[Section]>, Theme>): Rule<Theme>
[src]§Type Parameters
§Parameters
§
pattern: MaybeArray<string | RegExp>
[src]§
resolve?: keyof CSSProperties | ThemeRuleResolver<ThemeValue<Theme[Section]>, Theme> optional
[src]§
convert?: ThemeMatchConverter<ThemeValue<Theme[Section]>, Theme> optional
[src]