diff --git a/CHANGELOG.md b/CHANGELOG.md index a62c2cfa464..d141724a460 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## [`master`](https://github.com/elastic/eui/tree/master) +- Modified `EuiFacetButton` to use `$euiFocusBackgroundColor` for `:focus` state ([2365](https://github.com/elastic/eui/pull/2365)) - Added a `showMaxPopover` option for `EuiBreadcrumbs` to display all items when a `max` is set. ([#2342](https://github.com/elastic/eui/pull/2342)) - Added `data-test-subj` support for basic and in-memory tables' actions ([#2353](https://github.com/elastic/eui/pull/2353)) diff --git a/src/components/facet/_facet_button.scss b/src/components/facet/_facet_button.scss index 886d6f26d00..8a2e1de4611 100644 --- a/src/components/facet/_facet_button.scss +++ b/src/components/facet/_facet_button.scss @@ -25,7 +25,9 @@ } &:focus { - background-color: $euiColorLightestShade; + background-color: $euiFocusBackgroundColor; + // use box-shadow as a "faux outline" to apply left/right padding only + box-shadow: -$euiSizeXS 0 $euiFocusBackgroundColor, $euiSizeXS 0 $euiFocusBackgroundColor; } &:disabled {