fix(striker-ui): inherit colour in input test messages
This commit is contained in:
parent
95ce723b86
commit
f8b6520da8
@ -21,8 +21,8 @@ const buildDomainTestBatch: BuildInputTestBatchFunction = (
|
|||||||
onDomainTestFailure(
|
onDomainTestFailure(
|
||||||
<>
|
<>
|
||||||
{inputName} can only contain lowercase alphanumeric, hyphen (
|
{inputName} can only contain lowercase alphanumeric, hyphen (
|
||||||
<InlineMonoText text="-" />
|
<InlineMonoText inheritColour text="-" />
|
||||||
), and dot (<InlineMonoText text="." />) characters.
|
), and dot (<InlineMonoText inheritColour text="." />) characters.
|
||||||
</>,
|
</>,
|
||||||
...args,
|
...args,
|
||||||
);
|
);
|
||||||
|
@ -25,12 +25,12 @@ const buildPeacefulStringTestBatch: BuildInputTestBatchFunction = (
|
|||||||
onTestPeacefulStringFailureAppend(
|
onTestPeacefulStringFailureAppend(
|
||||||
<>
|
<>
|
||||||
{inputName} cannot contain single-quote (
|
{inputName} cannot contain single-quote (
|
||||||
<InlineMonoText text="'" />
|
<InlineMonoText inheritColour text="'" />
|
||||||
), double-quote (<InlineMonoText text='"' />
|
), double-quote (<InlineMonoText inheritColour text='"' />
|
||||||
), slash (<InlineMonoText text="/" />
|
), slash (<InlineMonoText inheritColour text="/" />
|
||||||
), backslash (<InlineMonoText text="\" />
|
), backslash (<InlineMonoText inheritColour text="\" />
|
||||||
), angle brackets (<InlineMonoText text="<>" />
|
), angle brackets (<InlineMonoText inheritColour text="<>" />
|
||||||
), curly brackets (<InlineMonoText text="{}" />
|
), curly brackets (<InlineMonoText inheritColour text="{}" />
|
||||||
).
|
).
|
||||||
</>,
|
</>,
|
||||||
...args,
|
...args,
|
||||||
|
Loading…
Reference in New Issue
Block a user