From 13ce318b80b06290192c0c7f086d02a60fb44022 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 3 Aug 2024 13:43:41 -0700 Subject: [PATCH] chore: focus styles --- package-lock.json | 4 ++-- package.json | 2 +- src/assets/styles/components/modal.css | 10 ++++++++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3487ecad..d1b5fe80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "21.3.0", + "version": "21.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "21.3.0", + "version": "21.3.1", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", diff --git a/package.json b/package.json index c13374b3..49ce92c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "21.3.0", + "version": "21.3.1", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/assets/styles/components/modal.css b/src/assets/styles/components/modal.css index 6df54957..c15a97b2 100644 --- a/src/assets/styles/components/modal.css +++ b/src/assets/styles/components/modal.css @@ -27,6 +27,11 @@ transform: rotate(0deg); transition: transform var(--transition-duration-default) var(--transition-ease-in-out); + &:focus, + &:focus-within { + outline: var(--outline) + } + &:hover, &:focus, &:active { @@ -61,6 +66,11 @@ transform: rotate(0deg); transition: transform var(--transition-duration-default) var(--transition-ease-in-out); + &:focus, + &:focus-within { + outline: var(--outline) + } + &:hover, &:focus, &:active {