Skip to content

Commit

Permalink
Improve color contrast of the default block inserter shortcuts.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Jan 13, 2019
1 parent ad4c9e7 commit 9ea2adf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@
.editor-inserter-with-shortcuts {
opacity: 0.5;
transition: opacity 0.2s;

.components-icon-button:not(:hover) {
// Use opacity to work in various editor styles.
color: $dark-opacity-500;
.is-dark-theme & {
color: $light-opacity-500;
}
}
}

// Don't show the inserter until mousing over.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
padding-top: 8px;

// Use opacity to work in various editor styles.
color: $dark-opacity-light-700;
color: $dark-opacity-500;
.is-dark-theme & {
color: $light-opacity-light-700;
color: $light-opacity-500;
}
}

0 comments on commit 9ea2adf

Please sign in to comment.