File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const isLink = computed(() => props.variant === 'link' || props.variant === 'lin
5656const isButton = computed (() => ! isLink .value )
5757const isButtonSmall = computed (() => props .size === ' small' && ! isLink .value )
5858const isButtonMedium = computed (() => props .size === ' medium' && ! isLink .value )
59- const isBlock = computed (() => isButton || props .variant === ' link-block' )
59+ const isBlock = computed (() => isButton . value || props .variant === ' link-block' )
6060 </script >
6161
6262<template >
@@ -83,7 +83,8 @@ const isBlock = computed(() => isButton || props.variant === 'link-block')
8383 'underline-offset-[0.2rem] underline decoration-1 decoration-fg/30': !isLinkAnchor && isLink,
8484 'justify-start font-mono text-fg hover:(decoration-accent text-accent) focus-visible:(decoration-accent text-accent) transition-colors duration-200':
8585 isLink,
86- 'justify-center font-mono border border-border rounded-md transition-all duration-200': isButton,
86+ 'justify-center font-mono border border-border rounded-md transition-all duration-200':
87+ isButton,
8788 'text-sm px-4 py-2': isButtonMedium,
8889 'text-xs px-2 py-0.5': isButtonSmall,
8990 'bg-transparent text-fg hover:(bg-fg/10) focus-visible:(bg-fg/10)':
You can’t perform that action at this time.
0 commit comments