mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-29 12:37:40 +01:00
Mute theme
This commit is contained in:
parent
d516fc6370
commit
638d6caaae
@ -33,9 +33,14 @@ public class ThemeConfig extends Config {
|
||||
String fileLocation = "themes/";
|
||||
|
||||
switch (fileName.toLowerCase()) {
|
||||
case "mute":
|
||||
case "lowsaturation":
|
||||
fileLocation += "mute.yml";
|
||||
break;
|
||||
case "pastel":
|
||||
case "brigth":
|
||||
case "highcontrast":
|
||||
case "saturated":
|
||||
case "high":
|
||||
fileLocation += "pastel.yml";
|
||||
break;
|
||||
case "sepia":
|
||||
@ -54,7 +59,11 @@ public class ThemeConfig extends Config {
|
||||
}
|
||||
|
||||
IPlan plugin = MiscUtils.getIPlan();
|
||||
try {
|
||||
return FileUtil.lines(plugin, fileLocation);
|
||||
} catch (IOException e) {
|
||||
return FileUtil.lines(plugin, "themes/theme.yml");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
57
Plan/src/main/resources/themes/mute.yml
Normal file
57
Plan/src/main/resources/themes/mute.yml
Normal file
@ -0,0 +1,57 @@
|
||||
# Default Theme bar color when user has not chosen a color
|
||||
DefaultColor: "green"
|
||||
|
||||
Font:
|
||||
# Location of the FontStyleSheet, eg. https://fonts.googleapis.com/css?family=Quicksand:300,400
|
||||
FontStyleSheet: https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext
|
||||
# Name of the Font for CSS eg "'Quicksand', sans-serif"
|
||||
FontFamily: '"Roboto", sans-serif'
|
||||
|
||||
# Color codes for each theme element color
|
||||
# These affect icons & backgrounds of all elements of this color.
|
||||
Colors:
|
||||
red: "#C4564E"
|
||||
pink: "#B63863"
|
||||
purple: "#833A8F"
|
||||
deep-purple: "#604492"
|
||||
indigo: "#485391"
|
||||
blue: "#448DC6"
|
||||
light-blue: "#3399C8"
|
||||
cyan: "#33A8B6"
|
||||
teal: "#27847C"
|
||||
green: "#629F65"
|
||||
light-green: "#94B76C"
|
||||
lime: "#CAD36E"
|
||||
yellow: "#F2E679"
|
||||
amber: "#E6C04C"
|
||||
orange: "#DD9D3F"
|
||||
deep-orange: "#D06747"
|
||||
brown: "#6F5850"
|
||||
grey: "#9E9E9E"
|
||||
blue-grey: "#687A83"
|
||||
black: "#000000"
|
||||
Extra:
|
||||
White: "#fff"
|
||||
|
||||
# Useful tool for html colors
|
||||
# https://www.w3schools.com/colors/colors_picker.asp
|
||||
GraphColors:
|
||||
PunchCard: "#222"
|
||||
PlayersOnline: "#4188CD"
|
||||
TPS:
|
||||
High: "#386F21"
|
||||
Medium: "#D6C653"
|
||||
Low: "#985050"
|
||||
CPU: "#D7CF8B"
|
||||
RAM: "#8ABB53"
|
||||
Chunks: "#A3843C"
|
||||
Entities: "#A076C9"
|
||||
WorldPie: '"#2A89A5", "#709B31", "#0075FE", "#865186", "#459A8F", "#A3A344", "#5F3F9E", "#C27B33", "#4A8567", "#5F7291"'
|
||||
GMDrilldown: '"#865186", "#459A8F", "#A3A344", "#5F3F9E"'
|
||||
ActivityPie: '"#629F65", "#94B76C", "#CAD36E", "#E6C04C", "#687A83"'
|
||||
ServerPreferencePie: '"#2A89A5", "#709B31", "#0075FE", "#865186", "#459A8F", "#A3A344", "#5F3F9E", "#C27B33", "#4A8567", "#5F7291"'
|
||||
|
||||
# Leave blank "" for white
|
||||
ParsedElements:
|
||||
SessionAccordion: "teal"
|
||||
ServerAccordion: "light-green"
|
Loading…
Reference in New Issue
Block a user