mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Make input in TextInputModal in dark mode visible
This commit is contained in:
parent
7e358707e5
commit
f4f70c514c
1 changed files with 7 additions and 0 deletions
|
@ -76,6 +76,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
id="prompt-input"
|
id="prompt-input"
|
||||||
bind:this={inputRef}
|
bind:this={inputRef}
|
||||||
type="text"
|
type="text"
|
||||||
|
class:nightMode
|
||||||
class="form-control"
|
class="form-control"
|
||||||
bind:value
|
bind:value
|
||||||
/>
|
/>
|
||||||
|
@ -95,6 +96,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
@use "ts/sass/night_mode" as nightmode;
|
||||||
|
|
||||||
|
.nightMode {
|
||||||
|
@include nightmode.input;
|
||||||
|
}
|
||||||
|
|
||||||
.default-colors {
|
.default-colors {
|
||||||
background-color: var(--window-bg);
|
background-color: var(--window-bg);
|
||||||
color: var(--text-fg);
|
color: var(--text-fg);
|
||||||
|
|
Loading…
Reference in a new issue