FANDOM


Day/Night chat is a chat code that changes the default wiki color skin to a different color.

Installation

Customization

First, follow the instructions at Help:Custom chat CSS and JS.

In the code, you can replace "Example" with any color hex. You could also change the colors for the day chat as well.

Add this to your Wiki's MediaWiki:Chat.js.

//Switch to night button
window.night_button = 'Switch to Night Chat';
 
//Switch to day button
window.day_button = 'Switch to Day Chat';
 
//
//Color scheme for NIGHT Chat
//
//Link color
window.linkColor = 'A COLOR NAME';
 
//All text Color
window.textColor = '#EXAMPLE';
 
//Self text background color
window.selfTextColor = 'none';
 
//Chat background color
window.backgroundColor = '#EXAMPLE';
 
//Chat foreground color
window.foregroundColor = 'COLOR NAME';
 
// User stats foreground color
window.userStatsColor = 'none';
 
//END NIGHT Chat color scheme
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+