Add theme identifier to body classes for easier custom CSS styling (#8439)
Add forgotten custom CSS admin setting strings
This commit is contained in:
parent
cd049454be
commit
22e46ebad8
4 changed files with 18 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue