Skip to content

Add theme3 body class helper

Pleroma User requested to merge pleromian/pleroma-fe:theme3-body-class into develop

This change significantly helps custom stylesheets by providing custom v3 theme name as a body class. Custom or V2 themes are ignored. This is how it looks like:

Screenshot_2025-01-06_at_01.01.11 Screenshot_2025-01-06_at_01.00.50

Hence, it's possible to provide a custom css which will be applied only when particular theme is enabled:

.theme-redmonddx {
  /* whatever */
}

Merge request reports

Loading