A theme for Feathers UI, based on the appearance of MinimalComps by Keith Peters.
- Feathers UI 1.0
Run the following command in a terminal to install feathersui-minimal-theme from GitHub.
haxelib git feathersui-minimal-theme https://github.com/feathersui/feathersui-minimal-theme.git
After installing the library above, add it to your OpenFL project.xml file:
<haxelib name="feathersui-minimal-theme" />
Before calling super()
in the constructor of your main class, pass a new MinimalTheme
instance to Theme.setTheme()
.
import com.feathersui.themes.minimal.MinimalTheme;
import feathers.controls.Application;
class Main extends Application {
public function new() {
Theme.setTheme(new MinimalTheme(), this);
super();
}
}