π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: sidebar switch to theme variables
DarkPhoenix2704df785baaed20
diff --git a/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue b/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vueindex 9a39e4cf5c..026fb7766b 100644--- a/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue+++ b/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue@@ -213,7 +213,7 @@ async function onOpenModal({}.plus {- @apply text-gray-500;+ @apply text-nc-content-gray-muted;}</style>diff --git a/packages/nc-gui/components/dashboard/TreeView/Project/CreateNewMenu.vue b/packages/nc-gui/components/dashboard/TreeView/Project/CreateNewMenu.vueindex d706865186..9a96c69ed5 100644--- a/packages/nc-gui/components/dashboard/TreeView/Project/CreateNewMenu.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Project/CreateNewMenu.vue@@ -45,7 +45,7 @@ const showBaseOption = (source: SourceType) => {:source="source"variant="large"submenu-class="nc-sub-menu-item-icon-only"- title-class="!p-0 hover:bg-brand-50 group"+ title-class="!p-0 hover:bg-nc-bg-brand group"show-noco-db-import:popup-offset="[8, -2]">diff --git a/packages/nc-gui/components/dashboard/TreeView/Project/Home.vue b/packages/nc-gui/components/dashboard/TreeView/Project/Home.vueindex f97824a865..98358f0a2b 100644--- a/packages/nc-gui/components/dashboard/TreeView/Project/Home.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Project/Home.vue@@ -92,7 +92,7 @@ const hasTableCreatePermission = computed(() => {type="text"size="small"full-width- class="nc-home-create-new-btn nc-home-create-new-dropdown-btn !text-brand-500 !hover:(text-brand-600) !xs:hidden !w-full !px-3"+ class="nc-home-create-new-btn nc-home-create-new-dropdown-btn !text-nc-content-brand !hover:(text-nc-content-brand-disabled) !xs:hidden !w-full !px-3":class="isVisibleCreateNew ? 'active' : ''"icon-position="right"data-testid="nc-home-create-new-btn"@@ -122,8 +122,8 @@ const hasTableCreatePermission = computed(() => {class="nc-sidebar-top-button !h-8 w-full !pl-0":centered="false":class="{- '!text-brand-600 !bg-brand-50 !hover:bg-brand-50': activeProjectId === base.id && baseViewOpen,- '!hover:(bg-gray-200 text-gray-700)': !(activeProjectId === base.id && baseViewOpen),+ '!text-nc-content-brand-disabled !bg-nc-bg-brand !hover:bg-nc-bg-brand': activeProjectId === base.id && baseViewOpen,+ '!hover:(bg-nc-bg-gray-medium text-nc-content-gray-subtle)': !(activeProjectId === base.id && baseViewOpen),}"data-testid="nc-sidebar-base-overview-btn"@click="openBaseHomePage"@@ -151,10 +151,10 @@ const hasTableCreatePermission = computed(() => {<style lang="scss" scoped>:deep(.ant-collapse-header) {- @apply !mx-0 !pl-2 h-7 !xs:(pl-2 h-[3rem]) !pr-0.5 !py-0 hover:bg-gray-200 xs:(hover:bg-gray-50) !rounded-md;+ @apply !mx-0 !pl-2 h-7 !xs:(pl-2 h-[3rem]) !pr-0.5 !py-0 hover:bg-nc-bg-gray-medium xs:(hover:bg-nc-bg-brand) !rounded-md;.ant-collapse-arrow {- @apply !right-1 !xs:(flex-none border-1 border-gray-200 w-6.5 h-6.5 mr-1);+ @apply !right-1 !xs:(flex-none border-1 border-nc-border-gray-medium w-6.5 h-6.5 mr-1);}}@@ -193,10 +193,10 @@ const hasTableCreatePermission = computed(() => {}:deep(.nc-home-create-new-btn.nc-button) {- @apply hover:bg-brand-50 !pr-1.5;+ @apply hover:bg-nc-bg-brand !pr-1.5;&.active {- @apply !bg-brand-50;+ @apply !bg-nc-bg-brand;}}</style>diff --git a/packages/nc-gui/components/dashboard/TreeView/Project/List.vue b/packages/nc-gui/components/dashboard/TreeView/Project/List.vueindex 2b0e937a89..0c0e8f5660 100644--- a/packages/nc-gui/components/dashboard/TreeView/Project/List.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Project/List.vue@@ -458,7 +458,7 @@ watch(isProjectsLoaded, () => {v-model:is-open="isCreateProjectOpen"modaltype="text"- class="nc-sidebar-create-base-btn nc-project-home-section-item !text-brand-500 !hover:(text-brand-600 bg-none) !xs:hidden w-full"+ class="nc-sidebar-create-base-btn nc-project-home-section-item !text-nc-content-brand !hover:(text-nc-content-brand-disabled bg-none) !xs:hidden w-full"data-testid="nc-sidebar-create-base-btn"></WorkspaceCreateProjectBtn>@@ -572,6 +572,6 @@ watch(isProjectsLoaded, () => {}:deep(.nc-sidebar-create-base-btn.nc-button.ant-btn-text.theme-default) {- @apply hover:bg-brand-50 pl-[15px];+ @apply hover:bg-nc-bg-brand pl-[15px];}</style>diff --git a/packages/nc-gui/components/dashboard/TreeView/Project/SearchInput.vue b/packages/nc-gui/components/dashboard/TreeView/Project/SearchInput.vueindex e21e53306b..dee5be14cd 100644--- a/packages/nc-gui/components/dashboard/TreeView/Project/SearchInput.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Project/SearchInput.vue@@ -46,7 +46,7 @@ const onKeydown = (e: KeyboardEvent) => {@keydown="onKeydown"><template #prefix>- <GeneralIcon icon="search" class="mr-1 h-4 w-4 text-gray-500 group-hover:text-black" />+ <GeneralIcon icon="search" class="mr-1 h-4 w-4 text-nc-content-gray-muted group-hover:text-nc-content-gray-extreme" /></template></a-input></template>diff --git a/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue b/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vueindex 72c9215765..fd51751618 100644--- a/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue+++ b/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue@@ -11,7 +11,7 @@ const props = withDefaults(defineProps<Props>(), {})const { isProjectHeader } = toRefs(props)const indicator = h(LoadingOutlined, {- class: '!text-gray-400',+ class: '!text-nc-content-gray-disabled',style: {fontSize: '0.85rem',},@@ -465,17 +465,19 @@ defineExpose({<div class="flex flex-col gap-3"><div class="text-small leading-[18px] mb-1">{{ base.title }}</div><div v-if="currentUserRole">- <div class="text-[10px] leading-[14px] text-gray-300 uppercase mb-1">{{ $t('title.yourBaseRole') }}</div>+ <div class="text-[10px] leading-[14px] text-nc-content-brand-hover uppercase mb-1">+ {{ $t('title.yourBaseRole') }}+ </div><divclass="text-xs font-medium flex items-start gap-2 flex items-center gap-1":class="{- 'text-purple-200': RoleColors[currentUserRole] === 'purple',- 'text-blue-200': RoleColors[currentUserRole] === 'blue',- 'text-green-200': RoleColors[currentUserRole] === 'green',- 'text-orange-200': RoleColors[currentUserRole] === 'orange',- 'text-yellow-200': RoleColors[currentUserRole] === 'yellow',- 'text-red-200': RoleColors[currentUserRole] === 'red',- 'text-maroon-200': RoleColors[currentUserRole] === 'maroon',+ 'text-nc-purple-200': RoleColors[currentUserRole] === 'purple',+ 'text-nc-blue-200': RoleColors[currentUserRole] === 'blue',+ 'text-nc-green-200': RoleColors[currentUserRole] === 'green',+ 'text-nc-orange-200': RoleColors[currentUserRole] === 'orange',+ 'text-nc-yellow-200': RoleColors[currentUserRole] === 'yellow',+ 'text-nc-red-200': RoleColors[currentUserRole] === 'red',+ 'text-nc-maroon-200': RoleColors[currentUserRole] === 'maroon',}"><GeneralIcon :icon="RoleIcons[currentUserRole]" class="w-4 h-4" />@@ -500,7 +502,7 @@ defineExpose({'bg-nc-bg-gray-medium': isProjectHeader && isProjectNodeContextMenuOpen,'h-7 pr-1 pl-2.5 xs:(pl-0) flex-grow w-full': !isProjectHeader,'bg-primary-selected active': activeProjectId === base.id && baseViewOpen && !isMobileMode && !isProjectHeader,- 'hover:bg-gray-200': !(activeProjectId === base.id && baseViewOpen) && !isProjectHeader,+ 'hover:bg-nc-bg-gray-medium': !(activeProjectId === base.id && baseViewOpen) && !isProjectHeader,}":data-id="base.id":data-testid="`nc-sidebar-base-title-${base.title}`"@@ -542,8 +544,8 @@ defineExpose({class="capitalize !bg-transparent !flex-1 mr-4 !rounded-md !pr-1.5 !h-6 animate-sidebar-node-input-padding":class="activeProjectId === base.id && baseViewOpen && !isProjectHeader- ? '!text-brand-600 !font-semibold'- : '!text-gray-700'+ ? '!text-nc-content-brand-disabled !font-semibold'+ : '!text-nc-content-gray-subtle'":style="{fontWeight: 'inherit',@@ -561,8 +563,8 @@ defineExpose({:style="{ wordBreak: 'keep-all', whiteSpace: 'nowrap', display: 'inline' }":class="[activeProjectId === base.id && baseViewOpen && !isProjectHeader- ? 'text-brand-600 font-semibold'- : 'text-gray-700',+ ? 'text-nc-content-gray-subtle2 font-semibold'+ : 'text-nc-content-gray-subtle',{'flex-1': !isProjectHeader,},@@ -585,7 +587,7 @@ defineExpose({<NcButtonv-e="['c:base:options']"class="nc-sidebar-node-btn"- :class="{ '!text-black !opacity-100 !inline-block': isOptionsOpen }"+ :class="{ '!text-nc-content-gray-extreme !opacity-100 !inline-block': isOptionsOpen }"data-testid="nc-sidebar-context-menu"type="text":size="isProjectHeader ? 'small' : 'xxsmall'"@@ -624,7 +626,7 @@ defineExpose({type="text"data-testid="nc-sidebar-add-base-entity":class="{- '!text-black !inline-block !opacity-100': isAddNewProjectChildEntityLoading,+ '!text-nc-content-gray-extreme !inline-block !opacity-100': isAddNewProjectChildEntityLoading,'!inline-block !opacity-100': isOptionsOpen,}":loading="isAddNewProjectChildEntityLoading"@@ -758,10 +760,10 @@ defineExpose({<style lang="scss" scoped>:deep(.ant-collapse-header) {- @apply !mx-0 !pl-7.5 h-7 !xs:(pl-6 h-[3rem]) !pr-0.5 !py-0 hover:bg-gray-200 xs:(hover:bg-gray-50) !rounded-md;+ @apply !mx-0 !pl-7.5 h-7 !xs:(pl-6 h-[3rem]) !pr-0.5 !py-0 hover:bg-nc-bg-gray-medium xs:(hover:bg-nc-bg-gray-extra-light) !rounded-md;.ant-collapse-arrow {- @apply !right-1 !xs:(flex-none border-1 border-gray-200 w-6.5 h-6.5 mr-1);+ @apply !right-1 !xs:(flex-none border-1 border-nc-border-gray-medium w-6.5 h-6.5 mr-1);}}diff --git a/packages/nc-gui/components/dashboard/TreeView/Table/List.vue b/packages/nc-gui/components/dashboard/TreeView/Table/List.vueindex 48a76cedf8..ddc02a67d0 100644--- a/packages/nc-gui/components/dashboard/TreeView/Table/List.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Table/List.vue@@ -151,8 +151,8 @@ const filteredAvailableTables = computed(() => {<divv-if="!availableTables.length && showCreateTableBtn":class="{- 'text-brand-500 hover:text-brand-600': openedProject?.id === base.id,- 'text-gray-500 hover:text-brand-500': openedProject?.id !== base.id,+ 'text-nc-content-brand hover:text-nc-content-brand-disabled': openedProject?.id === baseId,+ 'text-nc-content-gray-muted hover:text-nc-content-brand': openedProject?.id !== baseId,}"class="nc-create-table-btn flex flex-row items-center cursor-pointer rounded-md w-full"role="button"@@ -172,7 +172,7 @@ const filteredAvailableTables = computed(() => {<divv-if="!availableTables.length || !filteredAvailableTables.length"- class="py-0.5 text-gray-500 font-normal"+ class="py-0.5 text-nc-content-gray-muted font-normal":class="{'nc-project-home-section-item': sourceIndex === 0,'ml-9 xs:(ml-9.75)': sourceIndex !== 0,diff --git a/packages/nc-gui/components/dashboard/TreeView/Table/Node.vue b/packages/nc-gui/components/dashboard/TreeView/Table/Node.vueindex f1fd985e20..bc749ca2f9 100644--- a/packages/nc-gui/components/dashboard/TreeView/Table/Node.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Table/Node.vue@@ -452,9 +452,9 @@ async function onRename() {<div class="flex items-center py-0.5"><divv-e="['a:table:open']"- class="flex-none flex-1 table-context flex items-center gap-1 h-full nc-tree-item-inner nc-sidebar-node pr-0.75 mb-0.25 rounded-md h-7 w-full group cursor-pointer hover:bg-gray-200"+ class="flex-none flex-1 table-context flex items-center gap-1 h-full nc-tree-item-inner nc-sidebar-node pr-0.75 mb-0.25 rounded-md h-7 w-full group cursor-pointer hover:bg-nc-bg-gray-medium":class="{- 'hover:bg-gray-200': openedTableId !== table.id,+ 'hover:bg-nc-bg-gray-medium': openedTableId !== table.id,'pl-8 !xs:(pl-7)': sourceIndex !== 0,'pl-2 xs:(pl-2)': sourceIndex === 0,'!bg-primary-selected': isTableOpened,@@ -465,7 +465,7 @@ async function onRename() {><div class="flex flex-row h-full items-center"><div class="flex w-auto" :data-testid="`tree-view-table-draggable-handle-${table.title}`">- <GeneralLoader v-if="table.isViewsLoading" class="flex items-center w-6 h-full !text-gray-600" />+ <GeneralLoader v-if="table.isViewsLoading" class="flex items-center w-6 h-full !text-nc-content-gray-subtle2" /><divv-elsev-e="['c:table:emoji-picker']"@@ -492,17 +492,21 @@ async function onRename() {:is="iconMap.ncZap"v-if="table?.synced"class="w-4 text-sm"- :class="isTableOpened ? '!text-brand-600/85' : '!text-gray-600/75'"+ :class="isTableOpened ? '!text-nc-content-brand-disabled/85' : '!text-nc-content-gray-subtle2/75'"/><component:is="iconMap.table"v-else-if="table.type === 'table'"class="w-4 text-sm"- :class="isTableOpened ? '!text-brand-600/85' : '!text-gray-600/75'"+ :class="isTableOpened ? '!text-nc-content-brand-disabled/85' : '!text-nc-content-gray-subtle2/75'"/>- <MdiEye v-else class="flex w-5 text-sm" :class="isTableOpened ? '!text-brand-600' : '!text-gray-600'" />+ <MdiEye+ v-else+ class="flex w-5 text-sm"+ :class="isTableOpened ? '!text-nc-content-brand-disabled' : '!text-nc-content-gray-subtle2'"+ /></NcTooltip></template></LazyGeneralEmojiPicker>@@ -515,7 +519,7 @@ async function onRename() {v-model:value="formState.title"class="!bg-transparent !pr-1.5 !flex-1 mr-4 !rounded-md !h-6 animate-sidebar-node-input-padding":class="{- '!font-semibold !text-brand-600': isTableOpened,+ '!font-semibold !text-nc-content-brand-disabled': isTableOpened,}":style="{fontWeight: 'inherit',@@ -531,7 +535,7 @@ async function onRename() {><template #title>{{ table.title }}</template><span- :class="isTableOpened ? 'text-brand-600 font-semibold' : 'text-gray-700'"+ :class="isTableOpened ? 'text-nc-content-brand-disabled font-semibold' : 'text-nc-content-gray-subtle'":data-testid="`nc-tbl-title-${table.title}`":style="{ wordBreak: 'keep-all', whiteSpace: 'nowrap', display: 'inline' }"@dblclick.stop="onRenameMenuClick(table)"@@ -553,7 +557,7 @@ async function onRename() {<NcDropdown v-model:visible="isOptionsOpen" :trigger="['click']" @click.stop><NcButtonv-e="['c:table:option']"- class="nc-sidebar-node-btn nc-tbl-context-menu text-gray-700 hover:text-gray-800"+ class="nc-sidebar-node-btn nc-tbl-context-menu text-nc-content-gray-subtle hover:text-nc-content-gray":class="{'!opacity-100 !inline-block': isOptionsOpen,}"@@ -723,7 +727,7 @@ async function onRename() {v-e="['c:table:toggle-expand']"type="text"size="xxsmall"- class="nc-sidebar-node-btn nc-sidebar-expand text-gray-700 hover:text-gray-800"+ class="nc-sidebar-node-btn nc-sidebar-expand text-nc-content-gray-subtle2 hover:text-nc-content-gray":class="{'!opacity-100 !visible': isOptionsOpen,}"diff --git a/packages/nc-gui/components/dashboard/TreeView/Table/index.vue b/packages/nc-gui/components/dashboard/TreeView/Table/index.vueindex 86acbb8247..c4cffbc648 100644--- a/packages/nc-gui/components/dashboard/TreeView/Table/index.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Table/index.vue@@ -275,7 +275,7 @@ onKeyStroke('Escape', () => {><divv-if="sourceIndex === 0"- class="source-context flex items-center gap-2 text-gray-800 nc-sidebar-node-title"+ class="source-context flex items-center gap-2 text-nc-content-gray nc-sidebar-node-title"@contextmenu="setMenuContext('source', source)"><GeneralBaseLogo class="flex-none min-w-4 !xs:(min-w-4.25 w-4.25 text-sm)" />@@ -283,7 +283,7 @@ onKeyStroke('Escape', () => {</div><divv-else- class="source-context flex flex-grow items-center gap-1 text-gray-800 min-w-1/20 max-w-full"+ class="source-context flex flex-grow items-center gap-1 text-nc-content-gray min-w-1/20 max-w-full"@contextmenu="setMenuContext('source', source)"><NcTooltip@@ -308,7 +308,7 @@ onKeyStroke('Escape', () => {v-if="source.id && sourceRenameHelpers[source.id]?.editMode"ref="input"v-model:value="sourceRenameHelpers[source.id].tempTitle"- class="capitalize !bg-transparent flex-1 mr-4 !pr-1.5 !text-gray-700 !rounded-md !h-6 animate-sidebar-node-input-padding"+ class="capitalize !bg-transparent flex-1 mr-4 !pr-1.5 !text-nc-content-gray-subtle !rounded-md !h-6 animate-sidebar-node-input-padding":style="{fontWeight: 'inherit',}"@@ -322,7 +322,7 @@ onKeyStroke('Escape', () => {/><NcTooltipv-else- class="nc-sidebar-node-title capitalize text-ellipsis overflow-hidden select-none text-gray-700"+ class="nc-sidebar-node-title capitalize text-ellipsis overflow-hidden select-none text-nc-content-gray-subtle":style="{ wordBreak: 'keep-all', whiteSpace: 'nowrap', display: 'inline' }"show-on-truncate-only>@@ -347,7 +347,7 @@ onKeyStroke('Escape', () => {<NcButtonv-e="['c:source:options']"class="nc-sidebar-node-btn"- :class="{ '!text-black !opacity-100 !inline-block': isBasesOptionsOpen[source!.id!] }"+ :class="{ '!text-nc-content-gray-extreme !opacity-100 !inline-block': isBasesOptionsOpen[source!.id!] }"type="text"size="xxsmall"@click.stop="isBasesOptionsOpen[source!.id!] = !isBasesOptionsOpen[source!.id!]"diff --git a/packages/nc-gui/components/dashboard/TreeView/Views/List.vue b/packages/nc-gui/components/dashboard/TreeView/Views/List.vueindex 7b1b789fbd..8228deac0c 100644--- a/packages/nc-gui/components/dashboard/TreeView/Views/List.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Views/List.vue@@ -418,8 +418,8 @@ const filteredViews = computed(() => {><div:class="{- 'text-brand-500 hover:text-brand-600': activeTableId === table.id,- 'text-gray-500 hover:text-brand-500': activeTableId !== table.id,+ 'text-nc-content-brand hover:text-nc-content-brand-disabled': activeTableId === table.id,+ 'text-nc-content-gray-muted hover:text-nc-content-brand': activeTableId !== table.id,}"class="nc-create-view-btn flex flex-row items-center cursor-pointer rounded-md w-full"role="button"@@ -443,7 +443,7 @@ const filteredViews = computed(() => {:id="view.id":key="view.id":class="{- 'bg-gray-200': isMarked === view.id,+ 'bg-nc-bg-gray-medium': isMarked === view.id,'active': activeView?.id === view.id,[`nc-${view.type ? viewTypeAlias[view.type] : undefined || view.type}-view-item`]: true,}"@@ -488,7 +488,7 @@ const filteredViews = computed(() => {}.sortable-chosen {- @apply !bg-gray-200;+ @apply !bg-nc-bg-gray-medium;}.active {diff --git a/packages/nc-gui/components/dashboard/TreeView/Views/Node.vue b/packages/nc-gui/components/dashboard/TreeView/Views/Node.vueindex 8a27f869bd..48f3658342 100644--- a/packages/nc-gui/components/dashboard/TreeView/Views/Node.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Views/Node.vue@@ -284,7 +284,7 @@ watch(isDropdownOpen, async () => {<template><a-menu-item- class="nc-sidebar-node !min-h-7 !max-h-7 !my-0.5 select-none group text-gray-700 !flex !items-center hover:(!bg-gray-200 !text-gray-700) cursor-pointer"+ class="nc-sidebar-node !min-h-7 !max-h-7 !my-0.5 select-none group text-nc-content-gray-subtle !flex !items-center hover:(!bg-nc-bg-gray-medium !text-nc-content-gray-subtle) cursor-pointer":class="{'!pl-7.5 !xs:(pl-7.5)': isDefaultBaseLocal,'!pl-14': !isDefaultBaseLocal,@@ -302,12 +302,12 @@ watch(isDropdownOpen, async () => {<template #title><div class="flex flex-col gap-3"><div>- <div class="text-[10px] leading-[14px] text-gray-300 uppercase mb-1">{{ $t('labels.viewName') }}</div>+ <div class="text-[10px] leading-[14px] text-nc-content-brand-hover uppercase mb-1">{{ $t('labels.viewName') }}</div><div class="text-small leading-[18px]">{{ vModel.alias || vModel.title }}</div></div><div v-if="vModel?.created_by && idUserMap[vModel?.created_by]">- <div class="text-[10px] leading-[14px] text-gray-300 uppercase mb-1">{{ $t('labels.createdBy') }}</div>+ <div class="text-[10px] leading-[14px] text-nc-content-brand-hover uppercase mb-1">{{ $t('labels.createdBy') }}</div><div class="text-xs">{{idUserMap[vModel?.created_by]?.id === user?.id@@ -317,7 +317,7 @@ watch(isDropdownOpen, async () => {</div></div><div>- <div class="text-[10px] leading-[14px] text-gray-300 uppercase mb-1">{{ $t('labels.viewMode') }}</div>+ <div class="text-[10px] leading-[14px] text-nc-content-brand-hover uppercase mb-1">{{ $t('labels.viewMode') }}</div><div class="text-xs flex items-start gap-2">{{ viewModeInfo }}</div>@@ -352,7 +352,7 @@ watch(isDropdownOpen, async () => {v-model:value="_title"class="!bg-transparent !pr-1.5 !flex-1 mr-4 !rounded-md !h-6 animate-sidebar-node-input-padding":class="{- '!font-semibold !text-brand-600': activeView?.id === vModel.id,+ '!font-semibold !text-nc-content-brand-disabled': activeView?.id === vModel.id,}":style="{fontWeight: 'inherit',@@ -373,7 +373,7 @@ watch(isDropdownOpen, async () => {<divdata-testid="sidebar-view-title":class="{- 'font-semibold text-brand-600': activeView?.id === vModel.id,+ 'font-semibold text-nc-content-brand-disabled': activeView?.id === vModel.id,}":style="{ wordBreak: 'keep-all', whiteSpace: 'nowrap', display: 'inline' }"@dblclick.stop="onDblClick"@@ -386,8 +386,8 @@ watch(isDropdownOpen, async () => {:is="viewLockIcons[vModel.lock_type].icon"class="ml-1 flex-none w-3.5 h-3.5":class="{- 'text-brand-400': vModel?.lock_type === ViewLockType.Personal && isViewOwner,- 'text-gray-400': !(vModel?.lock_type === ViewLockType.Personal && isViewOwner),+ 'text-nc-brand-400': vModel?.lock_type === ViewLockType.Personal && isViewOwner,+ 'text-nc-content-gray-disabled': !(vModel?.lock_type === ViewLockType.Personal && isViewOwner),}"/></div>@@ -403,7 +403,10 @@ watch(isDropdownOpen, async () => {{{ vModel.description }}</template><NcButton type="text" class="!hover:bg-transparent" size="xsmall">- <GeneralIcon icon="info" class="!w-3.5 !h-3.5 nc-info-icon group-hover:opacity-100 text-gray-600 opacity-0" />+ <GeneralIcon+ icon="info"+ class="!w-3.5 !h-3.5 nc-info-icon group-hover:opacity-100 text-nc-content-gray-subtle2 opacity-0"+ /></NcButton></NcTooltip><NcDropdown v-model:visible="isDropdownOpen" overlay-class-name="!rounded-lg">diff --git a/packages/nc-gui/components/dashboard/TreeView/index.vue b/packages/nc-gui/components/dashboard/TreeView/index.vueindex 4474b896c5..37f71cbcc3 100644--- a/packages/nc-gui/components/dashboard/TreeView/index.vue+++ b/packages/nc-gui/components/dashboard/TreeView/index.vue@@ -339,7 +339,7 @@ watch(<template><div class="nc-treeview-container flex flex-col justify-between select-none">- <div v-if="!isSharedBase" class="text-gray-500 font-medium pl-3.5 mb-1">{{ $t('objects.projects') }}</div>+ <div v-if="!isSharedBase" class="text-nc-content-gray-muted font-medium pl-3.5 mb-1">{{ $t('objects.projects') }}</div><div mode="inline" class="nc-treeview pb-0.5 flex-grow min-h-50 overflow-x-hidden"><div v-if="basesList?.length"><Draggablediff --git a/packages/nc-gui/components/nc/SubMenu/index.vue b/packages/nc-gui/components/nc/SubMenu/index.vueindex 9abf5327d0..035094fa13 100644--- a/packages/nc-gui/components/nc/SubMenu/index.vue+++ b/packages/nc-gui/components/nc/SubMenu/index.vue@@ -39,11 +39,11 @@ const props = withDefaults(<style lang="scss">.ant-dropdown-menu-submenu.nc-sub-menu {- @apply flex mx-1.5 rounded-md overflow-hidden !hover:bg-gray-100;+ @apply flex mx-1.5 rounded-md overflow-hidden !hover:bg-nc-bg-gray-light;&:not(.ant-dropdown-menu-submenu-disabled) {.nc-submenu-title {- @apply hover:text-gray-800;+ @apply hover:text-nc-content-gray;}.nc-icon {@@ -99,21 +99,21 @@ const props = withDefaults(}&:not(.ant-dropdown-menu-submenu-disabled) {- @apply hover:text-black text-gray-700;+ @apply hover:text-nc-content-gray-extreme text-nc-content-gray-subtle;& .nc-submenu-title {- @apply hover:text-black text-gray-700;+ @apply hover:text-nc-content-gray-extreme text-nc-content-gray-subtle;}}}}.ant-dropdown-menu-submenu .ant-dropdown-menu-submenu-title:hover {- @apply !bg-gray-100;+ @apply !bg-nc-bg-gray-light;}.nc-submenu-popup {- @apply !rounded-lg border-1 border-gray-50 min-w-[144px];+ @apply !rounded-lg border-1 border-nc-border-gray-extra-light min-w-[144px];.ant-dropdown-menu.ant-dropdown-menu-sub {@apply !rounded-lg !shadow-lg shadow-gray-200;@@ -130,7 +130,7 @@ const props = withDefaults(}&:not(.ant-dropdown-menu-item-disabled) {- @apply hover:text-black text-gray-700;+ @apply hover:text-nc-content-gray-extreme text-nc-content-gray-subtle;}.nc-icon {