0
0
Fork 0

Remove body_class_string helper (#33072)

This commit is contained in:
Matt Jankowski 2024-11-26 02:19:20 -05:00 committed by GitHub
parent 6d62581da1
commit 0ea9d8164b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 13 deletions

View file

@ -143,7 +143,7 @@ module ApplicationHelper
end
def body_classes
output = body_class_string.split
output = []
output << content_for(:body_classes)
output << "theme-#{current_theme.parameterize}"
output << 'system-font' if current_account&.user&.setting_system_font_ui