mirror of
https://github.com/Miasmusa/Shadow.git
synced 2024-11-14 19:04:54 -05:00
me when classic theme
This commit is contained in:
parent
19a78f3b07
commit
6dbea569f0
4 changed files with 53 additions and 3 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
package net.shadow.client.feature.gui.clickgui.theme;
|
||||
|
||||
import net.shadow.client.feature.gui.clickgui.theme.impl.Classic;
|
||||
import net.shadow.client.feature.gui.clickgui.theme.impl.Coffee;
|
||||
import net.shadow.client.feature.gui.clickgui.theme.impl.Custom;
|
||||
import net.shadow.client.feature.gui.clickgui.theme.impl.Shadow;
|
||||
|
@ -14,12 +15,13 @@ public class ThemeManager {
|
|||
static final Theme custom = new Custom();
|
||||
static final Theme shadow = new Shadow();
|
||||
static final Theme bestThemeEver = new Coffee();
|
||||
|
||||
static final Theme classic = new Classic();
|
||||
public static Theme getMainTheme() {
|
||||
return switch (t.modeSetting.getValue()) {
|
||||
case Coffee -> bestThemeEver;
|
||||
case Custom -> custom;
|
||||
case Shadow -> shadow;
|
||||
case Classic -> classic;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
package net.shadow.client.feature.gui.clickgui.theme.impl;
|
||||
|
||||
import net.shadow.client.feature.gui.clickgui.theme.Theme;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
public class Classic implements Theme {
|
||||
static final Color accent = new Color(208,208,208,255);
|
||||
static final Color header = new Color(83, 83,83,255);
|
||||
static final Color module = new Color(67,67,67,255);
|
||||
static final Color config = new Color(83,83,83,255);
|
||||
static final Color active = new Color(208,208,208,255);
|
||||
static final Color inactive = new Color(99, 99, 99, 255);
|
||||
@Override
|
||||
public String getName() {
|
||||
return "Classic";
|
||||
}
|
||||
|
||||
@Override
|
||||
public Color getAccent() {
|
||||
return accent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Color getHeader() {
|
||||
return header;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Color getModule() {
|
||||
return module;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Color getConfig() {
|
||||
return config;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Color getActive() {
|
||||
return active;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Color getInactive() {
|
||||
return inactive;
|
||||
}
|
||||
}
|
|
@ -62,7 +62,7 @@ public class DiscordRPC extends Module {
|
|||
rp.setDetails(details.getValue());
|
||||
rp.setState(state.getValue());
|
||||
rp.setLargeImage("icon", "discord.gg/moles");
|
||||
rp.setSmallImage("icon", "0x150 the 2nd#8918, saturn5Vfive#6767");
|
||||
rp.setSmallImage("icon", "Breathtaken#3915, saturn5Vfive#6767");
|
||||
rp.setStart(startTime);
|
||||
DiscordIPC.setActivity(rp);
|
||||
}
|
||||
|
|
|
@ -60,6 +60,6 @@ public class Theme extends Module {
|
|||
}
|
||||
|
||||
public enum Mode {
|
||||
Custom, Shadow, Coffee
|
||||
Custom, Shadow, Coffee, Classic
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue