about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-08-25 22:55:25 +0200
committerGitHub <noreply@github.com>2018-08-25 22:55:25 +0200
commit22e46ebad84111f2a0eeb935ec05ba44a99ab2ba (patch)
treeb9d96742ce816c4ff028538634de2a8c8a07e48c /app/views
parentcd049454be9cb8bf5fb6bc5316539432316033aa (diff)
Add theme identifier to body classes for easier custom CSS styling (#8439)
Add forgotten custom CSS admin setting strings
Diffstat (limited to 'app/views')
-rwxr-xr-xapp/views/layouts/application.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 68a903197..436864237 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -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