fix: improve link focus styles

This commit is contained in:
Oliver Davies 2021-10-05 12:00:00 +01:00
parent 2049d3cab5
commit 27c5ea4c16
3 changed files with 9 additions and 8 deletions

View file

@ -18,4 +18,9 @@
iframe {
@apply w-full;
}
a:focus {
@apply outline-black dark:outline-white;
outline-offset: 2px !important;
}
}

View file

@ -3,14 +3,6 @@
@apply underline text-blue-primary hover:text-blue-900 dark:text-blue-400 dark:hover:text-white;
text-decoration-thickness: 1px;
text-underline-offset: 0.1em;
&:focus {
@apply no-underline;
outline-color: currentColor;
outline-offset: 2px;
outline-style: solid;
}
}
.markdown {

View file

@ -13,6 +13,10 @@ module.exports = {
],
},
theme: {
outline: {
black: '1px solid black',
white: '1px solid white'
},
extend: {
typography: (theme) => ({
DEFAULT: {