Skip to content

Commit 11227f4

Browse files
committed
fix textarea tokens
1 parent 6367ae7 commit 11227f4

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.changeset/hot-clocks-relax.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@frontify/fondue": major
3+
---
4+
5+
fix: fix textarea tokens

packages/fondue/src/utilities/input.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ type InputStyleGroup =
3939
* @deprecated Please use a fondue component instead.
4040
**/
4141
export const InputStyles: Record<InputStyleGroup, string> = {
42-
base: 'tw-flex tw-items-center tw-justify-between tw-gap-2 tw-px-3 tw-transition tw-text-sm tw-font-sans tw-relative tw-bg-base tw-border tw-rounded tw-line-strong',
42+
base: 'tw-flex tw-items-center tw-justify-between tw-gap-2 tw-px-3 tw-transition tw-text-sm tw-font-sans tw-relative tw-bg-base tw-border tw-rounded tw-line-mid',
4343
width: 'tw-w-full',
4444
height: 'tw-h-9 tw-min-h-[2.35rem]',
45-
element: 'tw-bg-transparent tw-border-line-strong tw-text-text tw-placeholder-text-x-weak tw-outline-none tw-p-2',
46-
focus: 'focus:tw-border-line-xx-strong',
47-
focusWithin: 'focus-within:tw-border-line-xx-strong focus-within:hover:tw-border-line-xx-strong',
48-
hover: 'hover:tw-border-line-x-strong',
45+
element: 'tw-bg-transparent tw-border-line-mid tw-text-text tw-placeholder-text-x-weak tw-outline-none tw-p-2',
46+
focus: 'focus:tw-border-line-strong',
47+
focusWithin: 'focus-within:tw-border-line-strong focus-within:hover:tw-border-line-strong',
48+
hover: 'hover:tw-border-line-strong',
4949
disabled:
5050
'disabled:tw-bg-box-disabled disabled:tw-border-line-weak disabled:tw-text-text-disabled disabled:hover:tw-cursor-not-allowed disabled:hover:tw-border-line-weak',
5151
readOnly:

0 commit comments

Comments
 (0)