Jump to content

User:TonySt/av-dark

From Wikipedia, the free encyclopedia
av-dark.js
DescriptionDark mode plugin for AntiVandal
Author(s)User:TonySt
UpdatedJune 17, 2025
(8 days ago)
 (2025-06-17)
SourceUser:TonySt/av-dark.js

av-dark is a plugin for AntiVandal which adds a dark mode.

Requirements

[edit]

This script only works if you already have AntiVandal installed and enabled.

Installation

[edit]

Method 1

[edit]

Go to Preferences → Gadgets → Advanced, check "Install scripts without having to manually edit JavaScript files", and save. Reload this page, and there should be a button which says "install".

Method 2

[edit]

Add {{subst:lusc|User:TonySt/av-dark.js}} to your common.js.

Usage

[edit]

After the script is installed, new options are added to the "Interface" settings page in AntiVandal:

  • Mode sets the color scheme. "Auto" mode follows your system's preferences
  • Dark Font sets the monospace font to Cascadia Mono whenever the interface is in dark or black mode, since the default monospace can sometimes be harder to read in those modes.