mirror of
https://github.com/flarum/core.git
synced 2025-08-07 17:07:19 +02:00
refactor: keep it for backwards compatibility
This commit is contained in:
@@ -24,6 +24,7 @@ export default function () {
|
||||
const color = tags[0].color();
|
||||
if (color) {
|
||||
view.attrs.style = { '--hero-bg': color };
|
||||
view.attrs.className += ' DiscussionHero--colored';
|
||||
|
||||
if (isDark(color)) {
|
||||
view.attrs.className += ' DiscussionHero--dark';
|
||||
|
Reference in New Issue
Block a user