aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-01-20 00:37:45 +0200
committerHenry Jameson <me@hjkos.com>2020-01-20 00:37:45 +0200
commit6a3714fcc64fe25e6fc38a700083427c2764caec (patch)
treea68bb1b17a5c1d31250afd7b6b8c355f6d16ec65 /src
parente4033c85e2066d8a575a1cd8e5a59bb685a3adf0 (diff)
Checked contrast rating errors
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
}
},