Skip to content

Commit

Permalink
Merge pull request #220 from BouyguesTelecom/fix/input-style
Browse files Browse the repository at this point in the history
change font weight of label and color of sample
  • Loading branch information
JulienMora authored Dec 16, 2024
2 parents 4d061d5 + bc4b6af commit 0e28699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/components/input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ const Input = (
</label>
)}
{sample && (
<Text className="input-sample" level={TextLevels.TWO} typo={TypographyColor.TEXT_DISABLED}>
<Text className="input-sample" level={TextLevels.TWO}>
{sample}
</Text>
)}
Expand Down
1 change: 1 addition & 0 deletions packages/styles/framework/src/elements/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ $label-weight: $weight-bold;
.input-label {
display: inline-block;
margin-bottom: 6px;
font-weight: 500;
}

.input-sample {
Expand Down

0 comments on commit 0e28699

Please sign in to comment.