Skip to content

Commit

Permalink
fix(CodeSnippet): use token for copy button (#2441)
Browse files Browse the repository at this point in the history
* fix(CodeSnippet): use token for copy button

* fix(CodeSnippet): set correct hover color

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] authored Jul 8, 2021
1 parent 6c05a27 commit 7860983
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/TypesetStyle/typeset-example.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
@import '~carbon-components/scss/components/copy-button/copy-button';

.bx--copy-btn {
background-color: var(--cds-layer);
}

.bx--copy-btn:hover {
background-color: var(--cds-layer-hover);
}

.bx--typeset-example-container {
margin-top: $spacing-05;
}
Expand Down

1 comment on commit 7860983

@vercel
Copy link

@vercel vercel bot commented on 7860983 Jul 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.