Merge pull request #1262 from hgiesel/visibledeckpreset

Make input in TextInputModal in dark mode visible
This commit is contained in:
Damien Elmes 2021-06-29 11:24:21 +10:00 committed by GitHub
commit fa070d9da3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);