Skip to content

Commit e948ebb

Browse files
fix(control-label): set font weight to bold (#529)
Co-authored-by: Huyen Nguyen <[email protected]>
1 parent aa9151f commit e948ebb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/control-label/control-label.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ export const ControlLabel = ({
2121
? validationLabel[validationState]
2222
: "text-foreground-primary";
2323
const screenOnlyClass = srOnly ? "sr-only" : undefined;
24-
const defaultClasses = [labelStyle, screenOnlyClass, className].join(" ");
24+
const defaultClasses = [
25+
"font-bold",
26+
labelStyle,
27+
screenOnlyClass,
28+
className,
29+
].join(" ");
2530

2631
return (
2732
<label

0 commit comments

Comments
 (0)