Add theme identifier to body classes for easier custom CSS styling (#8439)

Add forgotten custom CSS admin setting strings
This commit is contained in:
Eugen Rochko 2018-08-25 22:55:25 +02:00 committed by GitHub
parent cd049454be
commit 22e46ebad8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 15 deletions

View file

@ -24,9 +24,5 @@
= yield :header_tags
- body_classes ||= @body_classes || ''
- body_classes += ' system-font' if current_account&.user&.setting_system_font_ui
- body_classes += current_account&.user&.setting_reduce_motion ? ' reduce-motion' : ' no-reduce-motion'
%body{ class: add_rtl_body_class(body_classes) }
%body{ class: body_classes }
= content_for?(:content) ? yield(:content) : yield