chore: focus styles

This commit is contained in:
Cory Dransfeldt 2024-08-03 13:43:41 -07:00
parent 07cea7fafe
commit 13ce318b80
No known key found for this signature in database
3 changed files with 13 additions and 3 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "21.3.0", "version": "21.3.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "21.3.0", "version": "21.3.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.4.0", "@cdransf/api-text": "^1.4.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "21.3.0", "version": "21.3.1",
"description": "The source for my personal site. Built using 11ty (and other tools).", "description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -27,6 +27,11 @@
transform: rotate(0deg); transform: rotate(0deg);
transition: transform var(--transition-duration-default) var(--transition-ease-in-out); transition: transform var(--transition-duration-default) var(--transition-ease-in-out);
&:focus,
&:focus-within {
outline: var(--outline)
}
&:hover, &:hover,
&:focus, &:focus,
&:active { &:active {
@ -61,6 +66,11 @@
transform: rotate(0deg); transform: rotate(0deg);
transition: transform var(--transition-duration-default) var(--transition-ease-in-out); transition: transform var(--transition-duration-default) var(--transition-ease-in-out);
&:focus,
&:focus-within {
outline: var(--outline)
}
&:hover, &:hover,
&:focus, &:focus,
&:active { &:active {