From 0117864028379415b333e201f1205f77e113b826 Mon Sep 17 00:00:00 2001 From: jellydeck <91427591+jellydeck@users.noreply.github.com> Date: Sun, 1 Feb 2026 15:30:56 +0530 Subject: [PATCH 01/10] accent colors for light & dark mode --- app/assets/main.css | 10 +- app/components/AppHeader.vue | 26 +---- app/components/AppLogo.vue | 31 ++++++ app/components/HeaderAccountMenu.client.vue | 2 +- app/composables/useSettings.ts | 38 +++++-- app/pages/[...package].vue | 116 ++++++++++---------- app/pages/index.vue | 9 +- app/utils/prehydrate.ts | 39 ++++--- public-dev/logo.svg | 28 +++-- shared/utils/constants.ts | 22 +++- 10 files changed, 189 insertions(+), 132 deletions(-) create mode 100644 app/components/AppLogo.vue diff --git a/app/assets/main.css b/app/assets/main.css index 31a9a7188..ea09e84ac 100644 --- a/app/assets/main.css +++ b/app/assets/main.css @@ -129,9 +129,9 @@ a:hover { } a:focus-visible { - outline: 2px solid var(--border); + outline: 2px solid var(--border-hover); outline-offset: 2px; - border-radius: 2px; + border-radius: 4px; } /* Reset dd margin (browser default is margin-left: 40px) */ @@ -148,6 +148,12 @@ button { padding: 0; } +button:focus-visible { + outline: 2px solid var(--border-hover); + outline-offset: 2px; + border-radius: 4px; +} + /* Selection */ ::selection { background-color: var(--fg-muted); diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index 9f4c2c52d..75580388e 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -101,14 +101,7 @@ onKeyStroke( :aria-label="$t('nav.tap_to_search')" @click="expandMobileSearch" > - +