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
|
@ -20,9 +20,17 @@ Please add the latest change on the top under the correct section.
|
|||
|
||||
- Support `libraryReturnUrl` prop to indicate what URL to install libraries to [#3227](https://github.com/excalidraw/excalidraw/pull/3227).
|
||||
|
||||
### Refactor
|
||||
|
||||
- Rename appearance to theme [#3237](https://github.com/excalidraw/excalidraw/pull/3237).
|
||||
#### BREAKING CHANGE
|
||||
- Since `appState.appearance` is renamed to `appState.theme` so wherever `appState.appearance` including `initialData.appState.appearance` should be renamed to `appState.theme` and `initialData.appState.theme` respectively. If the `appearance` was persisted earlier, now it needs to passed as `theme`.
|
||||
- The class `Appearance_dark` is renamed to `theme--dark`.
|
||||
- The class `Appearance_dark-background-none` is renamed to `theme--dark-background-none`.
|
||||
|
||||
---
|
||||
|
||||
## 0.4.3
|
||||
## 0.4.3 (2021-03-12)
|
||||
|
||||
## Excalidraw API
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue