WinForms Theme Engine

Simple theme engine for windows forms applications


Project maintained by paradoxlost Hosted on GitHub Pages — Theme by mattgraham

Uses very simple CSS-style theme file to alter class properties. Property values must match parameters for a constructor of the property type. Colors come from the System.Drawing.KnownColors enum.

Install using nuget

Install-Package Paradoxlost.UX.WinForms 

Example:

@vals {
    myFont: Segoe UI, 9.0, Regular;
}

@modules {
	// Default is always System.Windows.Forms
	MyModule: some.assembly;
}

Form {
    Font: $myFont;
    BackColor: Blue;
}

MyCustomForm {
	$module: MyModule;
	BackColor: Green;
}