fix some contrast ratios not displaying
This commit is contained in:
parent
62343f6099
commit
7d7ccf7298
2 changed files with 18 additions and 12 deletions
|
@ -37,9 +37,15 @@
|
|||
|
||||
<script>
|
||||
export default {
|
||||
props: [
|
||||
'large', 'contrast'
|
||||
],
|
||||
props: {
|
||||
large: {
|
||||
required: false
|
||||
},
|
||||
contrast: {
|
||||
required: true,
|
||||
type: Object
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
hint () {
|
||||
const levelVal = this.contrast.aaa ? 'aaa' : (this.contrast.aa ? 'aa' : 'bad')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue