Skip to content

Commit da4bddb

Browse files
author
Joshua Stübner
committed
fix(ui): fix font weight of non label elements
1 parent d86eb54 commit da4bddb

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

packages/ui/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.2.1 (2026-01-03)
2+
3+
### fixes
4+
5+
- fix non input label font weights
6+
17
## 2.2.0 (2026-01-03)
28

39
### features

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"type": "git",
1313
"url": "https://github.com/nordcode-agency/nordcode/tree/main/packages/ui"
1414
},
15-
"version": "2.2.0",
15+
"version": "2.2.1",
1616
"publishConfig": {
1717
"access": "public"
1818
},

packages/ui/src/styles/components/inputs/base.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
font-size: inherit;
99
gap: 0;
1010
align-items: center;
11+
12+
& .nc-hint, & .nc-input-error {
13+
font-weight: var(--font-weight-default);
14+
}
1115
}
1216

1317
:where(input, textarea, select, .nc-input, .nc-select, .nc-textarea, .nc-input-checkbox, .nc-input-radio, .nc-input-label, .nc-input-color, .nc-input-field, .nc-input-error, .nc-checkbox-wrapper, .nc-input-switch, .nc-radio-field, .nc-checkbox-field) {

0 commit comments

Comments
 (0)