From 7f1bafcf6356637fc397baa723da84b35ef91b65 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Mon, 28 Dec 2020 15:28:11 -0500 Subject: [PATCH] DEV: Deprecate SCSS variable overrides in plugins (#11589) --- lib/discourse_plugin_registry.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/discourse_plugin_registry.rb b/lib/discourse_plugin_registry.rb index 3970591c88f..105ea6e0493 100644 --- a/lib/discourse_plugin_registry.rb +++ b/lib/discourse_plugin_registry.rb @@ -162,6 +162,7 @@ class DiscoursePluginRegistry elsif opts == :color_definitions self.color_definition_stylesheets[plugin_directory_name] = asset elsif opts == :variables + Discourse.deprecate(":variables is deprecated", drop_from: "2.7") self.sass_variables << asset else self.stylesheets[plugin_directory_name] ||= Set.new