Darken numeric preview text

This commit is contained in:
Ian Philips 2022-08-05 07:08:41 -06:00
parent de6d5b388a
commit f47b70dd3c

View File

@ -148,15 +148,15 @@ export function getHtml(parsedReq: ParsedRequest) {
<div class="text-indigo-700 text-6xl leading-tight">
${truncatedQuestion}
</div>
<div class="flex flex-col text-primary text-center">
<div class="flex flex-col text-primary">
<div class="text-8xl">${probability}</div>
<span class='text-blue-400'>
<div class="text-4xl">${probability !== '' ? 'chance' : ''}</div>
<span class='text-blue-500 text-center'>
<div class="text-8xl ">${
numericValue !== '' && probability === '' ? numericValue : ''
}</div>
<div class="text-4xl">${numericValue !== '' ? 'expected' : ''}</div>
</span>
<div class="text-4xl">${probability !== '' ? 'chance' : ''}</div>
</div>
</div>