feat: Added translucency effect to menus, dialogs and alerts. Can be turned off from Preferences > Appeareance (#2387) [skip e2e]

This commit is contained in:
Aman Harwara
2023-08-05 20:40:37 +05:30
committed by GitHub
parent 83b83cd96d
commit ec309d6fb5
29 changed files with 264 additions and 28 deletions

View File

@@ -2,7 +2,7 @@ import { FunctionComponent } from 'react'
const MenuItemSeparator: FunctionComponent = () => (
<li className="list-none" role="none">
<div role="separator" className="my-2 h-[1px] bg-border" />
<div role="separator" className="my-2 h-[1px] bg-[--separator-color]" />
</li>
)

View File

@@ -38,7 +38,7 @@ const Tooltip = ({ text }: { text: string }) => {
onMouseEnter={() => setVisible(true)}
onMouseLeave={() => setVisible(false)}
>
<Icon type={'notes'} className="text-border" size="large" />
<Icon type={'notes'} className="text-border translucent-ui:text-[--popover-border-color]" size="large" />
</div>
<Popover
open={visible}