aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/contrast_ratio/contrast_ratio.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/contrast_ratio/contrast_ratio.vue b/src/components/contrast_ratio/contrast_ratio.vue
index 5e79ef41..ba92bc17 100644
--- a/src/components/contrast_ratio/contrast_ratio.vue
+++ b/src/components/contrast_ratio/contrast_ratio.vue
@@ -41,8 +41,10 @@ export default {
large: {
required: false
},
+ // TODO: Make theme switcher compute theme initially so that contrast
+ // component won't be called without contrast data
contrast: {
- required: true,
+ required: false,
type: Object
}
},