π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(nc-gui): page header color update
Ramesh Maned126c5154e12
diff --git a/packages/nc-gui/assets/css/theme-overrides.scss b/packages/nc-gui/assets/css/theme-overrides.scssindex 05e1c9139a..e9b3d1a2c4 100644--- a/packages/nc-gui/assets/css/theme-overrides.scss+++ b/packages/nc-gui/assets/css/theme-overrides.scss@@ -11,8 +11,9 @@ body {@apply !bg-nc-bg-default !text-nc-content-gray;}-// Drawer-.ant-drawer-content {+// Drawer & Modal+.ant-drawer-content,+.ant-modal-content {@apply !bg-nc-bg-default;}diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scssindex d909e808c1..e84455949f 100644--- a/packages/nc-gui/assets/style.scss+++ b/packages/nc-gui/assets/style.scss@@ -119,7 +119,7 @@ body,#__nuxt,.ant-layout,main {- @apply m-0 h-full w-full bg-white;+ @apply m-0 h-full w-full bg-nc-bg-default text-nc-content-gray;}.nc-input-md {@@ -1087,27 +1087,27 @@ svg.nc-virtual-cell-icon {}.nc-breadcrumb {- @apply text-sm text-gray-700 font-weight-500 flex items-center;+ @apply text-sm text-nc-content-gray-subtle font-weight-500 flex items-center;&:not(.nc-no-negative-margin) {@apply -ml-1;}.nc-breadcrumb-item {- @apply h-8 px-2 flex items-center gap-2 my-0;+ @apply inline-block h-8 px-2 flex items-center gap-2 my-0;&.nc-clickable {- @apply cursor-pointer select-none rounded-lg hover:(bg-gray-100 text-gray-900);+ @apply cursor-pointer select-none rounded-lg hover:(bg-nc-bg-gray-extralight text-nc-content-gray-emphasis);}&.active {- @apply font-bold text-gray-800;+ @apply !font-bold !text-nc-content-gray;}}}.nc-breadcrumb-divider {- @apply flex-none text-gray-500 !stroke-transparent;+ @apply flex-none text-nc-content-gray-muted !stroke-transparent;}.nc-animate-dots {diff --git a/packages/nc-gui/components/account/AppStore.vue b/packages/nc-gui/components/account/AppStore.vueindex 8745a5c2ee..075ae9c774 100644--- a/packages/nc-gui/components/account/AppStore.vue+++ b/packages/nc-gui/components/account/AppStore.vue@@ -2,7 +2,7 @@<div class="flex flex-col"><NcPageHeader><template #icon>- <GeneralIcon icon="appStore" class="flex-none text-gray-700 text-[20px] h-5 w-5" />+ <GeneralIcon icon="appStore" class="flex-none text-[20px] h-5 w-5" /></template><template #title><span data-rec="true">diff --git a/packages/nc-gui/components/account/ResetPassword.vue b/packages/nc-gui/components/account/ResetPassword.vueindex c19d0c3047..b780d74f5e 100644--- a/packages/nc-gui/components/account/ResetPassword.vue+++ b/packages/nc-gui/components/account/ResetPassword.vue@@ -64,7 +64,7 @@ const resetError = () => {<div class="flex flex-col"><NcPageHeader><template #icon>- <GeneralIcon icon="passwordChange" class="flex-none text-gray-700 text-[20px] h-5 w-5" />+ <GeneralIcon icon="passwordChange" class="flex-none text-[20px] h-5 w-5" /></template><template #title><span data-rec="true">diff --git a/packages/nc-gui/components/account/SignupSettings.vue b/packages/nc-gui/components/account/SignupSettings.vueindex 1f771d68c8..123e19c8bd 100644--- a/packages/nc-gui/components/account/SignupSettings.vue+++ b/packages/nc-gui/components/account/SignupSettings.vue@@ -30,7 +30,7 @@ loadSettings()<div class="flex flex-col"><NcPageHeader><template #icon>- <GeneralIcon icon="settings" class="flex-none text-[20px] text-gray-700 h-5 w-5" />+ <GeneralIcon icon="settings" class="flex-none text-[20px] h-5 w-5" /></template><template #title><span data-rec="true">diff --git a/packages/nc-gui/components/account/Token.vue b/packages/nc-gui/components/account/Token.vueindex 32cfc751c9..91fb9f5bda 100644--- a/packages/nc-gui/components/account/Token.vue+++ b/packages/nc-gui/components/account/Token.vue@@ -232,7 +232,7 @@ const handleCancel = () => {<div class="flex flex-col"><NcPageHeader><template #icon>- <MdiShieldKeyOutline class="flex-none text-gray-700 h-5 w-5" />+ <MdiShieldKeyOutline class="flex-none h-5 w-5" /></template><template #title><span data-rec="true">diff --git a/packages/nc-gui/components/account/UserList.vue b/packages/nc-gui/components/account/UserList.vueindex 16d64aa072..a29ad53238 100644--- a/packages/nc-gui/components/account/UserList.vue+++ b/packages/nc-gui/components/account/UserList.vue@@ -227,7 +227,7 @@ const userRoleOptions = [<div class="flex flex-col" data-testid="nc-super-user-list"><NcPageHeader><template #icon>- <GeneralIcon icon="users" class="flex-none text-gray-700 h-5 w-5" />+ <GeneralIcon icon="users" class="flex-none h-5 w-5" /></template><template #title><span data-rec="true">diff --git a/packages/nc-gui/components/nc/PageHeader.vue b/packages/nc-gui/components/nc/PageHeader.vueindex 32451d54e7..615022c1e1 100644--- a/packages/nc-gui/components/nc/PageHeader.vue+++ b/packages/nc-gui/components/nc/PageHeader.vue@@ -15,7 +15,7 @@ withDefaults(defineProps<Props>(), {}"><div class="flex-1 flex items-start gap-3">- <div v-if="$slots.icon" class="h-7 flex items-center children:flex-none">+ <div v-if="$slots.icon" class="h-7 flex items-center children:flex-none text-nc-content-gray-subtle"><slot name="icon"></slot></div>@@ -39,10 +39,10 @@ withDefaults(defineProps<Props>(), {@apply h-12 flex items-center gap-3 px-3 py-2;.nc-page-header-title {- @apply text-xl font-semibold text-gray-800 my-0;+ @apply text-xl font-semibold text-nc-content-gray my-0;}.nc-page-header-subtitle {- @apply text-sm font-weight-500 text-gray-700;+ @apply text-sm font-weight-500 text-nc-content-gray-subtle;}}</style>diff --git a/packages/nc-gui/components/workspace/View.vue b/packages/nc-gui/components/workspace/View.vueindex 28e9942e41..1acbd203c1 100644--- a/packages/nc-gui/components/workspace/View.vue+++ b/packages/nc-gui/components/workspace/View.vue@@ -128,7 +128,7 @@ onBeforeUnmount(() => {<div v-if="currentWorkspace" class="flex w-full flex-col nc-workspace-settings"><divv-if="!props.workspaceId"- class="min-w-0 p-2 h-[var(--topbar-height)] border-b-1 border-gray-200 flex items-center gap-2"+ class="min-w-0 p-2 h-[var(--topbar-height)] border-b-1 border-nc-border-gray-medium flex items-center gap-2"><GeneralOpenLeftSidebarBtn v-if="!isNewSidebarEnabled" />@@ -153,7 +153,7 @@ onBeforeUnmount(() => {<NuxtLink:href="`/admin/${orgId}/workspaces`"- class="!hover:(text-gray-800 underline-gray-600) flex items-center !text-gray-700 !underline-transparent max-w-1/4"+ class="!hover:(text-nc-content-gray underline-nc-border-gray-underline) flex items-center !text-nc-content-gray-subtle !underline-transparent max-w-1/4"><div class="nc-breadcrumb-item">{{ $t('labels.workspaces') }}diff --git a/packages/nc-gui/components/workspace/integrations/view.vue b/packages/nc-gui/components/workspace/integrations/view.vueindex 54ed3a99da..6560caaaf6 100644--- a/packages/nc-gui/components/workspace/integrations/view.vue+++ b/packages/nc-gui/components/workspace/integrations/view.vue@@ -55,7 +55,7 @@ onBeforeMount(() => {<template><div v-if="currentWorkspace" class="flex w-full flex-col nc-workspace-integrations">- <div class="flex gap-2 items-center min-w-0 p-2 h-[var(--topbar-height)] border-b-1 border-gray-200">+ <div class="flex gap-2 items-center min-w-0 p-2 h-[var(--topbar-height)] border-b-1 border-nc-border-gray-medium"><GeneralOpenLeftSidebarBtn v-if="!isNewSidebarEnabled" /><div class="flex-1 nc-breadcrumb nc-no-negative-margin pl-1">@@ -98,7 +98,7 @@ onBeforeMount(() => {class="tab-info flex-none":class="{'bg-primary-selected': activeViewTab === 'connections',- 'bg-gray-50': activeViewTab !== 'connections',+ 'bg-nc-bg-gray-extralight': activeViewTab !== 'connections',}">{{ integrationPaginationData.totalRows }}diff --git a/packages/nc-gui/utils/colorsUtils.ts b/packages/nc-gui/utils/colorsUtils.tsindex a3a8167ee5..022d38b466 100644--- a/packages/nc-gui/utils/colorsUtils.ts+++ b/packages/nc-gui/utils/colorsUtils.ts@@ -683,6 +683,7 @@ export const themeVariables = {medium: themeV4Colors.gray[200],dark: themeV4Colors.gray[300],extradark: themeV4Colors.gray[400],+ underline: themeV4Colors.gray[600],},'nc-border-red': {DEFAULT: themeV4Colors.red[500],