Skip to content

Commit

Permalink
Refactor #6636 - For InputText
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Oct 24, 2024
1 parent 7a3304a commit bcbb004
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/primevue/src/inputtext/style/InputTextStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const theme = ({ dt }) => `
font-size: 1rem;
color: ${dt('inputtext.color')};
background: ${dt('inputtext.background')};
padding: ${dt('inputtext.padding.y')} ${dt('inputtext.padding.x')};
padding-block: ${dt('inputtext.padding.y')};
padding-inline: ${dt('inputtext.padding.x')};
border: 1px solid ${dt('inputtext.border.color')};
transition: background ${dt('inputtext.transition.duration')}, color ${dt('inputtext.transition.duration')}, border-color ${dt('inputtext.transition.duration')}, outline-color ${dt('inputtext.transition.duration')}, box-shadow ${dt(
'inputtext.transition.duration'
Expand Down Expand Up @@ -57,12 +58,14 @@ const theme = ({ dt }) => `
.p-inputtext-sm {
font-size: ${dt('inputtext.sm.font.size')};
padding: ${dt('inputtext.sm.padding.y')} ${dt('inputtext.sm.padding.x')};
padding-block: ${dt('inputtext.sm.padding.y')};
padding-inline: ${dt('inputtext.sm.padding.x')};
}
.p-inputtext-lg {
font-size: ${dt('inputtext.lg.font.size')};
padding: ${dt('inputtext.lg.padding.y')} ${dt('inputtext.lg.padding.x')};
padding-block: ${dt('inputtext.lg.padding.y')};
padding-inline: ${dt('inputtext.lg.padding.x')};
}
.p-inputtext-fluid {
Expand Down

0 comments on commit bcbb004

Please sign in to comment.