Skip to content

Commit

Permalink
Unify the colors with the link control
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 10, 2023
1 parent 00303ca commit d0719af
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions packages/commands/src/components/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,28 +67,15 @@
padding: 0 $grid-unit-20;
color: $gray-900;

&[aria-selected="true"] {
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
color: var(--wp-admin-theme-color);

svg {
color: var(--wp-admin-theme-color);
}
&[aria-selected="true"],
&:active {
background: $gray-100;
}

&[aria-disabled="true"] {
color: $gray-600;
cursor: not-allowed;
}

&:active {
background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
}

svg,
.dashicon {
color: $gray-800;
}
}

[cmdk-root] > [cmdk-list] {
Expand Down

0 comments on commit d0719af

Please sign in to comment.