Make input in TextInputModal in dark mode visible

This commit is contained in:
Henrik Giesel 2021-06-29 03:20:15 +02:00
parent 7e358707e5
commit f4f70c514c

View File

@ -76,6 +76,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
id="prompt-input"
bind:this={inputRef}
type="text"
class:nightMode
class="form-control"
bind:value
/>
@ -95,6 +96,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</div>
<style lang="scss">
@use "ts/sass/night_mode" as nightmode;
.nightMode {
@include nightmode.input;
}
.default-colors {
background-color: var(--window-bg);
color: var(--text-fg);