Skip to content

@phun-ky/moebius / MoebiusPaletteDefaultOptionsType

Type Alias: MoebiusPaletteDefaultOptionsType

ts
type MoebiusPaletteDefaultOptionsType = {
  bezier: boolean;
  colorScaleMode: MoebiusInterpolationMode;
  correctLightness: boolean;
  divergentColor?: MoebiusColorValueHexType;
  diverging: boolean;
  noDuplicates: boolean;
  numberOfColors?: number;
  randomOffset: boolean;
  reverseDirection: boolean;
};

Defined in: types/index.ts:132

Represents default options for generating a color palette.

Properties

bezier

ts
bezier: boolean;

Defined in: types/index.ts:135


colorScaleMode

ts
colorScaleMode: MoebiusInterpolationMode;

Defined in: types/index.ts:139


correctLightness

ts
correctLightness: boolean;

Defined in: types/index.ts:137


divergentColor?

ts
optional divergentColor: MoebiusColorValueHexType;

Defined in: types/index.ts:133


diverging

ts
diverging: boolean;

Defined in: types/index.ts:134


noDuplicates

ts
noDuplicates: boolean;

Defined in: types/index.ts:138


numberOfColors?

ts
optional numberOfColors: number;

Defined in: types/index.ts:141


randomOffset

ts
randomOffset: boolean;

Defined in: types/index.ts:136


reverseDirection

ts
reverseDirection: boolean;

Defined in: types/index.ts:140