Implemenented theme

This commit is contained in:
2026-02-21 19:29:36 +01:00
parent a7c5f0d3df
commit 8d8cbc8b28
@@ -1,15 +1,30 @@
package org.saturnclient.saturnclient.config;
public class Theme {
public static Property<Integer> BACKGROUND = Property.color(0x00000000);
public static Property<Integer> FOREGROUND = Property.color(0x00000000);
public static Property<Integer> PRIMARY = Property.color(0x00000000);
public static Property<Integer> PRIMARY_FG = Property.color(0x00000000);
public static Property<Integer> ACCENT = Property.color(0xFF845eee);
public static Property<Integer> ACCENT_FG = Property.color(0x00000000);
public static Property<Integer> BG_RADIUS = Property.integer(10);
// Main UI background (slightly warm dark to match Saturn tone)
public static Property<Integer> BACKGROUND = Property.color(0xFF12100D);
// Default text color
public static Property<Integer> FOREGROUND = Property.color(0xFFF2E6D2);
// Widget default background (normal state)
public static Property<Integer> PRIMARY = Property.color(0xFF1C1915);
// Widget text color
public static Property<Integer> PRIMARY_FG = Property.color(0xFFEAD9B8);
// Saturn brand color (hovered / enabled / selected)
public static Property<Integer> ACCENT = Property.color(0xFFE2BF7D);
// Text/icons shown on accent background
public static Property<Integer> ACCENT_FG = Property.color(0xFF1A140A);
// UI metrics
public static Property<Integer> BG_RADIUS = Property.integer(12);
public static Property<Integer> WIDGET_RADIUS = Property.integer(10);
public static Property<Integer> PADDING = Property.integer(15);
public static Property<Integer> PADDING = Property.integer(14);
// Font (keeping your current system)
public static Property<Integer> FONT = Property.font(1);
public static void init(ConfigManager parent) {