diff --git a/components/o-normalise/src/scss/_mixins.scss b/components/o-normalise/src/scss/_mixins.scss index cb6c863cc8..2d35eeccc0 100644 --- a/components/o-normalise/src/scss/_mixins.scss +++ b/components/o-normalise/src/scss/_mixins.scss @@ -106,8 +106,8 @@ /// /// @param {String|Color} $color - The background colour of the focused element. @mixin oNormaliseFocusContentForElementColour($color) { - $black-contrast: oPrivateColorsGetContrastRatio($color, 'o3-color-palette-black'); - $white-contrast: oPrivateColorsGetContrastRatio($color, 'o3-color-palette-white'); + $black-contrast: oColorsGetContrastRatio($color, 'black'); + $white-contrast: oColorsGetContrastRatio($color, 'white'); $shadow: if( $black-contrast <= $white-contrast, $_o-normalise-focus-ring,