Merge pull request #36045 from overleaf/dp-dark-theme-textareas

Apply themed light/dark styling to textarea form controls

GitOrigin-RevId: 304b73e983d0e20fa5d691a513ca6b16b8ef5d54
This commit is contained in:
Tom Wells
2026-09-17 11:44:09 +00:00
committed by Copybot
parent 4234c9af29
commit 074c9a882a
3 changed files with 2 additions and 24 deletions
@@ -17,7 +17,6 @@
@import 'list';
@import 'select';
@import 'modal';
@import 'offcanvas';
@import 'quote';
@import 'footer';
@import 'nav';
@@ -530,7 +530,8 @@ input[type='range'] {
}
input.form-control[type='text'],
input.form-control[type='search'] {
input.form-control[type='search'],
textarea.form-control {
color: var(--input-field-color);
background-color: var(--input-field-bg);
border-color: var(--input-field-border-color);
@@ -1,22 +0,0 @@
// Mirrors .modal in modal.scss; .bibtex-entry-preview-panel is a
// non-offcanvas drawer that needs the same light-theme forcing.
@include theme('default') {
.offcanvas,
.bibtex-entry-preview-panel {
@include light-themed-variables;
@include light-dropdown-menu;
@include light-notification;
@include light-select;
@include form-check-light;
@include form-select-light;
.form-control,
.form-control-wrapper {
@include light-input;
}
.btn {
@include light-buttons;
}
}
}