File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ defineExpose({ focus })
128128 @blur =" isSearchFocused = false"
129129 size =" small"
130130 />
131- <button type =" submit" class =" sr-only" tabindex = " -1 " >{{ $t('search.button') }}</button >
131+ <button type =" submit" class =" sr-only" >{{ $t('search.button') }}</button >
132132 </div >
133133 </div >
134134 </form >
Original file line number Diff line number Diff line change @@ -79,14 +79,18 @@ const isButtonMedium = computed(() => props.size === 'medium' && !isLink.value)
7979 :class =" {
8080 'flex': block,
8181 'inline-flex': !block,
82- 'underline-offset-[0.2rem] underline decoration-1 decoration-fg/30': !isLinkAnchor && isLink,
83- 'font-mono text-fg hover:(decoration-accent) focus-visible:(text-accent outline-offset-2)':
82+ 'underline-offset-[0.2rem] underline decoration-1 decoration-fg/30':
83+ !isLinkAnchor && isLink && !noUnderline,
84+ 'justify-start font-mono text-fg hover:(decoration-accent) focus-visible:(text-accent outline-offset-2)':
8485 isLink,
85- 'justify-center border border-solid border-border rounded-md outline-offset-2': isButton,
86+ 'justify-center font-mono border border-solid border-border rounded-md outline-offset-2':
87+ isButton,
8688 'text-sm px-4 py-2': isButtonMedium,
8789 'text-xs px-2 py-0.5': isButtonSmall,
88- 'text-bg bg-fg border-fg hover:(bg-fg/80)': variant === 'button-primary',
89- 'text-fg bg-bg hover:(bg-fg/10 border-fg/10)': variant === 'button-secondary',
90+ 'text-bg bg-fg border-fg hover:(bg-fg/80) aria-[current=true]:(bg-fg/80)':
91+ variant === 'button-primary',
92+ 'text-fg bg-bg hover:(bg-fg/10 border-fg/10) aria-[current=true]:(bg-fg/10 border-fg/10)':
93+ variant === 'button-secondary',
9094 }"
9195 :to =" to"
9296 :aria-keyshortcuts =" ariaKeyshortcuts"
You can’t perform that action at this time.
0 commit comments