diff --git a/server.js b/server.js index af2f7c5..50fc090 100644 --- a/server.js +++ b/server.js @@ -18,14 +18,14 @@ const users = { const stickers = { "88ae126f-b19a-4287-abe0-a8f5ac763cb7": { - color: "#780606", + color: "780606", layout: "layout1", message1: "I ♥ Medicare all All", owner: null, uuid: "88ae126f-b19a-4287-abe0-a8f5ac763cb7", }, "38dafe9b-5563-4112-afa8-c895adc68e5b": { - color: "#008800", + color: "008800", layout: "layout1", message1: "I am a treehugger!", owner: null, diff --git a/src/components/Sticker.vue b/src/components/Sticker.vue index d58bac8..305513c 100644 --- a/src/components/Sticker.vue +++ b/src/components/Sticker.vue @@ -27,6 +27,10 @@ const layout4Class = computed(() => ({ hidden: layout !== 'layout4', layout4: layout === 'layout4', })) + +const color2 = computed(() => { + return '#' + color; +})