diff --git a/app/src/main/res/color/component_color_text_layout.xml b/app/src/main/res/color/component_color_text_layout.xml
new file mode 100644
index 00000000000..9795672d6eb
--- /dev/null
+++ b/app/src/main/res/color/component_color_text_layout.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/app/src/main/res/values-night/color_palette.xml b/app/src/main/res/values-night/color_palette.xml
index 7bb64f94cb7..299d498bfc6 100644
--- a/app/src/main/res/values-night/color_palette.xml
+++ b/app/src/main/res/values-night/color_palette.xml
@@ -225,4 +225,6 @@
@color/color_def_white
@color/color_def_oppia_green
@color/color_def_pale_green
+ @color/color_def_black_87
+ @color/color_def_white
diff --git a/app/src/main/res/values/color_palette.xml b/app/src/main/res/values/color_palette.xml
index 50e8f6caa30..13113daf937 100644
--- a/app/src/main/res/values/color_palette.xml
+++ b/app/src/main/res/values/color_palette.xml
@@ -265,4 +265,6 @@
@color/color_def_chooser_grey
@color/color_def_persian_green
@color/color_def_grey
+ @color/color_def_black_87
+ @color/color_def_black_87
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 2be703def67..149d87fd1d1 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -170,7 +170,7 @@
- @dimen/text_input_layout_corner_radius
- @dimen/text_input_layout_corner_radius
- @dimen/text_input_layout_corner_radius
- - @color/component_color_shared_text_input_layout_stroke_color
+ - @color/component_color_text_layout
- @dimen/text_input_layout_stroke_width
- true
- @color/component_color_shared_text_input_layout_error_color