Skip to content

Commit

Permalink
Adjust inverted button background in dark theme (good for thumbnail r…
Browse files Browse the repository at this point in the history
…ecord buttons).
  • Loading branch information
thsparks committed Mar 7, 2025
1 parent 5754786 commit c68fee5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions theme/color-themes/overrides/arcade-dark-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,14 @@
/* Better contrast, especially against images in carousels */
opacity: 0.9;
}

/* For inverted buttons, it almost always looks better to have the background be dark instead of light (even though non-inverted has a light foreground) */
button.ui.button.inverted,
button.common-button.inverted {
background-color: var(--pxt-neutral-background2) !important;
}

button.ui.button.inverted:hover,
button.common-button.inverted:hover {
background-color: var(--pxt-neutral-background2-hover) !important;
}

0 comments on commit c68fee5

Please sign in to comment.