fix(ui): use readable permission error color

This commit is contained in:
deatheros
2026-08-07 02:29:27 +03:00
parent d8518bf053
commit f5603153df
2 changed files with 2 additions and 2 deletions
@@ -616,7 +616,7 @@ export const DirectoryExplorerDialog: React.FC<DirectoryExplorerDialogProps> = (
</div>
) : browseErrorReason && browseErrorReason !== 'not-found' ? (
<div className="flex flex-col items-center gap-3 px-4 py-10 text-center">
<div className="typography-ui-label text-[var(--status-error-foreground)]">
<div className="typography-ui-label text-status-error">
{browseErrorReason === 'os-permission'
? t('directoryExplorerDialog.browse.permissionDenied')
: t('directoryExplorerDialog.browse.loadFailed')}
@@ -1052,7 +1052,7 @@ function SessionGroupSectionBase(props: Props): React.ReactNode {
</div>
) : null}
{totalSessions > 0 && bootstrapFailureNotice ? (
<div className="py-1 pl-[26px] text-left typography-micro text-[var(--status-error-foreground)]">
<div className="py-1 pl-[26px] text-left typography-micro text-status-error">
{bootstrapFailureNotice}
</div>
) : null}