Documentation

colors()

Sets color overrides, merged with existing colors.

colors(overrides: Partial<Record<UIColor.ColorName, UIColor | string>>): this;

Notes

Parameters

Return value

The theme itself, for method chaining.

Examples

theme.colors({
  accent: "#FF5722",
  background: "#FFFFFF",
  text: "#333333",
});

Related