Skip to content

Commit 6fe58e9

Browse files
committed
Admin: Update focus state on color picker.
Fix the focus color on the Iris color picker slider and color base selectors to the new admin color scheme. Props shailu25, hmbashar, huzaifaalmesbah, noruzzaman, rahultank, joedolson. Fixes #64754. git-svn-id: https://develop.svn.wordpress.org/trunk@61779 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 29d1b6e commit 6fe58e9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/wp-admin/css/color-picker.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@
117117

118118
.iris-picker .ui-square-handle:focus,
119119
.iris-picker .iris-strip .ui-slider-handle:focus {
120-
border-color: #3582c4;
120+
border-color: var(--wp-admin-theme-color, #3858e9);
121121
border-style: solid;
122-
box-shadow: 0 0 0 1px #3582c4;
122+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9);
123123
outline: 2px solid transparent;
124124
}
125125

126126
.iris-picker .iris-palette:focus {
127-
box-shadow: 0 0 0 2px #3582c4;
127+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9);
128128
}
129129

130130
@media screen and (max-width: 782px) {

0 commit comments

Comments
 (0)