[gnome-bootstrap-theme] feat: update bootstrap version to 5.2



commit 46a33cba375be3f42fa33fbe92368480deaf63f9
Author: Guillaume Bernard <contact guillaume-bernard fr>
Date:   Thu Sep 22 12:08:49 2022 +0200

    feat: update bootstrap version to 5.2

 src/styles/_navbar.scss    | 6 ------
 src/styles/_variables.scss | 2 +-
 src/styles/buttons.scss    | 2 +-
 src/styles/header.scss     | 2 +-
 src/styles/main.scss       | 2 +-
 5 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/src/styles/_navbar.scss b/src/styles/_navbar.scss
index ad0d21f..47278da 100644
--- a/src/styles/_navbar.scss
+++ b/src/styles/_navbar.scss
@@ -2,12 +2,6 @@
 //
 // Vertically center a button within a navbar (when *not* in a form).
 
-.navbar-btn {
-  &.btn-wide {
-    @include navbar-vertical-align(30);
-  }
-}
-
 
 $bgDefault      : #4a86cf;
 $bgHighlight    : #3968a1;
diff --git a/src/styles/_variables.scss b/src/styles/_variables.scss
index 4249ae4..d6799d7 100644
--- a/src/styles/_variables.scss
+++ b/src/styles/_variables.scss
@@ -1,7 +1,7 @@
 /* Typography */
 /* ========================================================================== */
 
-$font-size-base: 14px;
+$font-size-base: 0.875rem;
 
 $icon-font-path: "~/bootstrap-sass/assets/fonts/bootstrap/";
 
diff --git a/src/styles/buttons.scss b/src/styles/buttons.scss
index 31d2bb9..88f233f 100644
--- a/src/styles/buttons.scss
+++ b/src/styles/buttons.scss
@@ -7,7 +7,7 @@
 }
 
 .btn-action {
-    @include button-variant($btn-default-color, $btn-action-bg, $btn-action-border);
+    @include button-variant($btn-action-bg, $btn-action-border);
 }
 
 .btn-login {
diff --git a/src/styles/header.scss b/src/styles/header.scss
index e881dd9..6333da4 100644
--- a/src/styles/header.scss
+++ b/src/styles/header.scss
@@ -32,7 +32,7 @@
     }
     .user-menu {
         a, button {
-            color: $text-color;
+            color: $body-color;
         }
     }
 }
diff --git a/src/styles/main.scss b/src/styles/main.scss
index b3d5cb5..f0a8634 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -1,5 +1,5 @@
 @import './_variables.scss';
-@import '~bootstrap-sass/assets/stylesheets/bootstrap';
+@import './scss/bootstrap.scss';
 @import './_navbar.scss';
 @import './_navbar-search-form.scss';
 @import './header.scss';


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]