Skip to content

Commit b76b114

Browse files
committed
feat: improved tabset panel contrast and dark mode text contrast
1 parent eff2a63 commit b76b114

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

scicompdark.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,21 @@ $link-color: $lter-tan; // hyperlinks
3636
$code-bg: $gray-3; // inline code background color
3737
$code-block-bg: $gray-3; // code block background color
3838
$code-color: $lter-orange; // inline code text color
39+
40+
/*-- scss:rules --*/
41+
42+
// Active tabset panel (tab then tab content)
43+
.nav-tabs .nav-link.active {
44+
background-color: $gray-3;
45+
color: $black;
46+
}
47+
.tab-content { background-color: $gray-3; }
48+
49+
// Navbar dropdown elements
50+
.dropdown-menu{
51+
--bs-dropdown-link-hover-color: #f4f3ee;
52+
--bs-dropdown-link-hover-bg: #97AE3F;
53+
}
54+
55+
// Underline URLs
56+
.reveal .slide a { text-decoration: underline; }

scicomplight.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,21 @@ $link-color: $lter-blue-2; // hyperlinks
3939
$code-bg: $gray-0; // inline code background color
4040
$code-block-bg: $gray-0; // code block background color
4141
$code-color: $lter-orange; // inline code text color
42+
43+
/*-- scss:rules --*/
44+
45+
// Active tabset panel (tab then tab content)
46+
.nav-tabs .nav-link.active {
47+
background-color: #FFF;
48+
color: $black;
49+
}
50+
.tab-content { background-color: #FFF; }
51+
52+
// Navbar dropdown elements
53+
.dropdown-menu{
54+
--bs-dropdown-link-hover-color: #f4f3ee;
55+
--bs-dropdown-link-hover-bg: #4AB2CB;
56+
}
57+
58+
// Underline URLs
59+
.reveal .slide a { text-decoration: underline; }

0 commit comments

Comments
 (0)