π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: update tooltip bg color in darkmode
Ramesh Manebcab059c2e8c
diff --git a/packages/nc-gui/components/nc/Tooltip.vue b/packages/nc-gui/components/nc/Tooltip.vueindex e544bc87b1..2ad95b6a2b 100644--- a/packages/nc-gui/components/nc/Tooltip.vue+++ b/packages/nc-gui/components/nc/Tooltip.vue@@ -244,10 +244,11 @@ const onClick = () => {}.nc-tooltip-dark {.ant-tooltip-inner {- @apply !px-2 !py-1 !rounded-lg !bg-gray-800 dark:!bg-gray-900;+ @apply !px-2 !py-1 !rounded-lg !bg-gray-800 dark:!bg-[#3a3f4b];}+.ant-tooltip-arrow-content {- @apply !bg-gray-800 dark:!bg-gray-900;+ @apply !bg-gray-800 dark:!bg-[#3a3f4b];}}diff --git a/packages/nc-gui/components/smartsheet/grid/canvas/components/Tooltip.vue b/packages/nc-gui/components/smartsheet/grid/canvas/components/Tooltip.vueindex 8836168b3f..ba8b7be702 100644--- a/packages/nc-gui/components/smartsheet/grid/canvas/components/Tooltip.vue+++ b/packages/nc-gui/components/smartsheet/grid/canvas/components/Tooltip.vue@@ -25,7 +25,7 @@ const { tooltipText } = storeToRefs(store)}.tooltip-dark {- @apply bg-gray-800 text-white;+ @apply bg-gray-800 text-white dark:!bg-[#3a3f4b];}.tooltip-light {diff --git a/packages/nc-gui/store/ui/tooltip.ts b/packages/nc-gui/store/ui/tooltip.tsindex 2c489d6667..f7c5f368f8 100644--- a/packages/nc-gui/store/ui/tooltip.ts+++ b/packages/nc-gui/store/ui/tooltip.ts@@ -98,9 +98,9 @@ export const useTooltipStore = defineStore('tooltip', () => {const tooltipWithDescription =ncIsString(text) && description? h('div', { class: 'flex flex-col gap-1' }, [- h('div', { class: 'text-captionBold' }, text),- h('div', { class: 'text-captionSm' }, description),- ])+ h('div', { class: 'text-captionBold' }, text),+ h('div', { class: 'text-captionSm' }, description),+ ]): textshowTooltip({ text: tooltipWithDescription, rect, mousePosition, placement })