<?xml version="1.0" encoding="UTF-8"?>
<template name="News crawl" category="Crawlers" description="Full-width crawl with a label tab." anim="slide-up" from="bottom" animMs="450">
  <field id="label" label="Label" default="Live"/>
  <field id="text" label="Crawl text" type="multiline" default="Welcome to the stream  •  Follow for more  •  Drop your questions in chat"/>
  <field id="speed" label="Speed (px/s)" type="number" default="140" min="20" max="600" step="10"/>
  <field id="accent" label="Accent colour" type="color" default="#e11d48"/>

  <rect x="0" y="1016" w="1920" h="64" fill="rgba(10,12,16,0.94)"/>
  <rect x="0" y="1016" w="1920" h="3" fill="{accent}"/>
  <rect x="0" y="1016" h="64" fill="{accent}" fit="label" pad="26" min="120" hideEmpty="true"/>
  <text id="label" x="26" y="1016" h="64" valign="middle" size="28" weight="900" color="#ffffff" letterSpacing="1" uppercase="true" if="label">{label}</text>
  <crawl xAfter="label" gap="46" right="1920" y="1016" h="64" size="30" weight="500" color="#ffffff" sepColor="{accent}" speed="{speed}">{text}</crawl>
</template>
