Skip to content

Commit

Permalink
Merge pull request #83 from myntra/fix/inputbg
Browse files Browse the repository at this point in the history
Input Components will always have White Background
  • Loading branch information
advaitk7 authored Nov 27, 2023
2 parents 018c677 + 0019008 commit 3b54c03
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions components/input-checkbox/src/input-checkbox.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@include mixin-input-component();

display: inline-block;
background-color: transparent;
border-bottom-color: transparent;
}

Expand Down
1 change: 1 addition & 0 deletions components/input-masked/src/input-masked.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.input {
@include mixin-input-text-revamp(border, padding('input.text'));

background-color: transparent;
input {
font-size: inherit;
}
Expand Down
1 change: 1 addition & 0 deletions components/input-text-area/src/input-text-area.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
.input {
width: 100%;
vertical-align: baseline;
background-color: transparent;
border: none;
outline: none;

Expand Down
4 changes: 2 additions & 2 deletions components/input/src/_input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
padding: padding('input');
font-size: inherit;
color: text-color('dark');
background-color: transparent;
background-color: color('white');
border: none;
border-bottom: 1px solid color('gray-dark');

Expand All @@ -26,7 +26,7 @@
font-size: inherit;
line-height: inherit;
color: text-color('input.text');
background-color: transparent;
background-color: color('white');
#{$border-type}: 1px solid color('input.border');

@if not($border-type == 'border-bottom') {
Expand Down
2 changes: 1 addition & 1 deletion components/input/src/input.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
padding: 0;
// margin-left: size('1x');
line-height: inherit;
background-color: transparent;
background-color: color('white');
border: 0;
outline: none;
}
Expand Down

0 comments on commit 3b54c03

Please sign in to comment.