From f1daff24373560607c111157d78b6737b1f6a81d Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Sat, 13 Mar 2021 18:58:06 +0530 Subject: [PATCH] refactor: Rename appearance to theme (#3237) * refactor: Rename appearance to theme * fix * update changelog * rename theme_dark to theme--dark * add about migration --- src/actions/actionAlign.tsx | 12 +- src/actions/actionCanvas.tsx | 2 +- src/actions/actionDistribute.tsx | 4 +- src/actions/actionExport.tsx | 4 +- src/actions/actionGroup.tsx | 4 +- src/actions/actionProperties.tsx | 85 ++-- src/actions/actionZindex.tsx | 8 +- src/appState.ts | 4 +- src/components/App.tsx | 4 +- .../BackgroundPickerAndDarkModeToggle.tsx | 6 +- src/components/ColorPicker.scss | 6 +- src/components/ContextMenu.tsx | 4 +- src/components/ExportDialog.scss | 2 +- src/components/GitHubCorner.tsx | 8 +- src/components/IconPicker.scss | 2 +- src/components/LayerUI.tsx | 2 +- src/components/LibraryUnit.scss | 2 +- src/components/Modal.tsx | 6 +- src/components/icons.tsx | 363 ++++++++---------- src/constants.ts | 2 +- src/css/styles.scss | 4 +- src/css/theme.scss | 10 +- src/css/variables.module.scss | 4 +- src/data/blob.ts | 2 +- src/element/textWysiwyg.tsx | 2 +- src/packages/excalidraw/CHANGELOG.md | 10 +- src/renderer/renderScene.ts | 4 +- src/scene/export.ts | 4 +- .../regressionTests.test.tsx.snap | 134 +++---- src/types.ts | 2 +- 30 files changed, 324 insertions(+), 382 deletions(-) diff --git a/src/actions/actionAlign.tsx b/src/actions/actionAlign.tsx index 5397df9b..3c60703c 100644 --- a/src/actions/actionAlign.tsx +++ b/src/actions/actionAlign.tsx @@ -58,7 +58,7 @@ export const actionAlignTop = register({