Function createSelectByColorScheme
- createSelectByColorScheme(colorScheme): (<V>(options) => V)
Returns (<V>(options) => V)
Function
- <V>(options): V
Parameters
options: {
dark: undefined | V;
default: undefined | V;
light: undefined | V;
}
dark: undefined | V
default: undefined | V
light: undefined | V
Returns V
select method factory Select method returns the most fitting value for the color scheme you are currently running on.