NAME

RT-Extension-ToggleTheme - Toggle light and dark theme.

DESCRIPTION

Adds a light/dark mode toggle button to the RT 6 navigation bar. Works with any Bootstrap 5 theme. The toggle button displays for users who have the ModifySelf right and appears in both the privileged and self-service interfaces.

RT VERSION

Works with RT 6

INSTALLATION

perl Makefile.PL
make
make install

May need root permissions

Edit your /opt/rt6/etc/RT_SiteConfig.pm

Add this line:

Plugin('RT::Extension::ToggleTheme');
Clear your mason cache
rm -rf /opt/rt6/var/mason_data/obj
Restart your webserver

AUTHOR

Craig Kaiser <modules@ceal.dev>