mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
UX: switch wizard SVG colors for dark mode (#18109)
This commit is contained in:
@ -11,7 +11,7 @@ class Wizard
|
||||
return @wizard unless SiteSetting.wizard_enabled? && @wizard.user.try(:staff?)
|
||||
|
||||
@wizard.append_step('introduction') do |step|
|
||||
step.banner = "welcome-illustration.svg"
|
||||
step.banner = "welcome-illustration"
|
||||
|
||||
step.add_field(id: 'title', type: 'text', required: true, value: SiteSetting.title)
|
||||
step.add_field(id: 'site_description', type: 'text', required: false, value: SiteSetting.site_description)
|
||||
@ -48,7 +48,7 @@ class Wizard
|
||||
end
|
||||
|
||||
@wizard.append_step('privacy') do |step|
|
||||
step.banner = "members-illustration.svg"
|
||||
step.banner = "members-illustration"
|
||||
step.add_field(
|
||||
id: 'login_required',
|
||||
type: 'checkbox',
|
||||
@ -79,7 +79,7 @@ class Wizard
|
||||
|
||||
@wizard.append_step('ready') do |step|
|
||||
# no form on this page, just info.
|
||||
step.banner = "finished-illustration.svg"
|
||||
step.banner = "finished-illustration"
|
||||
end
|
||||
|
||||
@wizard.append_step('styling') do |step|
|
||||
|
Reference in New Issue
Block a user