Theme.GetColor Method

Namespace:
Weavy.Core.Models
Assembly:
Weavy.Core.dll

GetColor(ColorName, Shade, Color?)

Get a theme color in the specified shade.

public Color GetColor(ColorName name, Shade shade = Shade.FiveHundred, Color? baseColor = default(Color? ))

Parameters

name
ColorName

Name of color to get.

shade
Shade

Shade of the color to get.

baseColor
System.Drawing.Color?

Base color used to calculate color palette, null to use the current theme color.

Returns

System.Drawing.Color