Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/OgImage/UnaUIContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const { logo, title: siteTitle, showTitle } = useConfig().value.header
<h1 class="text-8xl font-bold">
{{ title }}
</h1>
<p class="text-muted-foreground text-4xl leading-tight">
<p class="text-4xl text-muted-foreground leading-tight">
{{ description }}
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/common/command/CommandGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const delegatedProps = computed(() => {
v-bind="delegatedProps"
:class="cn('overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground', props.class)"
>
<ComboboxLabel v-if="heading" class="text-muted-foreground px-2 py-1.5 text-xs font-medium">
<ComboboxLabel v-if="heading" class="px-2 py-1.5 text-xs text-muted-foreground font-medium">
{{ heading }}
</ComboboxLabel>
<slot />
Expand Down
2 changes: 1 addition & 1 deletion components/common/dialog/DialogContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
>
<slot />
<DialogClose
class="data-[state=open]:text-muted-foreground focus:ring-ring absolute right-4 top-4 rounded-sm bg-background opacity-70 ring-offset-background transition-opacity disabled:pointer-events-none hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2"
class="absolute right-4 top-4 rounded-sm bg-background opacity-70 ring-offset-background transition-opacity disabled:pointer-events-none data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-ring"
>
<Icon name="lucide:x" class="block square-4" />
<span class="sr-only">Close</span>
Expand Down
2 changes: 1 addition & 1 deletion components/common/dialog/DialogScrollContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
<slot />

<DialogClose
class="hover:bg-secondary absolute right-3 top-3 rounded-md p-0.5 transition-colors"
class="absolute right-3 top-3 rounded-md p-0.5 transition-colors hover:bg-secondary"
>
<Icon name="lucide:x" class="block square-4" />
<span class="sr-only">Close</span>
Expand Down
6 changes: 3 additions & 3 deletions components/common/sheet/SheetContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import type { DialogContentEmits, DialogContentProps } from 'radix-vue'
import type { HTMLAttributes } from 'vue'
import type { SheetVariants } from '.'
import { cn } from '@/lib/utils'
import {
DialogClose,
DialogContent,
Expand All @@ -14,6 +13,7 @@ import {
useForwardPropsEmits,
} from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { sheetVariants } from '.'

interface SheetContentProps extends DialogContentProps {
Expand Down Expand Up @@ -41,7 +41,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
<template>
<DialogPortal>
<DialogOverlay
class="fixed inset-0 z-50 data-[state=closed]:animate-out data-[state=open]:animate-in bg-black/80 data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0"
class="fixed inset-0 z-50 bg-black/80 data-[state=closed]:animate-out data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0"
/>
<DialogContent
:class="cn(sheetVariants({ side }), props.class)"
Expand All @@ -57,7 +57,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
<slot />

<DialogClose
class="focus:ring-ring absolute right-4 top-4 rounded-sm bg-background opacity-70 ring-offset-background transition-opacity disabled:pointer-events-none hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2"
class="absolute right-4 top-4 rounded-sm bg-background opacity-70 ring-offset-background transition-opacity disabled:pointer-events-none hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-ring"
>
<Icon name="lucide:x" class="block square-4" />
</DialogClose>
Expand Down
6 changes: 3 additions & 3 deletions components/content/Field.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const { fieldRequiredText } = useConfig().value.main
<span class="text-md text-primary font-bold">
{{ name }}
</span>
<span v-if="required" class="text-muted-foreground text-sm font-mono">
<span v-if="required" class="text-sm text-muted-foreground font-mono">
{{ fieldRequiredText }}
</span>
<span class="text-muted-foreground ml-auto text-sm font-mono">
<span class="ml-auto text-sm text-muted-foreground font-mono">
{{ type }}
</span>
</div>
Expand All @@ -30,7 +30,7 @@ const { fieldRequiredText } = useConfig().value.main
</ProseCodeInline>
</div>
</div>
<span class="text-muted-foreground text-sm">
<span class="text-sm text-muted-foreground">
<ContentSlot unwrap="p" />
{{ description }}
</span>
Expand Down
2 changes: 1 addition & 1 deletion components/content/Kbd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const sizeClasses = {

<template>
<kbd
class="border-border pointer-events-none h-5 inline-flex select-none items-center gap-1 border rounded bg-muted font-medium font-sans"
class="pointer-events-none h-5 inline-flex select-none items-center gap-1 border border-border rounded bg-muted font-medium font-sans"
:class="sizeClasses[size]"
>
<slot />
Expand Down
2 changes: 1 addition & 1 deletion components/layout/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { footer } = useConfig().value
<template>
<footer class="py-6 text-muted-foreground md:px-8 md:py-0">
<div class="container flex flex-col items-center justify-between gap-2 md:h-24 md:flex-row">
<footer class="text-muted-foreground py-6 md:px-8 md:py-0">
<footer class="py-6 text-muted-foreground md:px-8 md:py-0">
<div class="container flex flex-col items-center justify-between gap-2 md:h-24 md:flex-row">
<span class="text-sm">
{{ footer.credits }}
Expand Down
4 changes: 2 additions & 2 deletions components/layout/Header/Nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const { nav } = useConfig().value.header
<div class="font-semibold">
{{ link.title }}
</div>
<div class="text-muted-foreground text-sm">
<div class="text-sm text-muted-foreground">
{{ link.description }}
</div>
</NuxtLink>
Expand All @@ -32,7 +32,7 @@ const { nav } = useConfig().value.header
</CommonNavigationMenuContent>
</template>
<NuxtLink v-else :to="item.to" :target="item.target">
<NIcon name="lucide-arrow-up-right" class="text-muted-foreground absolute right-2 top-2" size="13" />
<NIcon name="lucide-arrow-up-right" class="absolute right-2 top-2 text-muted-foreground" size="13" />
<div class="bg-transparent pr-6 font-semibold" :class="navigationMenuTriggerStyle()">
{{ item.title }}
</div>
Expand Down
4 changes: 2 additions & 2 deletions components/layout/Header/NavMobileItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ watch(isOpen, (v) => {
<div class="font-semibold">
{{ link.title }}
</div>
<div class="text-muted-foreground text-sm">
<div class="text-sm text-muted-foreground">
{{ link.description }}
</div>
</NuxtLink>
Expand All @@ -46,6 +46,6 @@ watch(isOpen, (v) => {
</template>
<NuxtLink v-else :to="item.to" :target="item.target" class="w-full flex p-2">
{{ item.title }}
<Icon name="lucide:arrow-up-right" class="text-muted-foreground ml-1" size="12" />
<Icon name="lucide:arrow-up-right" class="ml-1 text-muted-foreground" size="12" />
</NuxtLink>
</template>
2 changes: 1 addition & 1 deletion components/layout/PrevNextButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defineProps<{
<div class="text-lg font-semibold">
{{ prevNext.title }}
</div>
<div v-if="prevNext.description" class="text-muted-foreground text-sm">
<div v-if="prevNext.description" class="text-sm text-muted-foreground">
{{ prevNext.description }}
</div>
</span>
Expand Down
6 changes: 3 additions & 3 deletions components/layout/SearchDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,16 @@ function handleNavigate(delta: -1 | 1) {

<span v-for="(subtitle, j) in item.titles" :key="`${subtitle}${j}`" class="flex shrink-0 self-center">
{{ subtitle }}
<Icon name="lucide:chevron-right" class="text-muted-foreground mx-0.5 self-center" />
<Icon name="lucide:chevron-right" class="mx-0.5 self-center text-muted-foreground" />
</span>
<span class="shrink-0 self-center">
{{ item.title }}
</span>
<span class="text-muted-foreground ml-2 self-center truncate text-xs" v-html="getHighlightedContent(item.content)" />
<span class="ml-2 self-center truncate text-xs text-muted-foreground" v-html="getHighlightedContent(item.content)" />
</NuxtLink>
</div>

<div v-else class="text-muted-foreground pt-4 text-center">
<div v-else class="pt-4 text-center text-muted-foreground">
No results found.
</div>
</CommonCommandList>
Expand Down
4 changes: 2 additions & 2 deletions components/layout/Toc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const links = computed(
:level="0"
:class="[links.length && 'border-b pb-5']"
/>
<div v-if="links" class="text-muted-foreground pt-5">
<div v-if="links" class="pt-5 text-muted-foreground">
<NuxtLink
v-for="(link, i) in links"
:key="i"
Expand All @@ -52,7 +52,7 @@ const links = computed(
class="mr-1 self-center"
/>
{{ link.title }}
<Icon name="lucide:arrow-up-right" class="text-muted-foreground ml-auto self-center" size="13" />
<Icon name="lucide:arrow-up-right" class="ml-auto self-center text-muted-foreground" size="13" />
</NuxtLink>
</div>
</CommonScrollArea>
Expand Down
2 changes: 1 addition & 1 deletion content/2.api/2.advanced/1.override.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const { footer } = useConfig().value
<template>
<footer class="py-6 text-muted-foreground md:px-8 md:py-0">
<div class="container flex flex-col items-center justify-between gap-2 md:h-24 md:flex-row">
<footer class="text-muted-foreground py-6 md:px-8 md:py-0">
<footer class="py-6 text-muted-foreground md:px-8 md:py-0">
<div class="container flex flex-col items-center justify-between gap-2 md:h-24 md:flex-row">
My footer
<span class="flex-1" />
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@iconify-json/tabler": "^1.2.16",
"@iconify-json/vscode-icons": "^1.2.16",
"@iconify/utils": "^2.3.0",
"@nuxt/content": "^2.13.4",
"@nuxt/content": "^3.0.0",
"@nuxt/icon": "^1.10.3",
"@nuxt/image": "^1.9.0",
"@nuxt/kit": "^3.17.1",
Expand Down
Loading
Loading