feat: Update settings pages UI (#13191)

This commit is contained in:
Sivin Varghese
2026-01-15 12:30:53 +05:30
committed by GitHub
parent f6b2bc170e
commit ea592481d1
120 changed files with 2388 additions and 2023 deletions
@@ -73,9 +73,9 @@ const onClickCreateButton = () => {
<template>
<section class="flex flex-col w-full h-full overflow-hidden bg-n-surface-1">
<header
class="sticky top-0 z-10 px-6 pb-3 lg:px-0 after:absolute after:inset-x-0 after:-bottom-4 after:bg-gradient-to-b after:from-n-surface-1 after:from-10% after:dark:from-0% after:to-transparent after:h-4 after:pointer-events-none"
class="sticky top-0 z-10 px-6 pb-3 after:absolute after:inset-x-0 after:-bottom-4 after:bg-gradient-to-b after:from-n-surface-1 after:from-10% after:dark:from-0% after:to-transparent after:h-4 after:pointer-events-none"
>
<div class="w-full max-w-5xl mx-auto lg:px-6">
<div class="w-full max-w-5xl mx-auto">
<div class="flex items-center justify-between gap-3">
<div
v-if="showHeaderTitle"
@@ -83,7 +83,7 @@ const onClickCreateButton = () => {
>
<span
v-if="activePortalName"
class="text-lg font-520 text-n-slate-12 ltr:mr-1 rtl:ml-1"
class="text-heading-1 text-n-slate-12 ltr:mr-1 rtl:ml-1"
>
{{ activePortalName }}
</span>
@@ -91,7 +91,7 @@ const onClickCreateButton = () => {
<OnClickOutside @trigger="showPortalSwitcher = false">
<Button
icon="i-lucide-chevron-down"
variant="ghost"
:variant="showPortalSwitcher ? 'faded' : 'ghost'"
color="slate"
size="xs"
class="rounded-md group-hover:bg-n-slate-3 hover:bg-n-slate-3 [&>span]:size-4"
@@ -133,8 +133,8 @@ const onClickCreateButton = () => {
<slot name="header-actions" />
</div>
</header>
<main class="flex-1 px-6 overflow-y-auto lg:px-0">
<div class="w-full max-w-5xl mx-auto py-3 lg:px-6">
<main class="flex-1 px-6 overflow-y-auto">
<div class="w-full max-w-5xl mx-auto py-3">
<slot name="content" />
</div>
</main>
@@ -143,7 +143,7 @@ const onClickCreateButton = () => {
:current-page="currentPage"
:total-items="totalItems"
:items-per-page="itemsPerPage"
class="max-w-[105rem]"
class="max-w-[67rem]"
@update:current-page="updateCurrentPage"
/>
</footer>