Skip to content

A platform for community discussion. Free, open, simple.

UX: Use same branded styles on Wizard (#39762)

Derek Rushforthc46cffe823c0
diff --git a/app/assets/stylesheets/wizard.scss b/app/assets/stylesheets/wizard.scss
index 4f93da0be6d..fe70c1a5a83 100644
--- a/app/assets/stylesheets/wizard.scss
+++ b/app/assets/stylesheets/wizard.scss
@@ -6,14 +6,12 @@
--wizard-primary-300: #{$discourse-brand-300};
--wizard-primary-400: #{$discourse-brand-400};
--wizard-primary-800: #{$discourse-brand-800};
- --wizard-bg-color: light-dark(
- #{$discourse-bg-light},
- var(--background-color)
- );
+ --wizard-bg-color: light-dark(#{$discourse-bg-light}, #{$discourse-bg-dark});
--wizard-bg-color-2: light-dark(
#{$discourse-brand-light},
var(--wizard-primary-800)
);
+ --wizard-button-text-color: light-dark(var(--secondary), var(--primary));
--wizard-input-radius: 8px;
--wizard-button-radius: 6.25em;
}
@@ -223,9 +221,12 @@ body.wizard {
&__button {
--accent-color: var(--wizard-primary);
+ --d-button-primary-bg-color: var(--wizard-primary);
+ --d-button-primary-text-color: var(--wizard-button-text-color);
width: 100%;
padding: 0.75em 2em;
font-weight: bold;
+ border-radius: var(--wizard-button-radius);
}
&__button.small {