Skip to content

Commit

Permalink
size-6
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Jul 15, 2024
1 parent 8b7d2b8 commit b9febd5
Show file tree
Hide file tree
Showing 18 changed files with 43 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Button
size="icon"
variant="outline"
class="h-6 w-6 opacity-0 transition-opacity group-hover:opacity-100"
class="size-6 opacity-0 transition-opacity group-hover:opacity-100"
>
<Copy class="h-3 w-3" />
<span class="sr-only">Copy Order ID</span>
Expand Down Expand Up @@ -157,13 +157,13 @@
<Pagination.Root count={10} class="ml-auto mr-0 w-auto">
<Pagination.Content>
<Pagination.Item>
<Button size="icon" variant="outline" class="h-6 w-6">
<Button size="icon" variant="outline" class="size-6">
<ChevronLeft class="size-3.5" />
<span class="sr-only">Previous Order</span>
</Button>
</Pagination.Item>
<Pagination.Item>
<Button size="icon" variant="outline" class="h-6 w-6">
<Button size="icon" variant="outline" class="size-6">
<ChevronRight class="size-3.5" />
<span class="sr-only">Next Order</span>
</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Button
size="icon"
variant="outline"
class="h-6 w-6 opacity-0 transition-opacity group-hover:opacity-100"
class="size-6 opacity-0 transition-opacity group-hover:opacity-100"
>
<Copy class="h-3 w-3" />
<span class="sr-only">Copy Order ID</span>
Expand Down Expand Up @@ -157,13 +157,13 @@
<Pagination.Root count={10} class="ml-auto mr-0 w-auto">
<Pagination.Content>
<Pagination.Item>
<Button size="icon" variant="outline" class="h-6 w-6">
<Button size="icon" variant="outline" class="size-6">
<ChevronLeft class="size-3.5" />
<span class="sr-only">Previous Order</span>
</Button>
</Pagination.Item>
<Pagination.Item>
<Button size="icon" variant="outline" class="h-6 w-6">
<Button size="icon" variant="outline" class="size-6">
<ChevronRight class="size-3.5" />
<span class="sr-only">Next Order</span>
</Button>
Expand Down
4 changes: 2 additions & 2 deletions apps/www/src/lib/components/docs/copy-button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
size="icon"
variant="ghost"
class={cn(
"relative z-10 h-6 w-6 text-zinc-50 hover:bg-zinc-700 hover:text-zinc-50",
"relative z-10 size-6 text-zinc-50 hover:bg-zinc-700 hover:text-zinc-50",
className
)}
{...restProps}
Expand Down Expand Up @@ -106,7 +106,7 @@
{:else}
<button
class={cn(
"absolute right-4 top-4 z-10 inline-flex h-6 w-6 items-center justify-center rounded-md text-sm font-medium text-zinc-50 transition-colors hover:bg-zinc-700 hover:text-zinc-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
"absolute right-4 top-4 z-10 inline-flex size-6 items-center justify-center rounded-md text-sm font-medium text-zinc-50 transition-colors hover:bg-zinc-700 hover:text-zinc-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
className
)}
{...restProps}
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/lib/components/docs/nav/main-nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<div class="mr-4 hidden md:flex">
<a href="/" class="mr-6 flex items-center space-x-2">
<Icons.logo class="h-6 w-6" />
<Icons.logo class="size-6" />
<span class="hidden font-bold sm:inline-block">
{siteConfig.name}
</span>
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/lib/components/docs/tailwind-indicator.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div
class="fixed bottom-1 left-1 z-50 flex h-6 w-6 items-center justify-center rounded-full bg-gray-800 p-3 font-mono text-xs text-white"
class="fixed bottom-1 left-1 z-50 flex size-6 items-center justify-center rounded-full bg-gray-800 p-3 font-mono text-xs text-white"
>
<div class="block sm:hidden">xs</div>
<div class="hidden sm:block md:hidden lg:hidden xl:hidden 2xl:hidden">sm</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
>
<span
class={cn(
"flex h-6 w-6 items-center justify-center rounded-full bg-[--theme-primary]"
"flex size-6 items-center justify-center rounded-full bg-[--theme-primary]"
)}
>
{#if isActive}
Expand Down
4 changes: 2 additions & 2 deletions apps/www/src/lib/registry/default/block/dashboard-01.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
class="hidden flex-col gap-6 text-lg font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-sm lg:gap-6"
>
<a href="##" class="flex items-center gap-2 text-lg font-semibold md:text-base">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="sr-only">Acme Inc</span>
</a>
<a href="##" class="text-foreground transition-colors hover:text-foreground">
Expand Down Expand Up @@ -59,7 +59,7 @@
<Sheet.Content side="left">
<nav class="grid gap-6 text-lg font-medium">
<a href="##" class="flex items-center gap-2 text-lg font-semibold">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="sr-only">Acme Inc</span>
</a>
<a href="##" class="hover:text-foreground"> Dashboard </a>
Expand Down
8 changes: 4 additions & 4 deletions apps/www/src/lib/registry/default/block/dashboard-02.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class="flex h-full max-h-screen flex-col gap-2">
<div class="flex h-14 items-center border-b px-4 lg:h-[60px] lg:px-6">
<a href="/" class="flex items-center gap-2 font-semibold">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="">Acme Inc</span>
</a>
<Button variant="outline" size="icon" class="ml-auto h-8 w-8">
Expand All @@ -47,7 +47,7 @@
<ShoppingCart class="size-4" />
Orders
<Badge
class="ml-auto flex h-6 w-6 shrink-0 items-center justify-center rounded-full"
class="ml-auto flex size-6 shrink-0 items-center justify-center rounded-full"
>
6
</Badge>
Expand Down Expand Up @@ -110,7 +110,7 @@
<Sheet.Content side="left" class="flex flex-col">
<nav class="grid gap-2 text-lg font-medium">
<a href="##" class="flex items-center gap-2 text-lg font-semibold">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="sr-only">Acme Inc</span>
</a>
<a
Expand All @@ -127,7 +127,7 @@
<ShoppingCart class="size-5" />
Orders
<Badge
class="ml-auto flex h-6 w-6 shrink-0 items-center justify-center rounded-full"
class="ml-auto flex size-6 shrink-0 items-center justify-center rounded-full"
>
6
</Badge>
Expand Down
4 changes: 2 additions & 2 deletions apps/www/src/lib/registry/default/block/dashboard-04.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class="hidden flex-col gap-6 text-lg font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-sm lg:gap-6"
>
<a href="##" class="flex items-center gap-2 text-lg font-semibold md:text-base">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="sr-only">Acme Inc</span>
</a>
<a href="##" class="text-muted-foreground transition-colors hover:text-foreground">
Expand Down Expand Up @@ -52,7 +52,7 @@
<Sheet.Content side="left">
<nav class="grid gap-6 text-lg font-medium">
<a href="##" class="flex items-center gap-2 text-lg font-semibold">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="sr-only">Acme Inc</span>
</a>
<a href="##" class="text-muted-foreground hover:text-foreground"> Dashboard </a>
Expand Down
6 changes: 3 additions & 3 deletions apps/www/src/lib/registry/default/block/dashboard-05.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@
<Button
size="icon"
variant="outline"
class="h-6 w-6 opacity-0 transition-opacity group-hover:opacity-100"
class="size-6 opacity-0 transition-opacity group-hover:opacity-100"
>
<Copy class="h-3 w-3" />
<span class="sr-only">Copy Order ID</span>
Expand Down Expand Up @@ -677,13 +677,13 @@
<Pagination.Root count={10} class="ml-auto mr-0 w-auto">
<Pagination.Content>
<Pagination.Item>
<Button size="icon" variant="outline" class="h-6 w-6">
<Button size="icon" variant="outline" class="size-6">
<ChevronLeft class="size-3.5" />
<span class="sr-only">Previous Order</span>
</Button>
</Pagination.Item>
<Pagination.Item>
<Button size="icon" variant="outline" class="h-6 w-6">
<Button size="icon" variant="outline" class="size-6">
<ChevronRight class="size-3.5" />
<span class="sr-only">Next Order</span>
</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
class="mb-3 h-6 w-6"
class="mb-3 size-6"
>
<rect width="20" height="14" x="2" y="5" rx="2" />
<path d="M2 10h20" />
Expand All @@ -55,15 +55,15 @@
class="flex flex-col items-center justify-between rounded-md border-2 border-muted bg-transparent p-4 hover:bg-accent hover:text-accent-foreground [&:has([data-state=checked])]:border-primary"
>
<RadioGroup.Item value="paypal" id="paypal" class="sr-only" aria-label="Paypal" />
<Icons.paypal class="mb-3 h-6 w-6" />
<Icons.paypal class="mb-3 size-6" />
Paypal
</Label>
<Label
for="apple"
class="flex flex-col items-center justify-between rounded-md border-2 border-muted bg-transparent p-4 hover:bg-accent hover:text-accent-foreground [&:has([data-state=checked])]:border-primary"
>
<RadioGroup.Item value="apple" id="apple" class="sr-only" aria-label="Apple" />
<Icons.apple class="mb-3 h-6 w-6" />
<Icons.apple class="mb-3 size-6" />
Apple
</Label>
</RadioGroup.Root>
Expand Down
4 changes: 2 additions & 2 deletions apps/www/src/lib/registry/new-york/block/dashboard-01.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
class="hidden flex-col gap-6 text-lg font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-sm lg:gap-6"
>
<a href="##" class="flex items-center gap-2 text-lg font-semibold md:text-base">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="sr-only">Acme Inc</span>
</a>
<a href="##" class="text-foreground transition-colors hover:text-foreground">
Expand Down Expand Up @@ -59,7 +59,7 @@
<Sheet.Content side="left">
<nav class="grid gap-6 text-lg font-medium">
<a href="##" class="flex items-center gap-2 text-lg font-semibold">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="sr-only">Acme Inc</span>
</a>
<a href="##" class="hover:text-foreground"> Dashboard </a>
Expand Down
8 changes: 4 additions & 4 deletions apps/www/src/lib/registry/new-york/block/dashboard-02.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class="flex h-full max-h-screen flex-col gap-2">
<div class="flex h-14 items-center border-b px-4 lg:h-[60px] lg:px-6">
<a href="/" class="flex items-center gap-2 font-semibold">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="">Acme Inc</span>
</a>
<Button variant="outline" size="icon" class="ml-auto h-8 w-8">
Expand All @@ -47,7 +47,7 @@
<ShoppingCart class="size-4" />
Orders
<Badge
class="ml-auto flex h-6 w-6 shrink-0 items-center justify-center rounded-full"
class="ml-auto flex size-6 shrink-0 items-center justify-center rounded-full"
>
6
</Badge>
Expand Down Expand Up @@ -110,7 +110,7 @@
<Sheet.Content side="left" class="flex flex-col">
<nav class="grid gap-2 text-lg font-medium">
<a href="##" class="flex items-center gap-2 text-lg font-semibold">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="sr-only">Acme Inc</span>
</a>
<a
Expand All @@ -127,7 +127,7 @@
<ShoppingCart class="size-5" />
Orders
<Badge
class="ml-auto flex h-6 w-6 shrink-0 items-center justify-center rounded-full"
class="ml-auto flex size-6 shrink-0 items-center justify-center rounded-full"
>
6
</Badge>
Expand Down
4 changes: 2 additions & 2 deletions apps/www/src/lib/registry/new-york/block/dashboard-04.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class="hidden flex-col gap-6 text-lg font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-sm lg:gap-6"
>
<a href="##" class="flex items-center gap-2 text-lg font-semibold md:text-base">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="sr-only">Acme Inc</span>
</a>
<a href="##" class="text-muted-foreground transition-colors hover:text-foreground">
Expand Down Expand Up @@ -52,7 +52,7 @@
<Sheet.Content side="left">
<nav class="grid gap-6 text-lg font-medium">
<a href="##" class="flex items-center gap-2 text-lg font-semibold">
<Package2 class="h-6 w-6" />
<Package2 class="size-6" />
<span class="sr-only">Acme Inc</span>
</a>
<a href="##" class="text-muted-foreground hover:text-foreground"> Dashboard </a>
Expand Down
6 changes: 3 additions & 3 deletions apps/www/src/lib/registry/new-york/block/dashboard-05.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@
<Button
size="icon"
variant="outline"
class="h-6 w-6 opacity-0 transition-opacity group-hover:opacity-100"
class="size-6 opacity-0 transition-opacity group-hover:opacity-100"
>
<Copy class="h-3 w-3" />
<span class="sr-only">Copy Order ID</span>
Expand Down Expand Up @@ -677,13 +677,13 @@
<Pagination.Root count={10} class="ml-auto mr-0 w-auto">
<Pagination.Content>
<Pagination.Item>
<Button size="icon" variant="outline" class="h-6 w-6">
<Button size="icon" variant="outline" class="size-6">
<ChevronLeft class="size-3.5" />
<span class="sr-only">Previous Order</span>
</Button>
</Pagination.Item>
<Pagination.Item>
<Button size="icon" variant="outline" class="h-6 w-6">
<Button size="icon" variant="outline" class="size-6">
<ChevronRight class="size-3.5" />
<span class="sr-only">Next Order</span>
</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
class="mb-3 h-6 w-6"
class="mb-3 size-6"
>
<rect width="20" height="14" x="2" y="5" rx="2" />
<path d="M2 10h20" />
Expand All @@ -63,15 +63,15 @@
class="sr-only"
aria-label="Paypal"
/>
<Icons.paypal class="mb-3 h-6 w-6" />
<Icons.paypal class="mb-3 size-6" />
Paypal
</Label>
<Label
for="apple-{id}"
class="flex flex-col items-center justify-between rounded-md border-2 border-muted bg-transparent p-4 hover:bg-accent hover:text-accent-foreground [&:has([data-state=checked])]:border-primary"
>
<RadioGroup.Item value="apple" id="apple-{id}" class="sr-only" aria-label="Apple" />
<Icons.apple class="mb-3 h-6 w-6" />
<Icons.apple class="mb-3 size-6" />
Apple
</Label>
</RadioGroup.Root>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
url(https://images.unsplash.com/photo-1590069261209-f8e9b8642343?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1376&q=80);"
></div>
<div class="relative z-20 flex items-center text-lg font-medium">
<!-- <Command class="mr-2 h-6 w-6" /> -->
<!-- <Command class="mr-2 size-6" /> -->
Acme Inc
</div>
<div class="relative z-20 mt-auto">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
class="mb-3 h-6 w-6"
class="mb-3 size-6"
>
<rect width="20" height="14" x="2" y="5" rx="2" />
<path d="M2 10h20" />
Expand All @@ -55,15 +55,15 @@
class="flex flex-col items-center justify-between rounded-md border-2 border-muted bg-popover p-4 hover:bg-accent hover:text-accent-foreground [&:has([data-state=checked])]:border-primary"
>
<RadioGroup.Item value="paypal" id="paypal" class="sr-only" aria-label="Paypal" />
<Icons.paypal class="mb-3 h-6 w-6" />
<Icons.paypal class="mb-3 size-6" />
Paypal
</Label>
<Label
for="apple"
class="flex flex-col items-center justify-between rounded-md border-2 border-muted bg-popover p-4 hover:bg-accent hover:text-accent-foreground [&:has([data-state=checked])]:border-primary"
>
<RadioGroup.Item value="apple" id="apple" class="sr-only" aria-label="Apple" />
<Icons.apple class="mb-3 h-6 w-6" />
<Icons.apple class="mb-3 size-6" />
Apple
</Label>
</RadioGroup.Root>
Expand Down

0 comments on commit b9febd5

Please sign in to comment.