Theme padding and radius
This commit is contained in:
@@ -7,6 +7,9 @@ public class Theme {
|
||||
public static Property<Integer> PRIMARY_FG = Property.color(0x00000000);
|
||||
public static Property<Integer> ACCENT = Property.color(0x00000000);
|
||||
public static Property<Integer> ACCENT_FG = Property.color(0x00000000);
|
||||
public static Property<Integer> BG_RADIUS = Property.integer(10);
|
||||
public static Property<Integer> WIDGET_RADIUS = Property.integer(10);
|
||||
public static Property<Integer> PADDING = Property.integer(15);
|
||||
|
||||
public static void init(ConfigManager parent) {
|
||||
ConfigManager config = new ConfigManager(parent, "UI Style");
|
||||
@@ -16,5 +19,7 @@ public class Theme {
|
||||
config.property("Primary Foreground", PRIMARY_FG);
|
||||
config.property("Accent", ACCENT);
|
||||
config.property("Accent Foreground", ACCENT_FG);
|
||||
config.property("Background Radius", BG_RADIUS);
|
||||
config.property("Widget Radius", WIDGET_RADIUS);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user