Skip to content

Commit

Permalink
fix mixed code copy color (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Sep 1, 2023
1 parent ce62f7b commit 327d1a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sass/_color_mode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@
--code-font-color: #{$code-font-color-dark};

--code-copy-background: #{$code-background-dark};
--code-copy-font-color: #{$code-font-color-dark};
--code-copy-border-color: #{$code-font-color-dark};
--code-copy-font-color: #{darken($code-font-color-dark, 15)};
--code-copy-border-color: #{darken($code-font-color-dark, 20)};
--code-copy-success-color: #{scale-color(map.get($hint-colors, "ok"), $alpha: -55%)};
}

Expand All @@ -130,7 +130,7 @@
--code-font-color: #{$code-font-color};

--code-copy-background: #{$code-background};
--code-copy-font-color: #{$code-font-color};
--code-copy-border-color: #{lighten($body-font-color, 48)};
--code-copy-font-color: #{lighten($code-font-color, 15)};
--code-copy-border-color: #{lighten($code-font-color, 20)};
--code-copy-success-color: #{map.get($hint-colors, "ok")};
}

0 comments on commit 327d1a5

Please sign in to comment.