File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -620,13 +620,11 @@ const config = computed(() => {
620620 {{ $t('package.downloads.granularity') }}
621621 </label >
622622
623- <div
624- class =" flex items-center px-2.5 py-1.75 bg-bg-subtle border border-border rounded-md focus-within:(border-border-hover ring-2 ring-accent/70)"
625- >
623+ <div class =" flex items-center bg-bg-subtle border border-border rounded-md" >
626624 <select
627625 id =" granularity"
628626 v-model =" selectedGranularity"
629- class =" w-full bg-bg-subtle font-mono text-sm text-fg outline-none appearance-none"
627+ class =" w-full px-2.5 py-1.75 bg-bg-subtle font-mono text-sm text-fg outline-none appearance-none focus-visible:outline-accent/70 "
630628 >
631629 <option value =" daily" >{{ $t('package.downloads.granularity_daily') }}</option >
632630 <option value =" weekly" >{{ $t('package.downloads.granularity_weekly') }}</option >
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ const typesHref = computed(() => {
6060 :is =" typesHref ? NuxtLink : 'span'"
6161 :to =" typesHref"
6262 :tabindex =" !typesHref ? 0 : undefined"
63- class =" inline-flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs rounded transition-colors duration-200"
63+ class =" inline-flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs rounded transition-colors duration-200 focus-visible:(outline-2 outline-accent) "
6464 :class =" [
6565 hasTypes
6666 ? 'text-fg-muted bg-bg-muted border border-border'
@@ -85,7 +85,7 @@ const typesHref = computed(() => {
8585 <TooltipApp :text =" hasEsm ? $t('package.metrics.esm') : $t('package.metrics.no_esm')" >
8686 <span
8787 tabindex =" 0"
88- class =" inline-flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs rounded transition-colors duration-200"
88+ class =" inline-flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs rounded transition-colors duration-200 focus-visible:(outline-2 outline-accent) "
8989 :class ="
9090 hasEsm
9191 ? 'text-fg-muted bg-bg-muted border border-border'
@@ -107,7 +107,7 @@ const typesHref = computed(() => {
107107 <TooltipApp :text =" $t('package.metrics.cjs')" >
108108 <span
109109 tabindex =" 0"
110- class =" inline-flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs text-fg-muted bg-bg-muted border border-border rounded transition-colors duration-200"
110+ class =" inline-flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs text-fg-muted bg-bg-muted border border-border rounded transition-colors duration-200 focus-visible:(outline-2 outline-accent) "
111111 >
112112 <span class =" i-carbon-checkmark w-3 h-3" aria-hidden =" true" />
113113 CJS
You can’t perform that action at this time.
0 commit comments