Skip to content

Commit

Permalink
Merge branch 'main' of github.com:pixiv/charcoal into toshusai/update…
Browse files Browse the repository at this point in the history
…-textfield-structure
  • Loading branch information
toshusai committed Nov 13, 2023
2 parents 9e2be10 + 9154b54 commit d181427
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 @@ -1146,7 +1146,7 @@ exports[`Storyshots TextField Has Label 1`] = `
line-height: 22px;
margin-top: 4px;
margin-bottom: -4px;
color: var(--charcoal-text1);
color: var(--charcoal-text2);
}

.c0 {
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 @@ -246,5 +246,5 @@ const AssistiveText = styled.p<{ invalid: boolean }>`
line-height: 22px;
margin-top: 4px;
margin-bottom: -4px;
color: ${(p) => `var(--charcoal-${p.invalid ? `assertive` : `text1`})`};
color: ${(p) => `var(--charcoal-${p.invalid ? `assertive` : `text2`})`};
`

0 comments on commit d181427

Please sign in to comment.