From b4397eb64f3a8d1237c9c2817f34a48d00f73ac8 Mon Sep 17 00:00:00 2001 From: boomlion8 <104100587+boomlion8@users.noreply.github.com> Date: Sat, 8 Jul 2023 11:30:03 +0530 Subject: [PATCH] fix: color of UI in dark mode (#3081) Co-authored-by: boomlion8 <201116201@manit.ac.in> Co-authored-by: Alex Yang (cherry picked from commit a48726d08888b23814f92393d2a1fd94e8b558c8) --- .../new-workspace-setting-detail/style.css.ts | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/apps/web/src/components/affine/new-workspace-setting-detail/style.css.ts b/apps/web/src/components/affine/new-workspace-setting-detail/style.css.ts index 8bce35b3c4..e7e62dd66f 100644 --- a/apps/web/src/components/affine/new-workspace-setting-detail/style.css.ts +++ b/apps/web/src/components/affine/new-workspace-setting-detail/style.css.ts @@ -57,16 +57,7 @@ globalStyle(`${urlButton} span`, { export const fakeWrapper = style({ position: 'relative', - opacity: 0.4, - selectors: { - '&::after': { - content: '""', - width: '100%', - height: '100%', - position: 'absolute', - left: 0, - top: 0, - cursor: 'not-allowed', - }, - }, + borderRadius: '8px', + background: 'var(--affine-white-60)', + padding: '10px', });