diff --git a/src/theme/components/formlabel.modifier.ts b/src/theme/components/formlabel.modifier.ts index 67b1626c5..571ad63ae 100644 --- a/src/theme/components/formlabel.modifier.ts +++ b/src/theme/components/formlabel.modifier.ts @@ -6,9 +6,11 @@ export const MuiFormLabel: Components['MuiFormLabel'] = { const { palette: { background: { brand } - } + }, + typography: { textB1Regular } } = theme; return { + ...textB1Regular, '&.Mui-focused': { color: brand?.default } diff --git a/src/theme/components/input.modifier.ts b/src/theme/components/input.modifier.ts index d42899eaf..9ff507054 100644 --- a/src/theme/components/input.modifier.ts +++ b/src/theme/components/input.modifier.ts @@ -6,9 +6,11 @@ export const MuiInput: Components['MuiInput'] = { const { palette: { background: { graphics } - } + }, + typography: { textB1Regular } } = theme; return { + ...textB1Regular, '&:before': { borderBottom: '2px solid rgba(0, 0, 0, 0.5)' }, diff --git a/src/theme/components/outlinedinput.modifier.ts b/src/theme/components/outlinedinput.modifier.ts index a0f17e860..fdff0d1cb 100644 --- a/src/theme/components/outlinedinput.modifier.ts +++ b/src/theme/components/outlinedinput.modifier.ts @@ -10,9 +10,11 @@ export const MuiOutlinedInput: Components['MuiOutlinedInput'] = { const { palette: { background: { graphics, brand } - } + }, + typography: { textB1Regular } } = theme; return { + ...textB1Regular, [`&:hover .${outlinedInputClasses.notchedOutline}`]: { borderColor: graphics?.default }, diff --git a/src/theme/components/textfield.modifier.ts b/src/theme/components/textfield.modifier.ts index c6bd08ded..3202d47ce 100644 --- a/src/theme/components/textfield.modifier.ts +++ b/src/theme/components/textfield.modifier.ts @@ -6,9 +6,11 @@ export const MuiTextField: Components['MuiTextField'] = { const { palette: { background: { graphics } - } + }, + typography: { textB1Regular } } = theme; return { + ...textB1Regular, '--TextField-brandBorderColor': 'rgba(0, 0, 0, 0.5)', '--TextField-brandBorderHoverColor': graphics?.default, '--TextField-brandBorderFocusedColor': graphics?.default,