Feat: dataset dark mode (#17993)

This commit is contained in:
KVOJJJin 2025-04-14 15:45:23 +08:00 • committed by GitHub
commit ed63fbaf9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 38 additions and 83 deletions

View file

@ -1,6 +0,0 @@
.default-page-icon {
width: 20px;
height: 20px;
background: url(../notion-page-selector/assets/notion-page.svg) center center no-repeat;
background-size: cover;
}

View file

@ -1,4 +1,4 @@
import s from './index.module.css'
import { RiFileTextLine } from '@remixicon/react'
import cn from '@/utils/classnames'
import type { DataSourceNotionPage } from '@/models/common'
@ -51,7 +51,7 @@ const NotionIcon = ({
}
return (
<div className={cn(s['default-page-icon'], className)} />
<RiFileTextLine className={cn('h-5 w-5 text-text-tertiary', className)} />
)
}