mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: dark theme export background
This commit is contained in:
parent
baa133cbb7
commit
787f5d68cf
11 changed files with 172 additions and 75 deletions
|
@ -5,7 +5,6 @@ import {
|
|||
DEFAULT_FONT_FAMILY,
|
||||
DEFAULT_FONT_SIZE,
|
||||
DEFAULT_TEXT_ALIGN,
|
||||
FANCY_BACKGROUND_IMAGES,
|
||||
EXPORT_SCALES,
|
||||
THEME,
|
||||
} from "./constants";
|
||||
|
@ -101,8 +100,7 @@ export const getDefaultAppState = (): Omit<
|
|||
pendingImageElementId: null,
|
||||
showHyperlinkPopup: false,
|
||||
selectedLinearElement: null,
|
||||
fancyBackgroundImageUrl:
|
||||
FANCY_BACKGROUND_IMAGES[DEFAULT_FANCY_BACKGROUND_IMAGE].path,
|
||||
fancyBackgroundImageKey: DEFAULT_FANCY_BACKGROUND_IMAGE,
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -210,7 +208,7 @@ const APP_STATE_STORAGE_CONF = (<
|
|||
pendingImageElementId: { browser: false, export: false, server: false },
|
||||
showHyperlinkPopup: { browser: false, export: false, server: false },
|
||||
selectedLinearElement: { browser: true, export: false, server: false },
|
||||
fancyBackgroundImageUrl: { browser: false, export: false, server: false },
|
||||
fancyBackgroundImageKey: { browser: false, export: false, server: false },
|
||||
});
|
||||
|
||||
const _clearAppStateForStorage = <
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue