Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nc-gui): integration page color update

Ramesh Mane49cd6cd35e17
diff --git a/packages/nc-gui/assets/css/theme-overrides.scss b/packages/nc-gui/assets/css/theme-overrides.scss
index e9b3d1a2c4..f5b623ea59 100644
--- a/packages/nc-gui/assets/css/theme-overrides.scss
+++ b/packages/nc-gui/assets/css/theme-overrides.scss
@@ -66,15 +66,17 @@ body {
// Dropdown Menu
.ant-dropdown-menu.ant-dropdown-menu-root {
.ant-dropdown-menu-item {
- @apply hover:bg-nc-bg-gray-light;
+ &.ant-dropdown-menu-item-disabled {
+ @apply !text-nc-content-gray-disabled hover:bg-transparent;
+ }
&:not(.ant-dropdown-menu-item-disabled) {
- @apply hover:text-nc-content-gray-extreme text-nc-content-gray;
- }
- }
+ @apply hover:(bg-nc-bg-gray-light text-nc-content-gray-extreme) text-nc-content-gray;
- .ant-dropdown-menu-submenu-title {
- @apply hover:bg-nc-bg-gray-light;
+ .ant-dropdown-menu-submenu-title {
+ @apply hover:bg-nc-bg-gray-light;
+ }
+ }
}
}
}
diff --git a/packages/nc-gui/assets/css/variables.css b/packages/nc-gui/assets/css/variables.css
index cf0cbbeb07..e4a40ec9c9 100644
--- a/packages/nc-gui/assets/css/variables.css
+++ b/packages/nc-gui/assets/css/variables.css
@@ -434,6 +434,7 @@
--nc-content-grey-subtle: var(--color-gray-700);
--nc-content-grey-subtle-2: var(--color-gray-600);
--nc-content-grey-muted: var(--color-gray-500);
+ --nc-content-grey-disabled: var(--color-gray-400);
--nc-content-brand-default: var(--color-brand-500);
--nc-content-brand-hover: var(--color-gray-300);
diff --git a/packages/nc-gui/components/nc/Pagination.vue b/packages/nc-gui/components/nc/Pagination.vue
index deaf33b681..43a5a98fdc 100644
--- a/packages/nc-gui/components/nc/Pagination.vue
+++ b/packages/nc-gui/components/nc/Pagination.vue
@@ -151,7 +151,7 @@ const pageSizeDropdownVisibleChange = (value: boolean) => {
</NcButton>
</component>
- <div v-if="!isMobileMode" class="text-gray-500">
+ <div v-if="!isMobileMode" class="text-nc-content-gray-muted">
<a-select
ref="pageListRef"
v-model:value="current"
@@ -162,7 +162,7 @@ const pageSizeDropdownVisibleChange = (value: boolean) => {
@dropdown-visible-change="pageListDropdownVisibleChange"
>
<template #suffixIcon>
- <GeneralIcon icon="arrowDown" class="text-gray-500 nc-select-expand-btn" />
+ <GeneralIcon icon="arrowDown" class="text-nc-content-gray-muted nc-select-expand-btn" />
</template>
</a-select>
<span class="mx-1"> {{ mode !== 'full' ? '/' : 'of' }} </span>
@@ -203,7 +203,7 @@ const pageSizeDropdownVisibleChange = (value: boolean) => {
</NcButton>
</component>
</template>
- <div v-if="showSizeChanger && !isMobileMode" class="text-gray-500">
+ <div v-if="showSizeChanger && !isMobileMode" class="text-nc-content-gray-muted">
<a-select
ref="pageSizeRef"
v-model:value="localPageSize"
@@ -214,7 +214,7 @@ const pageSizeDropdownVisibleChange = (value: boolean) => {
@dropdown-visible-change="pageSizeDropdownVisibleChange"
>
<template #suffixIcon>
- <GeneralIcon icon="arrowDown" class="text-gray-500 nc-select-page-size-expand-btn" />
+ <GeneralIcon icon="arrowDown" class="text-nc-content-gray-muted nc-select-page-size-expand-btn" />
</template>
</a-select>
</div>
@@ -223,7 +223,7 @@ const pageSizeDropdownVisibleChange = (value: boolean) => {
<style lang="scss" scoped>
:deep(.ant-select-selector) {
- @apply !border-gray-200 !rounded-lg !h-[25px];
+ @apply !border-nc-border-gray-medium !rounded-lg !h-[25px];
}
.nc-pagination-icon {
@@ -232,7 +232,7 @@ const pageSizeDropdownVisibleChange = (value: boolean) => {
:deep(.nc-button:not(:disabled)) {
.nc-pagination-icon {
- @apply !text-gray-500;
+ @apply !text-nc-content-gray-muted;
}
}
</style>
diff --git a/packages/nc-gui/components/workspace/integrations/ConnectionsTab.vue b/packages/nc-gui/components/workspace/integrations/ConnectionsTab.vue
index 07b86a5f87..bcbbbd05db 100644
--- a/packages/nc-gui/components/workspace/integrations/ConnectionsTab.vue
+++ b/packages/nc-gui/components/workspace/integrations/ConnectionsTab.vue
@@ -264,7 +264,7 @@ onKeyStroke('ArrowDown', onDown)
<template>
<div class="h-full flex flex-col gap-6 nc-workspace-connections nc-content-max-w mx-auto">
<div class="flex flex-col justify-between gap-2 mx-1">
- <div class="text-sm font-normal text-gray-600">
+ <div class="text-sm font-normal text-nc-content-gray-subtle2">
<div>
{{ $t('msg.manageConnections') }}
<a
@@ -286,7 +286,7 @@ onKeyStroke('ArrowDown', onDown)
@input="handleSearchConnection"
>
<template #prefix>
- <GeneralIcon icon="search" class="mr-2 h-4 w-4 text-gray-500" />
+ <GeneralIcon icon="search" class="mr-2 h-4 w-4 text-nc-content-gray-muted" />
</template>
</a-input>
</div>
@@ -303,10 +303,10 @@ onKeyStroke('ArrowDown', onDown)
<thead>
<tr>
<th
- class="cell-title !hover:bg-gray-100 select-none cursor-pointer"
+ class="cell-title !hover:bg-nc-bg-gray-light select-none cursor-pointer"
:class="{
'cursor-not-allowed': !filteredIntegrations?.length,
- '!text-gray-700': orderBy.title,
+ '!text-nc-content-inverted-secondary': orderBy.title,
}"
@click="updateOrderBy('title')"
>
@@ -325,10 +325,10 @@ onKeyStroke('ArrowDown', onDown)
</th>
<th
- class="cell-type !hover:bg-gray-100 select-none cursor-pointer"
+ class="cell-type !hover:bg-nc-bg-gray-light select-none cursor-pointer"
:class="{
'cursor-not-allowed': !filteredIntegrations?.length,
- '!text-gray-700': orderBy.sub_type,
+ '!text-nc-content-inverted-secondary': orderBy.sub_type,
}"
@click="updateOrderBy('sub_type')"
>
@@ -347,10 +347,10 @@ onKeyStroke('ArrowDown', onDown)
</th>
<th
- class="cell-created-date !hover:bg-gray-100 select-none cursor-pointer"
+ class="cell-created-date !hover:bg-nc-bg-gray-light select-none cursor-pointer"
:class="{
'cursor-not-allowed': !filteredIntegrations?.length,
- '!text-gray-700': orderBy.created_at,
+ '!text-nc-content-inverted-secondary': orderBy.created_at,
}"
@click="updateOrderBy('created_at')"
>
@@ -368,10 +368,10 @@ onKeyStroke('ArrowDown', onDown)
</div>
</th>
<th
- class="cell-added-by !hover:bg-gray-100 select-none cursor-pointer"
+ class="cell-added-by !hover:bg-nc-bg-gray-light select-none cursor-pointer"
:class="{
'cursor-not-allowed': !filteredIntegrations?.length,
- '!text-gray-700': orderBy.created_by,
+ '!text-nc-content-inverted-secondary': orderBy.created_by,
}"
@click="updateOrderBy('created_by')"
>
@@ -389,7 +389,7 @@ onKeyStroke('ArrowDown', onDown)
</div>
</th>
<th
- class="cell-usage !hover:bg-gray-100 select-none cursor-pointer"
+ class="cell-usage !hover:bg-nc-bg-gray-light select-none cursor-pointer"
:class="{
'cursor-not-allowed': !filteredIntegrations?.length,
}"
@@ -430,7 +430,7 @@ onKeyStroke('ArrowDown', onDown)
{{ integration.title }}
</NcTooltip>
<span v-if="integration.is_private">
- <NcBadge :border="false" class="text-primary !h-4.5 bg-brand-50 text-xs">{{
+ <NcBadge :border="false" class="text-primary !h-4.5 bg-nc-bg-brand text-xs">{{
$t('general.private')
}}</NcBadge>
</span>
@@ -495,8 +495,8 @@ onKeyStroke('ArrowDown', onDown)
<NcTooltip
class="text-sm !leading-5 capitalize font-semibold truncate"
:class="{
- 'text-gray-800': !isUserDeleted(integration.created_by),
- 'text-gray-500': isUserDeleted(integration.created_by),
+ 'text-nc-content-gray': !isUserDeleted(integration.created_by),
+ 'text-nc-content-gray-muted': isUserDeleted(integration.created_by),
}"
:disabled="isUserDeleted(integration.created_by)"
show-on-truncate-only
@@ -511,8 +511,8 @@ onKeyStroke('ArrowDown', onDown)
<NcTooltip
class="text-xs !leading-4 truncate"
:class="{
- 'text-gray-600': !isUserDeleted(integration.created_by),
- 'text-gray-500': isUserDeleted(integration.created_by),
+ 'text-nc-content-gray-subtle2': !isUserDeleted(integration.created_by),
+ 'text-nc-content-gray-muted': isUserDeleted(integration.created_by),
}"
:disabled="isUserDeleted(integration.created_by)"
show-on-truncate-only
@@ -525,7 +525,7 @@ onKeyStroke('ArrowDown', onDown)
</NcTooltip>
</div>
</div>
- <div v-else class="w-full truncate text-gray-500">{{ integration.created_by }}</div>
+ <div v-else class="w-full truncate text-nc-content-gray-muted">{{ integration.created_by }}</div>
</NcTooltip>
</div>
</td>
@@ -578,7 +578,7 @@ onKeyStroke('ArrowDown', onDown)
</NcTooltip>
<template v-if="integration?.sub_type !== SyncDataType.NOCODB">
<NcDivider />
- <NcMenuItem class="!text-red-500 !hover:bg-red-50" @click="openDeleteIntegration(integration)">
+ <NcMenuItem class="!text-nc-content-red-medium !hover:bg-nc-bg-red-light" @click="openDeleteIntegration(integration)">
<GeneralIcon icon="delete" />
{{ $t('general.delete') }}
</NcMenuItem>
@@ -610,7 +610,7 @@ onKeyStroke('ArrowDown', onDown)
>
<div
v-if="integrations?.length && !filteredIntegrations.length"
- class="px-2 py-6 text-gray-500 flex flex-col items-center gap-6 text-center"
+ class="px-2 py-6 text-nc-content-gray-muted flex flex-col items-center gap-6 text-center"
>
<img
src="~assets/img/placeholder/no-search-result-found.png"
@@ -627,7 +627,7 @@ onKeyStroke('ArrowDown', onDown)
</div>
<div
v-if="integrationPaginationData.totalRows"
- class="flex flex-row justify-center items-center bg-gray-50 min-h-10"
+ class="flex flex-row justify-center items-center bg-nc-bg-gray-extralight min-h-10"
:class="{
'pointer-events-none': isLoadingIntegrations,
}"
@@ -647,7 +647,7 @@ onKeyStroke('ArrowDown', onDown)
@update:current="loadConnections(undefined, undefined, false)"
@update:page-size="loadConnections(integrationPaginationData.page, $event, false)"
/>
- <div class="text-gray-500 text-xs">
+ <div class="text-nc-content-gray-muted text-xs">
{{ integrationPaginationData.totalRows }} {{ integrationPaginationData.totalRows === 1 ? 'record' : 'records' }}
</div>
</div>
@@ -670,8 +670,8 @@ onKeyStroke('ArrowDown', onDown)
<a-skeleton-input active class="h-9 !rounded-md !w-full"></a-skeleton-input>
</div>
</template>
- <div v-else-if="toBeDeletedIntegration" class="w-full flex flex-col text-gray-800">
- <div class="flex flex-row items-center py-2 px-3.25 bg-gray-50 rounded-lg text-gray-700 mb-4">
+ <div v-else-if="toBeDeletedIntegration" class="w-full flex flex-col text-nc-content-gray">
+ <div class="flex flex-row items-center py-2 px-3.25 bg-nc-bg-gray-extralight rounded-lg text-nc-content-inverted-secondary mb-4">
<GeneralIntegrationIcon :type="toBeDeletedIntegration.sub_type" />
<div
class="text-ellipsis overflow-hidden select-none w-full pl-3"
@@ -680,13 +680,13 @@ onKeyStroke('ArrowDown', onDown)
{{ toBeDeletedIntegration.title }}
</div>
</div>
- <div v-if="toBeDeletedIntegration?.sources?.length" class="flex flex-col pb-2 text-small leading-[18px] text-gray-500">
+ <div v-if="toBeDeletedIntegration?.sources?.length" class="flex flex-col pb-2 text-small leading-[18px] text-nc-content-gray-muted">
<div class="mb-1">Following external data sources using this connection will also be removed</div>
<ul class="!list-disc ml-6 mb-0">
<li
v-for="(source, idx) of toBeDeletedIntegration.sources"
:key="idx"
- class="marker:text-gray-500 !marker:(flex items-center !-mt-1)"
+ class="marker:text-nc-content-gray-muted !marker:(flex items-center !-mt-1)"
>
<div class="flex items-center gap-1">
<div class="flex items-center">
@@ -734,7 +734,7 @@ onKeyStroke('ArrowDown', onDown)
<NcModal v-model:visible="successConfirmModal.isOpen" centered size="small" @keydown.esc="successConfirmModal.isOpen = false">
<div class="flex gap-4">
<div>
- <GeneralIcon icon="circleCheckSolid" class="flex-none !text-green-700 mt-0.5 !h-6 !w-6" />
+ <GeneralIcon icon="circleCheckSolid" class="flex-none !text-nc-content-green-dark mt-0.5 !h-6 !w-6" />
</div>
<div class="flex flex-col gap-3">
@@ -743,10 +743,10 @@ onKeyStroke('ArrowDown', onDown)
{{ successConfirmModal.title }}
</h3>
<NcButton size="xsmall" type="text" @click="successConfirmModal.isOpen = false">
- <GeneralIcon icon="close" class="text-gray-600" />
+ <GeneralIcon icon="close" class="text-nc-content-gray-subtle2" />
</NcButton>
</div>
- <div class="text-sm text-gray-700">
+ <div class="text-sm text-nc-content-inverted-secondary">
{{ successConfirmModal.description }}
</div>
@@ -765,15 +765,15 @@ onKeyStroke('ArrowDown', onDown)
<style lang="scss" scoped>
.source-card-link {
- @apply !text-black !no-underline;
+ @apply !text-nc-content-gray-extreme !no-underline;
.nc-new-integration-type-title {
- @apply text-sm font-weight-600 text-gray-600;
+ @apply text-sm font-weight-600 text-nc-content-gray-subtle2;
}
}
.source-card {
- @apply flex items-center border-1 rounded-lg p-3 cursor-pointer hover:bg-gray-50;
+ @apply flex items-center border-1 rounded-lg p-3 cursor-pointer hover:bg-nc-bg-gray-extralight;
width: 288px;
.name {
@@ -792,14 +792,14 @@ onKeyStroke('ArrowDown', onDown)
}
.table-container {
- @apply border-1 border-gray-200 rounded-lg overflow-hidden w-full;
+ @apply border-1 border-nc-border-gray-medium rounded-lg overflow-hidden w-full;
.nc-workspace-integration-table {
&.sticky-shadow {
th,
td {
&.cell-title {
- @apply border-r-1 border-gray-200;
+ @apply border-r-1 border-nc-border-gray-medium;
}
}
}
@@ -816,10 +816,10 @@ onKeyStroke('ArrowDown', onDown)
thead {
@apply w-full;
th {
- @apply bg-gray-50 text-sm text-gray-500 font-weight-500;
+ @apply bg-nc-bg-gray-extralight text-sm text-nc-content-gray-muted font-weight-500;
&.cell-title {
- @apply sticky left-0 z-4 bg-gray-50;
+ @apply sticky left-0 z-4 bg-nc-bg-gray-extralight;
}
}
}
@@ -830,24 +830,24 @@ onKeyStroke('ArrowDown', onDown)
@apply cursor-pointer;
td {
- @apply text-sm text-gray-600;
+ @apply text-sm text-nc-content-gray-subtle2;
&.cell-title {
- @apply sticky left-0 z-4 bg-white !text-gray-800 font-semibold;
+ @apply sticky left-0 z-4 bg-nc-bg-default !text-nc-content-gray font-semibold;
}
}
}
}
tr {
- @apply h-[54px] flex border-b-1 border-gray-200 w-full;
+ @apply h-[54px] flex border-b-1 border-nc-border-gray-medium w-full;
&:hover td {
- @apply !bg-gray-50;
+ @apply !bg-nc-bg-gray-extralight;
}
&.selected td {
- @apply !bg-gray-50;
+ @apply !bg-nc-bg-gray-extralight;
}
th,
@@ -905,6 +905,6 @@ onKeyStroke('ArrowDown', onDown)
}
.cell-header {
- @apply text-xs font-semibold text-gray-500;
+ @apply text-xs font-semibold text-nc-content-gray-muted;
}
</style>
diff --git a/packages/nc-gui/components/workspace/integrations/IntegrationsTab.vue b/packages/nc-gui/components/workspace/integrations/IntegrationsTab.vue
index 39c14c70a1..adb6d05e4a 100644
--- a/packages/nc-gui/components/workspace/integrations/IntegrationsTab.vue
+++ b/packages/nc-gui/components/workspace/integrations/IntegrationsTab.vue
@@ -263,7 +263,7 @@ watch(activeViewTab, (value) => {
>
<a-layout>
<a-layout-content class="nc-integration-layout-content">
- <div v-if="isModal" class="p-4 w-full flex items-center justify-between gap-3 border-b-1 border-gray-200">
+ <div v-if="isModal" class="p-4 w-full flex items-center justify-between gap-3 border-b-1 border-nc-border-gray-medium">
<NcButton type="text" size="small" @click="isAddNewIntegrationModalOpen = false">
<GeneralIcon icon="arrowLeft" />
</NcButton>
@@ -271,7 +271,7 @@ watch(activeViewTab, (value) => {
<div class="flex-1 text-base font-weight-700">New Connection</div>
<div class="flex items-center gap-3">
<NcButton size="small" type="text" @click="isAddNewIntegrationModalOpen = false">
- <GeneralIcon icon="close" class="text-gray-600" />
+ <GeneralIcon icon="close" class="text-nc-content-gray-subtle2" />
</NcButton>
</div>
</div>
@@ -290,7 +290,7 @@ watch(activeViewTab, (value) => {
}"
>
<div class="flex-1">
- <div class="text-sm font-normal text-gray-600 mb-2">
+ <div class="text-sm font-normal text-nc-content-gray-subtle2 mb-2">
<div>
{{ $t('msg.connectIntegrations') }}
<a href="https://nocodb.com/docs/product-docs/integrations" target="_blank" rel="noopener noreferrer">{{
@@ -308,7 +308,7 @@ watch(activeViewTab, (value) => {
allow-clear
>
<template #prefix>
- <GeneralIcon icon="search" class="mr-2 h-4 w-4 text-gray-500" />
+ <GeneralIcon icon="search" class="mr-2 h-4 w-4 text-nc-content-gray-muted" />
</template>
</a-input>
<NcDropdown v-if="easterEggToggle && showFilter" v-model:visible="isOpenFilter" placement="bottomRight">
@@ -338,7 +338,7 @@ watch(activeViewTab, (value) => {
<NcDivider class="!mt-0 !mb-2" />
<div class="px-2 mb-2">
<div
- class="px-2 py-1.5 flex items-center justify-between gap-2 text-sm font-weight-500 !text-brand-500 hover:bg-gray-100 rounded-md cursor-pointer"
+ class="px-2 py-1.5 flex items-center justify-between gap-2 text-sm font-weight-500 !text-nc-content-brand hover:bg-nc-bg-gray-light rounded-md cursor-pointer"
@click="toggleShowOrHideAllCategory"
>
<div class="flex items-center gap-2">
@@ -395,7 +395,7 @@ watch(activeViewTab, (value) => {
<NcBadge
v-if="!category.isAvailable"
:border="false"
- class="text-brand-500 !h-5 bg-brand-50 text-xs font-normal px-2"
+ class="text-nc-content-brand !h-5 bg-nc-bg-brand text-xs font-normal px-2"
>{{ $t('msg.toast.futureRelease') }}</NcBadge
>
</div>
@@ -489,9 +489,9 @@ watch(activeViewTab, (value) => {
>
<div v-show="requestIntegration.isOpen" class="flex flex-col gap-4">
<div class="flex items-center justify-between gap-4">
- <div class="text-base font-bold text-gray-800">Request Integration</div>
+ <div class="text-base font-bold text-nc-content-gray">Request Integration</div>
<NcButton size="small" type="text" @click="requestIntegration.isOpen = false">
- <GeneralIcon icon="close" class="text-gray-600" />
+ <GeneralIcon icon="close" class="text-nc-content-gray-subtle2" />
</NcButton>
</div>
<div class="flex flex-col gap-2">
@@ -526,15 +526,15 @@ watch(activeViewTab, (value) => {
<style lang="scss" scoped>
.nc-integration-layout-sidebar {
- @apply !bg-white border-r-1 border-gray-200 !min-w-[260px] !max-w-[260px];
+ @apply !bg-nc-bg-default border-r-1 border-nc-border-gray-medium !min-w-[260px] !max-w-[260px];
flex: 1 1 260px !important;
.nc-integration-category-item {
- @apply flex gap-2 p-2 rounded-lg hover:bg-gray-100 cursor-pointer transition-all;
+ @apply flex gap-2 p-2 rounded-lg hover:bg-nc-bg-gray-light cursor-pointer transition-all;
&.active {
- @apply bg-gray-100;
+ @apply bg-nc-bg-gray-light;
}
.nc-integration-category-item-icon-wrapper {
@@ -549,19 +549,16 @@ watch(activeViewTab, (value) => {
@apply flex-1 flex flex-col gap-1;
.nc-integration-category-item-title {
- @apply text-sm text-gray-800 font-weight-500;
+ @apply text-sm text-nc-content-gray font-weight-500;
}
.nc-integration-category-item-subtitle {
- @apply text-xs text-gray-500 font-weight-500;
+ @apply text-xs text-nc-content-gray-muted font-weight-500;
}
}
}
}
-.nc-integration-layout-content {
- @apply !bg-white;
-}
.source-card-request-integration {
@apply flex flex-col gap-4 border-1 rounded-xl p-3 w-[280px] overflow-hidden transition-all duration-300 max-w-[576px];
@@ -569,7 +566,7 @@ watch(activeViewTab, (value) => {
@apply w-full;
}
&:not(.active) {
- @apply cursor-pointer hover:bg-gray-50;
+ @apply cursor-pointer hover:bg-nc-bg-gray-extralight;
&:hover {
box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.08), 0px 2px 4px -2px rgba(0, 0, 0, 0.04);
@@ -580,14 +577,14 @@ watch(activeViewTab, (value) => {
@apply flex items-center gap-4;
.name {
- @apply text-base font-semibold text-gray-800;
+ @apply text-base font-semibold text-nc-content-gray;
}
}
}
.source-card-link {
- @apply !text-black !no-underline;
+ @apply !text-nc-content-gray-extreme !no-underline;
.nc-new-integration-type-title {
- @apply text-sm font-weight-600 text-gray-600;
+ @apply text-sm font-weight-600 text-nc-content-gray-subtle2;
}
}
@@ -599,7 +596,7 @@ watch(activeViewTab, (value) => {
@apply flex gap-4 flex-wrap;
.source-card {
- @apply flex items-center gap-4 border-1 border-gray-200 rounded-xl p-3 w-[280px] cursor-pointer transition-all duration-300;
+ @apply flex items-center gap-4 border-1 border-nc-border-gray-medium rounded-xl p-3 w-[280px] cursor-pointer transition-all duration-300;
.integration-icon-wrapper {
@apply flex-none h-[44px] w-[44px] rounded-lg flex items-center justify-center;
@@ -619,7 +616,7 @@ watch(activeViewTab, (value) => {
&.is-available {
&:hover {
- @apply bg-gray-50;
+ @apply bg-nc-bg-gray-extralight;
box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.08), 0px 2px 4px -2px rgba(0, 0, 0, 0.04);
@@ -629,16 +626,16 @@ watch(activeViewTab, (value) => {
}
// .integration-icon-wrapper {
- // @apply bg-gray-100;
+ // @apply bg-nc-bg-gray-light;
// }
.name {
- @apply text-gray-800;
+ @apply text-nc-content-gray;
}
}
&:not(.is-available) {
&:not(:hover) {
.integration-icon-wrapper {
- // @apply bg-gray-50;
+ // @apply bg-nc-bg-gray-extralight;
// .integration-icon {
// @apply !grayscale;
@@ -648,19 +645,19 @@ watch(activeViewTab, (value) => {
}
.name {
- @apply text-gray-800;
+ @apply text-nc-content-gray;
}
}
&:hover {
.name {
- @apply text-gray-800;
+ @apply text-nc-content-gray;
}
}
.integration-upvote-btn {
&.selected {
- @apply shadow-selected !text-brand-500 !border-brand-500 !cursor-not-allowed pointer-events-none;
+ @apply shadow-selected !text-nc-content-brand !border-nc-border-brand !cursor-not-allowed pointer-events-none;
}
}
}
@@ -668,7 +665,7 @@ watch(activeViewTab, (value) => {
}
.category-type-title {
- @apply text-sm text-gray-700 font-weight-700;
+ @apply text-sm text-nc-content-gray-subtle font-weight-700;
}
}
}
diff --git a/packages/nc-gui/utils/colorsUtils.ts b/packages/nc-gui/utils/colorsUtils.ts
index 022d38b466..d5baa7b5b9 100644
--- a/packages/nc-gui/utils/colorsUtils.ts
+++ b/packages/nc-gui/utils/colorsUtils.ts
@@ -575,6 +575,7 @@ export const themeVariables = {
subtle: themeV4Colors.gray[700],
subtle2: themeV4Colors.gray[600],
muted: themeV4Colors.gray[500],
+ disabled: themeV4Colors.gray[400],
},
'nc-content-brand': {
DEFAULT: themeV4Colors.brand[500],