File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,9 +33,10 @@ defineExpose({
3333 :class =" {
3434 'text-sm px-4 py-2': variant !== 'tag',
3535 'text-xs px-2 py-0.5': variant === 'tag',
36- 'bg-transparent text-fg hover:enabled:(bg-accent/30 border-fg)':
36+ 'bg-transparent text-fg hover:enabled:(bg-accent/30 border-fg) focus-visible:enabled:(bg-accent/30 border-fg) ':
3737 variant === 'tag' || variant === 'secondary',
38- 'text-bg bg-accent hover:enabled:(bg-accent/50)': variant === 'primary',
38+ 'text-bg bg-accent hover:enabled:(bg-accent/50) focus-visible:enabled:(bg-accent/50)':
39+ variant === 'primary',
3940 }"
4041 :type =" props.type"
4142 :disabled =" disabled ? true : undefined"
Original file line number Diff line number Diff line change @@ -59,15 +59,16 @@ const props = withDefaults(
5959 v-else
6060 class =" group inline-flex gap-x-1 items-center justify-center"
6161 :class =" {
62- 'text-fg underline-offset-[0.2rem] underline decoration-1 decoration-fg/50 hover:(no-underline text-accent) transition-colors duration-200':
62+ 'text-fg underline-offset-[0.2rem] underline decoration-1 decoration-fg/50 hover:(no-underline text-accent) focus-visible:(no-underline text-accent) transition-colors duration-200':
6363 variant === 'link',
6464 'gap-x-1 font-mono border border-border rounded-md transition-all duration-200 aria-current:(bg-fg text-bg border-fg hover:enabled:(text-bg/50))':
6565 variant !== 'link',
6666 'text-sm px-4 py-2': variant !== 'tag' && variant !== 'link',
6767 'text-xs px-2 py-0.5': variant === 'tag',
68- 'bg-transparent text-fg hover:(bg-accent/30 border-fg)':
68+ 'bg-transparent text-fg hover:(bg-accent/30 border-fg) focus-visible:(bg-accent/30 border-fg) ':
6969 variant === 'tag' || variant === 'button-secondary',
70- 'text-bg bg-fg hover:(bg-accent/90)': variant === 'button-primary',
70+ 'text-bg bg-fg hover:(bg-accent/90) focus-visible:(bg-accent/90)':
71+ variant === 'button-primary',
7172 }"
7273 :to =" to"
7374 :href =" href"
You can’t perform that action at this time.
0 commit comments