]> _ Git - fluidbook-toolbox.git/commitdiff
fix #3614 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 22 Apr 2020 18:17:56 +0000 (20:17 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 22 Apr 2020 18:17:56 +0000 (20:17 +0200)
app/Models/Quiz.php

index 73f68071d9bdf670507d09e585adde73a0cf3bf9..44f5c7c79028c3ba38e1b6d055cf0fc9af118c53 100644 (file)
@@ -25,11 +25,11 @@ class Quiz extends CubistMagicAbstractModel
         'failedMessage' => 'Message displayed when failing the quiz'];
 
     protected static $_colors = [
-        'mainColor' => ['label' => 'Main color', 'hint' => 'Buttons and rollovers color', 'value' => '#e7007a'],
-        'overlay' => ['label' => 'Overlay', 'hint' => 'Overlay set on the banner', 'value' => 'rgba(0,0,0,0.75)'],
-        'reviewBackground' => ['label' => 'Review panel background color', 'value' => '#262626'],
-        'okColor' => ['label' => 'OK color', 'hint' => 'Color of the ok badge (usually green)', 'value' => '#66c924'],
-        'nokColor' => ['label' => 'NOK color', 'hint' => 'Color of the not ok badge (usually red)', 'value' => '#c61e35'],
+        'mainColor' => ['label' => 'Main color', 'hint' => 'Buttons and rollovers color', 'default' => '#e7007a'],
+        'overlay' => ['label' => 'Overlay', 'hint' => 'Overlay set on the banner', 'default' => 'rgba(0,0,0,0.75)'],
+        'reviewBackground' => ['label' => 'Review panel background color', 'default' => '#262626'],
+        'okColor' => ['label' => 'OK color', 'hint' => 'Color of the ok badge (usually green)', 'default' => '#66c924'],
+        'nokColor' => ['label' => 'NOK color', 'hint' => 'Color of the not ok badge (usually red)', 'default' => '#c61e35'],
     ];
 
     protected static $_images = [