Skip to content

Commit

Permalink
text area styles
Browse files Browse the repository at this point in the history
  • Loading branch information
nitheesh-aot committed Sep 4, 2024
1 parent fcccd16 commit 5126836
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions epic.theme/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion epic.theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "epic.theme",
"version": "1.0.10",
"version": "1.0.11",
"main": "dist/epic.theme.umd.js",
"module": "dist/epic.theme.es.js",
"types": "dist/index.d.ts",
Expand Down
11 changes: 9 additions & 2 deletions epic.theme/src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,19 +311,26 @@ export const ComponentStyles: Components = {
fieldset: {
display: "none",
},
"MuiInputAdornment-root": {
".MuiInputAdornment-root": {
color: BCDesignTokens.typographyColorPrimary,
},
},
"& .MuiInputBase-root.MuiInputBase-sizeSmall": {
height: "2.25rem",
fontSize: BCDesignTokens.typographyFontSizeSmallBody,
},
"& .MuiInputBase-root.MuiInputBase-multiline": {
padding: 0,
borderColor: BCDesignTokens.surfaceColorBorderMedium,
".MuiInputBase-inputMultiline": {
resize: "vertical"
}
},
"& .MuiInputBase-root.Mui-error": {
borderColor: BCDesignTokens.typographyColorDanger,
},
"& .MuiInputBase-root.Mui-disabled": {
backgroundColor: BCDesignTokens.surfaceColorFormsDisabled,
backgroundColor: `${BCDesignTokens.surfaceColorFormsDisabled} !important`,
outline: "none",
borderColor: BCDesignTokens.surfaceColorBorderDefault,
},
Expand Down

0 comments on commit 5126836

Please sign in to comment.