|
|
@@ -40,13 +40,13 @@ $options = new QROptions([
|
|
|
],
|
|
|
// https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient
|
|
|
'svgDefs' => '
|
|
|
- <linearGradient id="rainbow" x1="100%" y2="100%">
|
|
|
- <stop stop-color="#e2453c" offset="2.5%"/>
|
|
|
- <stop stop-color="#e07e39" offset="21.5%"/>
|
|
|
- <stop stop-color="#e5d667" offset="40.5%"/>
|
|
|
- <stop stop-color="#51b95b" offset="59.5%"/>
|
|
|
- <stop stop-color="#1e72b7" offset="78.5%"/>
|
|
|
- <stop stop-color="#6f5ba7" offset="97.5%"/>
|
|
|
+ <linearGradient id="rainbow" x1="1" y2="1">
|
|
|
+ <stop stop-color="#e2453c" offset="0"/>
|
|
|
+ <stop stop-color="#e07e39" offset="0.2"/>
|
|
|
+ <stop stop-color="#e5d667" offset="0.4"/>
|
|
|
+ <stop stop-color="#51b95b" offset="0.6"/>
|
|
|
+ <stop stop-color="#1e72b7" offset="0.8"/>
|
|
|
+ <stop stop-color="#6f5ba7" offset="1"/>
|
|
|
</linearGradient>
|
|
|
<style><![CDATA[
|
|
|
.dark{fill: url(#rainbow);}
|