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(
|
||||
<>
|
||||
{inputName} can only contain lowercase alphanumeric, hyphen (
|
||||
<InlineMonoText text="-" />
|
||||
), and dot (<InlineMonoText text="." />) characters.
|
||||
<InlineMonoText inheritColour text="-" />
|
||||
), and dot (<InlineMonoText inheritColour text="." />) characters.
|
||||
</>,
|
||||
...args,
|
||||
);
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user