fix(striker-ui): inherit colour in input test messages

This commit is contained in:
Tsu-ba-me 2023-04-05 17:18:51 -04:00
parent 95ce723b86
commit f8b6520da8
2 changed files with 8 additions and 8 deletions

View File

@ -21,8 +21,8 @@ const buildDomainTestBatch: BuildInputTestBatchFunction = (
onDomainTestFailure(
<>
{inputName} can only contain lowercase alphanumeric, hyphen (
<InlineMonoText text="-" />
), and dot (<InlineMonoText text="." />) characters.
<InlineMonoText inheritColour text="-" />
), and dot (<InlineMonoText inheritColour text="." />) characters.
</>,
...args,
);

View File

@ -25,12 +25,12 @@ const buildPeacefulStringTestBatch: BuildInputTestBatchFunction = (
onTestPeacefulStringFailureAppend(
<>
{inputName} cannot contain single-quote (
<InlineMonoText text="'" />
), double-quote (<InlineMonoText text='"' />
), slash (<InlineMonoText text="/" />
), backslash (<InlineMonoText text="\" />
), angle brackets (<InlineMonoText text="<>" />
), curly brackets (<InlineMonoText text="{}" />
<InlineMonoText inheritColour text="'" />
), double-quote (<InlineMonoText inheritColour text='"' />
), slash (<InlineMonoText inheritColour text="/" />
), backslash (<InlineMonoText inheritColour text="\" />
), angle brackets (<InlineMonoText inheritColour text="<>" />
), curly brackets (<InlineMonoText inheritColour text="{}" />
).
</>,
...args,