Closed gvonkoss closed 6 years ago
@gvonkoss I think both hover and focus feed off the hover color? https://github.com/Financial-Times/o-typography/blob/4586dbf37a099ef498ff73dda6a53fc4d7beef0e/src/scss/use-cases/_general.scss#L29-L30 May have gone down the wrong rabbit hole though :typing-dog:
Yup, they do, but what it looks like you're referencing is the text colour, not the outline of the element. The border-bottom in this case is the styling that indicates the text is a link (which changes colour on hover and disappears on focus). So I've changed the structure a bit to be more explicit about what changes affect which state, is that more legible?
This aligns with the focus styles in o-normalise
@lc512k I believe the line that you've pointed out in the issue is for the text color on hover (and on focus), not necessarily the border/outline color for the focus state. I've changed the base color to
teal-100
in the custom link mixin.Closes #131