From 73de9e20e87a8b4bfe99e397d7f1f59e7060e73c Mon Sep 17 00:00:00 2001 From: toshusai Date: Thu, 2 Nov 2023 10:52:52 +0900 Subject: [PATCH] fix: update TextField,TextArea assistiveText color --- .../components/TextArea/__snapshots__/TextArea.story.storyshot | 2 +- packages/react/src/components/TextArea/index.tsx | 2 +- .../TextField/__snapshots__/TextField.story.storyshot | 2 +- packages/react/src/components/TextField/index.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react/src/components/TextArea/__snapshots__/TextArea.story.storyshot b/packages/react/src/components/TextArea/__snapshots__/TextArea.story.storyshot index 473f94522..bd6a51397 100644 --- a/packages/react/src/components/TextArea/__snapshots__/TextArea.story.storyshot +++ b/packages/react/src/components/TextArea/__snapshots__/TextArea.story.storyshot @@ -1183,7 +1183,7 @@ exports[`Storyshots TextArea Has Label 1`] = ` display: flow-root; margin-top: 8px; margin-bottom: 0px; - color: var(--charcoal-text1); + color: var(--charcoal-text2); } .c13::before { diff --git a/packages/react/src/components/TextArea/index.tsx b/packages/react/src/components/TextArea/index.tsx index b4436b4ed..204bde0aa 100644 --- a/packages/react/src/components/TextArea/index.tsx +++ b/packages/react/src/components/TextArea/index.tsx @@ -242,6 +242,6 @@ const AssistiveText = styled.p<{ invalid: boolean }>` o.typography(14), o.margin.top(8), o.margin.bottom(0), - o.font[p.invalid ? 'assertive' : 'text1'], + o.font[p.invalid ? 'assertive' : 'text2'], ])} ` diff --git a/packages/react/src/components/TextField/__snapshots__/TextField.story.storyshot b/packages/react/src/components/TextField/__snapshots__/TextField.story.storyshot index 072eae638..3194128ce 100644 --- a/packages/react/src/components/TextField/__snapshots__/TextField.story.storyshot +++ b/packages/react/src/components/TextField/__snapshots__/TextField.story.storyshot @@ -1287,7 +1287,7 @@ exports[`Storyshots TextField Has Label 1`] = ` display: flow-root; margin-top: 8px; margin-bottom: 0px; - color: var(--charcoal-text1); + color: var(--charcoal-text2); } .c15::before { diff --git a/packages/react/src/components/TextField/index.tsx b/packages/react/src/components/TextField/index.tsx index 0f5a479aa..2516dc1f0 100644 --- a/packages/react/src/components/TextField/index.tsx +++ b/packages/react/src/components/TextField/index.tsx @@ -260,6 +260,6 @@ const AssistiveText = styled.p<{ invalid: boolean }>` o.typography(14), o.margin.top(8), o.margin.bottom(0), - o.font[p.invalid ? 'assertive' : 'text1'], + o.font[p.invalid ? 'assertive' : 'text2'], ])} `