mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Wizard - Color Scheme Step
This commit is contained in:
@@ -44,8 +44,9 @@ class Wizard
|
||||
|
||||
theme = wizard.create_step('colors')
|
||||
scheme = theme.add_field(id: 'color_scheme', type: 'dropdown', required: true)
|
||||
scheme.add_option('default')
|
||||
scheme.add_option('dark')
|
||||
ColorScheme.themes.each {|t| scheme.add_option(t[:id], t) }
|
||||
|
||||
theme.add_field(id: 'scheme_preview', type: 'component')
|
||||
wizard.append_step(theme)
|
||||
|
||||
finished = wizard.create_step('finished')
|
||||
|
||||
Reference in New Issue
Block a user