Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. new Settings.SettingGroup("Colours").append(
  2.  
  3. new Settings.ColorPicker("Online", "Online Color" , this.settings.colours.online, (e) => {
  4. this.settings.colours.online = e;
  5. this.reloadeSettings();
  6. this.updateCSS();
  7. }),
  8. new Settings.ColorPicker("Idle", "idle Color" , this.settings.colours.idle, (e) => {
  9. this.settings.colours.idle = e;
  10. this.reloadeSettings();
  11. this.updateCSS();
  12. }),
  13. new Settings.ColorPicker("DND", "DND Color" , this.settings.colours.dnd, (e) => {
  14. this.settings.colours.dnd = e;
  15. this.reloadeSettings();
  16. this.updateCSS();
  17. }),
  18. new Settings.ColorPicker("Streaming", "Streaming Color" , this.settings.colours.stream, (e) => {
  19. this.settings.colours.stream = e;
  20. this.reloadeSettings();
  21. this.updateCSS();
  22. }),
  23. new Settings.ColorPicker("Offline", "Offline Color" , this.settings.colours.offline, (e) => {
  24. this.settings.colours.offline = e;
  25. this.reloadeSettings();
  26. this.updateCSS();
  27. }),
  28. new Settings.ColorPicker("Invisible", "Invisible Color" , this.settings.colours.invis, (e) => {
  29. this.settings.colours.invis = e;
  30. this.reloadeSettings();
  31. this.updateCSS();
  32. })
  33. ),
  34.  
  35. new Settings.SettingGroup("Fonts").append(
  36.  
  37. new Settings.ColorPicker("Colour", "Font Colour", this.settings.fonts.color, (e) => {
  38. this.settings.fonts.color = e;
  39. this.reloadSettings();
  40. this.updateCSS();
  41. }),
  42. new Settings.Textbox("Size", "Font Size" , this.settings.fonts.fontSize, (e) => {
  43. this.settings.fonts.fontSize = e;
  44. this.reloadeSettings();
  45. this.updateCSS();
  46. }),
  47. new Settings.Textbox("Type", "Font Type" , this.settings.fonts.fontType, (e) => {
  48. this.settings.fonts.fontType = e;
  49. this.reloadeSettings();
  50. this.updateCSS();
  51. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement