From b0178e91865d2e944a6d1b6c3678a4d24c89bfc3 Mon Sep 17 00:00:00 2001 From: gabeszm Date: Thu, 16 Oct 2025 17:32:23 +0200 Subject: [PATCH] Add custom CSS setting for admin customization - Add custom_css textarea setting in settings.yml - Support custom CSS injection in welcome-banner component - Allow admins to override or extend banner styles without modifying code - Inject custom CSS only when banner is displayed - Include English and Hungarian descriptions with examples --- javascripts/discourse/components/welcome-banner.gjs | 3 +++ settings.yml | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/javascripts/discourse/components/welcome-banner.gjs b/javascripts/discourse/components/welcome-banner.gjs index c70834d..bfed1fd 100644 --- a/javascripts/discourse/components/welcome-banner.gjs +++ b/javascripts/discourse/components/welcome-banner.gjs @@ -47,6 +47,9 @@ export default class WelcomeBanner extends Component {