From eaaed57759e2db81c9a957ecc467dbe1c323dae6 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 3 Jan 2023 21:55:47 +0100 Subject: [PATCH] Fix initial variable overrides for Bootstrap --- app/assets/stylesheets/_variables.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/_variables.scss b/app/assets/stylesheets/_variables.scss index 137298d6..1fc3b6b8 100644 --- a/app/assets/stylesheets/_variables.scss +++ b/app/assets/stylesheets/_variables.scss @@ -25,6 +25,12 @@ $navbar-height: 56px; // Color overrides for Bootstrap $primary: #5e35b1; +$rs-theme-colors: ( + primary: $primary +); + +$theme-colors: map-merge($theme-colors, $rs-theme-colors); + // Cards $card-border-width: 0; @@ -57,10 +63,12 @@ $avatar-sizes: ( "xxl": 160px, ); -$spacers: ( +$rs-spacers: ( 10: (1rem * 6) ); +$spacers: map-merge($rs-spacers, $spacers); + :root { --background: #f0edf4; --input-bg: var(--background);