<?xml version="1.0" encoding="UTF-8"?>
<template name="Thanks for watching" category="Titles" description="End slate with your handle or website." fullscreen="true" anim="fade" animMs="800">
  <field id="title" label="Title" default="Thanks for watching"/>
  <field id="subtitle" label="Subtitle" default="See you next time"/>
  <field id="handle" label="Handle / website" default="@streamstudio"/>
  <field id="accent" label="Accent colour" type="color" default="#e11d48"/>

  <rect x="0" y="0" w="1920" h="1080" fill="linear(160,#0b0d10,#161b24)"/>
  <rect x="0" y="0" w="12" h="1080" fill="{accent}"/>
  <text x="960" y="430" align="center" valign="middle" size="112" weight="800" color="#ffffff" maxWidth="1650">{title}</text>
  <text x="960" y="536" align="center" valign="middle" size="42" weight="500" color="rgba(255,255,255,0.78)" maxWidth="1500" if="subtitle">{subtitle}</text>
  <rect x="760" y="640" w="400" h="72" radius="36" fill="{accent}" if="handle"/>
  <text x="960" y="676" align="center" valign="middle" size="32" weight="700" color="#ffffff" maxWidth="380" if="handle">{handle}</text>
</template>
