mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Deprecate SCSS variable overrides in plugins (#11589)
This commit is contained in:
parent
83841fef8a
commit
7f1bafcf63
@ -162,6 +162,7 @@ class DiscoursePluginRegistry
|
|||||||
elsif opts == :color_definitions
|
elsif opts == :color_definitions
|
||||||
self.color_definition_stylesheets[plugin_directory_name] = asset
|
self.color_definition_stylesheets[plugin_directory_name] = asset
|
||||||
elsif opts == :variables
|
elsif opts == :variables
|
||||||
|
Discourse.deprecate(":variables is deprecated", drop_from: "2.7")
|
||||||
self.sass_variables << asset
|
self.sass_variables << asset
|
||||||
else
|
else
|
||||||
self.stylesheets[plugin_directory_name] ||= Set.new
|
self.stylesheets[plugin_directory_name] ||= Set.new
|
||||||
|
Loading…
Reference in New Issue
Block a user