Skip to content

Commit 291ef09

Browse files
first two dark mode issues (#370)
1 parent d155fbb commit 291ef09

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Changelog
2+
## [30.1.1] - 2025-07-03
3+
- make InputField and Dropdown dark mode friendlier
24
## [30.1.0] - 2025-07-03
35
- add custom react hooks (for api requests, auth, etc)
46
## [30.0.0] - 2025-07-02 VERY BREAKING

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@linn-it/linn-form-components-library",
3-
"version": "30.1.0",
3+
"version": "30.1.1",
44
"private": false,
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.esm.js",

src/components/Dropdown.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,7 @@ function Dropdown({
7272
<TextField
7373
sx={{
7474
paddingTop: 0,
75-
marginTop: theme => theme.spacing(1),
76-
'& .MuiInputBase-root.Mui-disabled': {
77-
backgroundColor: theme => theme.palette.grey[100],
78-
color: theme => theme.palette.text.secondary
79-
}
75+
marginTop: theme => theme.spacing(1)
8076
}}
8177
autoFocus={autoFocus}
8278
error={error}

src/components/InputField.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,7 @@ function InputField({
9797
<TextField
9898
sx={{
9999
paddingTop: 0,
100-
marginTop: theme => theme.spacing(1),
101-
'& .Mui-disabled': {
102-
backgroundColor: theme => theme.palette.grey[100],
103-
color: theme => theme.palette.text.secondary
104-
}
100+
marginTop: theme => theme.spacing(1)
105101
}}
106102
disabled={disabled}
107103
error={inErrorState}

0 commit comments

Comments
 (0)