Skip to content

Commit

Permalink
Style system updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kencrim committed Oct 19, 2023
1 parent 7fb01c7 commit 90a7582
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Label/Label.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<span
:class="[
readOnly ? 'text-gray-300' : 'text-gray-800',
srOnlyLabel ? 'sr-only' : 'flex items-center mb-1 type-small-700',
srOnlyLabel ? 'sr-only' : 'flex items-center mb-1 type-small-500',
{ 'justify-between flex-row-reverse': tooltipContent && (tooltipPosition === 'trailing') }
]"
data-testid="labelWrapper"
Expand Down
6 changes: 3 additions & 3 deletions src/components/TextInput/TextInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<div
data-testId="input-container"
:class="[
'bg-white h-11 px-3 py-2 rounded-sm flex items-center gap-2 border border-gray-200',
{ 'hover:border-gray-300 focus-within:border-blue-500 focus-within:hover:border-blue-500 focus-within:outline-dashed focus-within:outline-black focus-within:outline-offset-1 focus-within:outline-1': !disabled && !readonly },
'bg-white h-11 px-3 py-2 rounded flex items-center gap-2 border border-gray-200',
{ 'hover:border-gray-300 focus-within:border-blue-500 focus-within:hover:border-blue-500 focus-within:outline-black focus-within:outline-offset-1 focus-within:outline-1': !disabled && !readonly },
{ '!border-green-700 !bg-green-50': success },
{ '!border-red-600 !bg-red-50': error },
{ '!bg-gray-50' : disabled || readonly || withCopyButton },
Expand Down Expand Up @@ -117,7 +117,7 @@
<button
v-if="withCopyButton"
type="button"
class="rounded-full px-3 h-7 type-xs-700 bg-black text-white hover:bg-gray-700 focus-visible:outline-dashed focus-within:outline-1 focus-visible:outline-black focus-visible:outline-offset-1 active:bg-gray-800 focus:bg-gray-800"
class="rounded-full px-3 h-7 type-xs-700 bg-black text-white hover:bg-gray-700 focus-within:outline-1 focus-visible:outline-black focus-visible:outline-offset-1 active:bg-gray-800 focus:bg-gray-800"
@click="copyToClipboard"
>
{{ copyButtonLabel }}
Expand Down

0 comments on commit 90a7582

Please sign in to comment.