Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (27 sloc) 870 Bytes
title
contrast

Type: boolean
Default: false

When enabled, it will generate a high contrast card based on predominant colors detected in the feature image from the target URL.

<MultiCodeEditor languages={{ React: `import Microlink from '@microlink/react'

export default () => ( ) , Vanilla:

<script> document.addEventListener('DOMContentLoaded', function (event) { microlink('a', { contrast: true }) }) </script>

, Jekyll: {:.card-preview data-contrast='true'} `}} />

You can’t perform that action at this time.