Skip to content

Commit

Permalink
Use a more subtle colour for copybutton background
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Apr 7, 2022
1 parent 58db5b8 commit 3d3b99f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/furo/assets/styles/extensions/_copybutton.sass
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
right: 0.5rem

// Make it look better
color: var(--color-foreground-border)
color: var(--color-background-item)
background-color: var(--color-code-background)
border: none

Expand Down
2 changes: 2 additions & 0 deletions src/furo/assets/styles/variables/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
--color-background-hover: #efeff4ff; // for navigation-item hover
--color-background-hover--transparent: #efeff400;
--color-background-border: #eeebee; // for UI borders
--color-background-item: #ccc; // for "background" items (eg: copybutton)

// Announcements
--color-announcement-background: #000000dd;
Expand Down Expand Up @@ -138,6 +139,7 @@
--color-background-hover: #1e2124ff; // for navigation-item hover
--color-background-hover--transparent: #1e212400;
--color-background-border: #303335; // for UI borders
--color-background-item: #444; // for "background" items (eg: copybutton)

// Announcements
--color-announcement-background: #000000dd;
Expand Down

0 comments on commit 3d3b99f

Please sign in to comment.