mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
[TGUI] Fixes scrollbar & background styles for 516 (#26433)
* Fixes scrollbar and background image styles for 516 * Background
This commit is contained in:
@@ -685,18 +685,23 @@ function draw_verbs(cat) {
|
||||
function set_theme(which) {
|
||||
if (which == 'light') {
|
||||
document.body.className = '';
|
||||
document.documentElement.className = 'light';
|
||||
set_style_sheet('chat_panel_white');
|
||||
} else if (which == 'dark') {
|
||||
document.body.className = 'dark';
|
||||
document.documentElement.className = 'dark';
|
||||
set_style_sheet('chat_panel');
|
||||
} else if (which == 'ntos') {
|
||||
document.body.className = 'ntos';
|
||||
document.documentElement.className = 'ntos';
|
||||
set_style_sheet('chat_panel_ntos');
|
||||
} else if (which == 'paradise') {
|
||||
document.body.className = 'paradise';
|
||||
document.documentElement.className = 'paradise';
|
||||
set_style_sheet('chat_panel_paradise');
|
||||
} else if (which == 'syndicate') {
|
||||
document.body.className = 'syndicate';
|
||||
document.documentElement.className = 'syndicate';
|
||||
set_style_sheet('chat_panel_syndicate');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user