-
Notifications
You must be signed in to change notification settings - Fork 0
Defining a Theme schema
anarchie347 edited this page May 15, 2023
·
2 revisions
Themes comes with a basic schema that contains
PrimaryColor
,
SecondaryColor
,
FormBackColor
,
FormBackImage
If you want your project to have a more complex theme that uses more colors and images, you can create a new class that inherits from Anarchie.Themes.Theme
.
The properties should have {get; init;}
as their accessors, and should have a default value e.g. null
.
Example
public Color[] PlayerColors {get; init;} = Array.Empty<Color>();