Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 5e67ed71954..8f266f2660c 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -51,6 +51,10 @@ Rails.application.configure do
config.autoload_paths.push("#{config.root}/spec/components/previews")
config.lookbook.page_paths = ["#{config.root}/spec/components/docs"]
+ config.lookbook.preview_params_options_eval = true
+ config.lookbook.preview_display_options = {
+ theme: ["light", "dark (alpha)"]
+ }
# Adds additional error checking when serving assets at runtime.
# Checks for improperly declared sprockets dependencies.