feat: select the export bcg image and bcg color from appState

This commit is contained in:
Arnošt Pleskot 2023-07-28 23:45:01 +02:00
parent f15417f864
commit f57cd7e2d5
No known key found for this signature in database
20 changed files with 491 additions and 97 deletions

View file

@ -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];