shift
abstract fun shift(backgroundShiftColor: Color, backgroundShiftFactor: Float, foregroundShiftColor: Color, foregroundShiftFactor: Float): AuroraColorScheme
Content copied to clipboard
Creates a shift version of this scheme.
Return
Shift version of this scheme.
Parameters
background Shift Color
Shift color for background colors. Should have full opacity.
background Shift Factor
Value in 0.0...1.0 range. Larger values shift more towards the specified color.
foreground Shift Color
Shift color for foreground colors. Should have full opacity.
foreground Shift Factor
Value in 0.0...1.0 range. Larger values shift more towards the specified color.