mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:11:08 -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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user