Skip to content

Commit

Permalink
Hub: Use SASS color variables in theme, style secondary button, style…
Browse files Browse the repository at this point in the history
… active item in dropdown (#2462)

* Hub: Use SASS color variables in theme, style secondary button, style active item in dropdown
  • Loading branch information
chrieinv authored Aug 31, 2023
1 parent 9bbd3bd commit 0f179a8
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions sourcecode/hub/resources/css/theme.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
// The Edlib theme

[data-bs-theme="edlib"] {
--bs-body-color: var(--bs-gray-700); //Default text color
--bs-border-color: var(--bs-gray-400); //Default border color for input, buttons, etc
--bs-body-color: #{$gray-700}; //Default text color
--bs-border-color: #{$gray-400}; //Default border color for input, buttons, etc

// Primary button
.btn-primary {
@include button-variant($green-100, $gray-400, $gray-900, $green-200, $green-100, $gray-900);
}

//Mobile / small screen nav bar
// Secondary button
.btn-secondary {
@include button-variant($white, $gray-400, $gray-900, $gray-200, $gray-400, $gray-900);
}

// Mobile / small screen nav bar
.navbar-bottom {
background-color: $green-200;
}

.dropdown-menu {
--bs-dropdown-link-active-color: #{$gray-900};
--bs-dropdown-link-active-bg: #{$green-100};
}
}

0 comments on commit 0f179a8

Please sign in to comment.