Skip to content

Commit

Permalink
Merge pull request #407 from pixiv/toshusai/fix-textfield-assistive-t…
Browse files Browse the repository at this point in the history
…ext-color

fix: assistiveTextの色をtext1からtext2に変更
  • Loading branch information
toshusai authored Nov 2, 2023
2 parents 7dfd71a + 73de9e2 commit 9154b54
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/TextArea/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
])}
`
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/TextField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
])}
`

0 comments on commit 9154b54

Please sign in to comment.