diff --git a/apps/web/src/atoms/settings.ts b/apps/web/src/atoms/settings.ts index 4c4bd7a85c..8253f88c3c 100644 --- a/apps/web/src/atoms/settings.ts +++ b/apps/web/src/atoms/settings.ts @@ -17,8 +17,8 @@ export type AppSetting = { windowFrameStyle: 'frameless' | 'NativeTitleBar'; dateFormat: DateFormats; startWeekOnMonday: boolean; - disableBlurBackground: boolean; - disableNoisyBackground: boolean; + enableBlurBackground: boolean; + enableNoisyBackground: boolean; autoCheckUpdate: boolean; autoDownloadUpdate: boolean; }; @@ -43,8 +43,8 @@ export const AppSettingAtom = atomWithStorage('AFFiNE settings', { windowFrameStyle: 'frameless', dateFormat: dateFormatOptions[0], startWeekOnMonday: false, - disableBlurBackground: false, - disableNoisyBackground: false, + enableBlurBackground: true, + enableNoisyBackground: true, autoCheckUpdate: true, autoDownloadUpdate: true, }); diff --git a/apps/web/src/components/affine/app-container.tsx b/apps/web/src/components/affine/app-container.tsx index 3bb8f863fc..61ef191d03 100644 --- a/apps/web/src/components/affine/app-container.tsx +++ b/apps/web/src/components/affine/app-container.tsx @@ -10,8 +10,8 @@ export const AppContainer = (props: WorkspaceRootProps) => { return ( ); diff --git a/apps/web/src/components/affine/setting-modal/general-setting/about/index.tsx b/apps/web/src/components/affine/setting-modal/general-setting/about/index.tsx index 40f4dbdea3..a00b3f7145 100644 --- a/apps/web/src/components/affine/setting-modal/general-setting/about/index.tsx +++ b/apps/web/src/components/affine/setting-modal/general-setting/about/index.tsx @@ -23,7 +23,7 @@ export const AboutAffine = () => { <> {runtimeConfig.enableNewSettingUnstableApi && environment.isDesktop ? ( diff --git a/apps/web/src/components/affine/setting-modal/general-setting/appearance/index.tsx b/apps/web/src/components/affine/setting-modal/general-setting/appearance/index.tsx index 7f3ce5fd9c..6a14354066 100644 --- a/apps/web/src/components/affine/setting-modal/general-setting/appearance/index.tsx +++ b/apps/web/src/components/affine/setting-modal/general-setting/appearance/index.tsx @@ -145,24 +145,24 @@ export const AppearanceSettings = () => { {environment.isDesktop ? ( - changeSwitch('disableNoisyBackground', checked) + changeSwitch('enableNoisyBackground', checked) } /> - changeSwitch('disableBlurBackground', !checked) + changeSwitch('enableBlurBackground', checked) } /> diff --git a/apps/web/src/components/root-app-sidebar/index.tsx b/apps/web/src/components/root-app-sidebar/index.tsx index bdedfb3175..01f79f8bac 100644 --- a/apps/web/src/components/root-app-sidebar/index.tsx +++ b/apps/web/src/components/root-app-sidebar/index.tsx @@ -153,7 +153,7 @@ export const RootAppSidebar = ({ <> diff --git a/packages/i18n/src/resources/en.json b/packages/i18n/src/resources/en.json index db9fa4dad2..4cb98a6cc8 100644 --- a/packages/i18n/src/resources/en.json +++ b/packages/i18n/src/resources/en.json @@ -364,8 +364,8 @@ "Discover what's new": "Discover what's new", "Info of legal": "Info of legal", "New version is ready": "New version is ready", - "Disable the noise background on the sidebar": "Disable the noise background on the sidebar", - "Disable the blur sidebar": "Disable the blur sidebar", + "Noise background on the sidebar": "Noise background on the sidebar", + "Translucent UI on the sidebar": "Translucent UI on the sidebar", "Window frame style": "Window frame style", "Move Up": "Move Up", "Curve Connector": "Curve Connector", @@ -392,5 +392,8 @@ "com.affine.export.success.title": "Exported successfully", "com.affine.export.success.message": "Please open the download folder to check.", "com.affine.export.error.title": "Export failed due to an unexpected error", - "com.affine.export.error.message": "Please try it again later." + "com.affine.export.error.message": "Please try it again later.", + "Use background noise effect on the sidebar.": "Use background noise effect on the sidebar.", + "Use transparency effect on the sidebar.": "Use transparency effect on the sidebar.", + "Information about AFFiNE": "Information about AFFiNE" }