Skip to content

Commit e00f4b0

Browse files
committed
few more rings
1 parent caeb263 commit e00f4b0

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

app/components/Package/DownloadAnalytics.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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>

app/components/Package/MetricsBadges.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)