mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: select the export bcg image and bcg color from appState
This commit is contained in:
parent
f15417f864
commit
f57cd7e2d5
20 changed files with 491 additions and 97 deletions
|
@ -316,3 +316,15 @@ export const DEFAULT_SIDEBAR = {
|
|||
} as const;
|
||||
|
||||
export const LIBRARY_DISABLED_TYPES = new Set(["embeddable", "image"] as const);
|
||||
|
||||
export const EXPORT_BACKGROUND_IMAGES = {
|
||||
"/backgrounds/bubbles.svg": "bubbles",
|
||||
"/backgrounds/bubbles2.svg": "bubbles 2",
|
||||
"/backgrounds/bricks.svg": "bricks",
|
||||
"/backgrounds/lines.svg": "lines",
|
||||
"/backgrounds/lines2.svg": "lines 2",
|
||||
} as const;
|
||||
|
||||
export const DEFAULT_EXPORT_BACKGROUND_IMAGE = Object.keys(
|
||||
EXPORT_BACKGROUND_IMAGES,
|
||||
)[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue