Skip to content

Commit

Permalink
Close #776: fixes for dark Bootswatch themes
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Sep 1, 2023
1 parent a631d5e commit 176e455
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
7 changes: 1 addition & 6 deletions inst/lib/bsw5/dist/cyborg/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,6 @@ legend {
}
}

.tooltip {
--bs-tooltip-bg: var(--bs-tertiary-bg);
--bs-tooltip-color: var(--bs-emphasis-color);
}

// Containers

.list-group-item-action {
Expand All @@ -143,4 +138,4 @@ legend {
&-title {
border-bottom: none;
}
}
}
4 changes: 4 additions & 0 deletions inst/lib/bsw5/dist/cyborg/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,7 @@ $btn-close-hover-opacity: 1 !default;
// Code

$pre-color: inherit !default;


$code-color-dark: $body-color !default;
$body-emphasis-color: $white !default;
5 changes: 0 additions & 5 deletions inst/lib/bsw5/dist/darkly/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,3 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0
}
}
}

.tooltip {
--bs-tooltip-bg: var(--bs-tertiary-bg);
--bs-tooltip-color: var(--bs-emphasis-color);
}
4 changes: 4 additions & 0 deletions inst/lib/bsw5/dist/darkly/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,7 @@ $btn-close-hover-opacity: 1 !default;
// Code

$pre-color: inherit !default;


$code-color-dark: $body-color !default;
$body-emphasis-color: $white !default;

0 comments on commit 176e455

Please sign in to comment.