From f6bc505597463cc8f593e00d74b421175a69f7f3 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 28 Jul 2020 00:20:51 +0200 Subject: some fullscreen elements fading in... --- animism-align/frontend/app/constants.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'animism-align/frontend/app/constants.js') diff --git a/animism-align/frontend/app/constants.js b/animism-align/frontend/app/constants.js index db710a5..2ed5563 100644 --- a/animism-align/frontend/app/constants.js +++ b/animism-align/frontend/app/constants.js @@ -72,3 +72,7 @@ export const CURTAIN_COLOR_SELECT_OPTIONS = CURTAIN_COLORS.map(color => ({ name: color.label, })) +export const CURTAIN_COLOR_LOOKUP = CURTAIN_COLORS.reduce((a,b) => { + a[b.label] = b + return a +}, {}) -- cgit v1.2.3-70-g09d2