Torn.com Background Theme Editor Changelog
Torn.com Background Theme Editor Changelog
Version 1.0 → Version 2.0
Theme Configuration Changes
Changed default background color from #000000
to #191919
Added darkModeBgColor
with value #242424
for dark mode
Removed darkGray
theme (#121212
)
Dark Mode Improvements
Changed "Force Dark Mode" to simply "Dark Mode" in the UI
Added new dark mode icon with moon and stars SVG
Added two-way synchronization with Torn's native dark mode settings
Added function syncWithTornDarkMode()
to sync with Torn's dark mode settings
Improved dark mode detection using body class methods
Performance Optimizations
Added DOM caching through domCache
object to reduce DOM queries
Added throttle()
function to limit rate of color updates
Improved mutation observer efficiency with more specific attribute filters
UI Enhancements
Added "Reset to Default" button that fully resets all settings
UI now shows on both preferences page and user profile pages
Changed CSS to use minified format instead of expanded format
Bug Fixes
Fixed issue with color picker not always updating hex input
Fixed inconsistency between Torn's dark mode and plugin's dark mode toggle
Improved event handling for dark mode toggle on preferences page
Other Improvements
Expanded UI access to both preferences and profile pages
Added getAutoDetectedColor()
function for better theme detection
State management is now more robust with additional checks