From 18e00bf89aaedd7a4211ef9cc3dee975bc87d3db Mon Sep 17 00:00:00 2001 From: Munawwirul Jamal Date: Sun, 12 Oct 2025 11:40:53 +0700 Subject: [PATCH] dev: hotfix, text-size standardization --- app/components/pub/ui/button/index.ts | 4 ++-- app/components/pub/ui/checkbox/Checkbox.vue | 2 +- app/components/pub/ui/form/FormDescription.vue | 2 +- app/components/pub/ui/label/Label.vue | 2 +- app/components/pub/ui/table/Table.vue | 2 +- app/components/pub/ui/table/TableCaption.vue | 2 +- app/components/pub/ui/table/TableEmpty.vue | 2 +- app/components/pub/ui/tabs/TabsTrigger.vue | 2 +- app/components/pub/ui/textarea/Textarea.vue | 2 +- app/components/pub/ui/toast/ToastAction.vue | 2 +- app/components/pub/ui/toast/ToastDescription.vue | 2 +- app/components/pub/ui/toast/ToastTitle.vue | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/components/pub/ui/button/index.ts b/app/components/pub/ui/button/index.ts index c16fb713..c1aa89a8 100644 --- a/app/components/pub/ui/button/index.ts +++ b/app/components/pub/ui/button/index.ts @@ -4,7 +4,7 @@ import { cva } from 'class-variance-authority' export { default as Button } from './Button.vue' export const buttonVariants = cva( - 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md md:tex-xs xl:text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', + 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md md:text-xs 2xl:text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', { variants: { variant: { @@ -19,7 +19,7 @@ export const buttonVariants = cva( link: 'text-primary underline-offset-4 hover:underline', }, size: { - default: 'md:h8 xl:h-9 px-4 py-2', + default: 'md:h8 2xl:h-9 px-4 py-2', xs: 'h-7 rounded px-2', sm: 'h-8 rounded-md px-3 text-xs', lg: 'h-10 rounded-md px-8', diff --git a/app/components/pub/ui/checkbox/Checkbox.vue b/app/components/pub/ui/checkbox/Checkbox.vue index f8b25c7a..1e01933d 100644 --- a/app/components/pub/ui/checkbox/Checkbox.vue +++ b/app/components/pub/ui/checkbox/Checkbox.vue @@ -21,7 +21,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits) diff --git a/app/components/pub/ui/form/FormDescription.vue b/app/components/pub/ui/form/FormDescription.vue index 60bc8767..b8508491 100644 --- a/app/components/pub/ui/form/FormDescription.vue +++ b/app/components/pub/ui/form/FormDescription.vue @@ -14,7 +14,7 @@ const { formDescriptionId } = useFormField()