Skip to content

Commit

Permalink
[Dark mode] blockquote and click-to-copy color fixes (google#1981)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed May 1, 2024
1 parent ecc6398 commit e0c7e14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions assets/scss/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

button.td-click-to-copy {
position: absolute;
color: $gray-400;
color: var(--bs-tertiary-color);
border-width: 0;
background-color: transparent;
background-image: none;
Expand All @@ -35,12 +35,12 @@
top: 2px;

&:hover {
color: $dark;
background-color: $gray-400;
color: var(--bs-secondary-color);
background-color: var(--bs-dark-bg-subtle);
}
&:active {
color: $dark;
background-color: $gray-400;
color: var(--bs-secondary-color);
background-color: var(--bs-dark-bg-subtle);
transform: translateY(2px);
}
}
Expand Down
4 changes: 2 additions & 2 deletions assets/scss/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
blockquote {
padding: 0 0 0 1rem;
margin-bottom: $spacer;
color: $gray-600;
border-left: 6px solid $secondary;
color: var(--bs-secondary-color);
border-left: 6px solid var(--bs-primary);
}

ul li,
Expand Down

0 comments on commit e0c7e14

Please sign in to comment.