Skip to content
Snippets Groups Projects
Commit 0f510f6e authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

text-anchor

parent 9ac0ff6a
No related branches found
No related tags found
No related merge requests found
Pipeline #425905 passed with warnings
...@@ -137,8 +137,8 @@ export function Hwave({text, id}:{text: string, id?: string}){ ...@@ -137,8 +137,8 @@ export function Hwave({text, id}:{text: string, id?: string}){
</path> </path>
</pattern> </pattern>
</defs> </defs>
<text text-anchor="middle" x="50" y="15" font-size="17" fill="url(#wave)" fill-opacity="0.6">{text}</text> <text textAnchor="middle" x="50" y="15" font-size="17" fill="url(#wave)" fill-opacity="0.6">{text}</text>
<text text-anchor="middle" x="50" y="15" font-size="17" fill="url(#gradient)" fill-opacity="0.1">{text}</text> <text textAnchor="middle" x="50" y="15" font-size="17" fill="url(#gradient)" fill-opacity="0.1">{text}</text>
</svg> </svg>
) )
} }
......
...@@ -19,23 +19,23 @@ ...@@ -19,23 +19,23 @@
</g> </g>
<defs> <defs>
<linearGradient id="g-gdqp" x2="1" y2="0"> <linearGradient id="g-gdqp" x2="1" y2="0">
<stop offset="0%" stop-color="rgb(250, 233, 158)"></stop> <stop offset="0%" stopColor="rgb(250, 233, 158)"></stop>
<stop offset="6.25%" stop-color="rgb(249, 222, 118)"></stop> <stop offset="6.25%" stopColor="rgb(249, 222, 118)"></stop>
<stop offset="12.5%" stop-color="rgb(247, 211, 73)"></stop> <stop offset="12.5%" stopColor="rgb(247, 211, 73)"></stop>
<stop offset="18.75%" stop-color="rgb(246, 198, 37)"></stop> <stop offset="18.75%" stopColor="rgb(246, 198, 37)"></stop>
<stop offset="25%" stop-color="rgb(250, 181, 53)"></stop> <stop offset="25%" stopColor="rgb(250, 181, 53)"></stop>
<stop offset="31.25%" stop-color="rgb(254, 163, 64)"></stop> <stop offset="31.25%" stopColor="rgb(254, 163, 64)"></stop>
<stop offset="37.5%" stop-color="rgb(253, 149, 59)"></stop> <stop offset="37.5%" stopColor="rgb(253, 149, 59)"></stop>
<stop offset="43.75%" stop-color="rgb(249, 137, 47)"></stop> <stop offset="43.75%" stopColor="rgb(249, 137, 47)"></stop>
<stop offset="50%" stop-color="rgb(245, 125, 34)"></stop> <stop offset="50%" stopColor="rgb(245, 125, 34)"></stop>
<stop offset="56.25%" stop-color="rgb(228, 93, 95)"></stop> <stop offset="56.25%" stopColor="rgb(228, 93, 95)"></stop>
<stop offset="62.5%" stop-color="rgb(206, 57, 141)"></stop> <stop offset="62.5%" stopColor="rgb(206, 57, 141)"></stop>
<stop offset="68.75%" stop-color="rgb(181, 20, 164)"></stop> <stop offset="68.75%" stopColor="rgb(181, 20, 164)"></stop>
<stop offset="75%" stop-color="rgb(160, 18, 145)"></stop> <stop offset="75%" stopColor="rgb(160, 18, 145)"></stop>
<stop offset="81.25%" stop-color="rgb(140, 16, 126)"></stop> <stop offset="81.25%" stopColor="rgb(140, 16, 126)"></stop>
<stop offset="87.5%" stop-color="rgb(112, 28, 100)"></stop> <stop offset="87.5%" stopColor="rgb(112, 28, 100)"></stop>
<stop offset="93.75%" stop-color="rgb(80, 35, 71)"></stop> <stop offset="93.75%" stopColor="rgb(80, 35, 71)"></stop>
<stop offset="100%" stop-color="rgb(50, 35, 44)"></stop> <stop offset="100%" stopColor="rgb(50, 35, 44)"></stop>
</linearGradient> </linearGradient>
</defs> </defs>
</svg> </svg>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment