UX: switch wizard SVG colors for dark mode (#18109)

This commit is contained in:
Kris
2022-09-12 11:34:15 -04:00
committed by GitHub
parent b0ac98b465
commit 3f2c3d5360
9 changed files with 145 additions and 12 deletions

View File

@ -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|