mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
refactor: Rename appearance to theme (#3237)
* refactor: Rename appearance to theme * fix * update changelog * rename theme_dark to theme--dark * add about migration
This commit is contained in:
parent
91c8b6ecbf
commit
f1daff2437
30 changed files with 324 additions and 382 deletions
|
@ -38,7 +38,7 @@ export const actionSendBackward = register({
|
|||
onClick={() => updateData(null)}
|
||||
title={`${t("labels.sendBackward")} — ${getShortcutKey("CtrlOrCmd+[")}`}
|
||||
>
|
||||
<SendBackwardIcon appearance={appState.appearance} />
|
||||
<SendBackwardIcon theme={appState.theme} />
|
||||
</button>
|
||||
),
|
||||
});
|
||||
|
@ -65,7 +65,7 @@ export const actionBringForward = register({
|
|||
onClick={() => updateData(null)}
|
||||
title={`${t("labels.bringForward")} — ${getShortcutKey("CtrlOrCmd+]")}`}
|
||||
>
|
||||
<BringForwardIcon appearance={appState.appearance} />
|
||||
<BringForwardIcon theme={appState.theme} />
|
||||
</button>
|
||||
),
|
||||
});
|
||||
|
@ -99,7 +99,7 @@ export const actionSendToBack = register({
|
|||
: getShortcutKey("CtrlOrCmd+Shift+[")
|
||||
}`}
|
||||
>
|
||||
<SendToBackIcon appearance={appState.appearance} />
|
||||
<SendToBackIcon theme={appState.theme} />
|
||||
</button>
|
||||
),
|
||||
});
|
||||
|
@ -133,7 +133,7 @@ export const actionBringToFront = register({
|
|||
: getShortcutKey("CtrlOrCmd+Shift+]")
|
||||
}`}
|
||||
>
|
||||
<BringToFrontIcon appearance={appState.appearance} />
|
||||
<BringToFrontIcon theme={appState.theme} />
|
||||
</button>
|
||||
),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue