mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Merge pull request #1262 from hgiesel/visibledeckpreset
Make input in TextInputModal in dark mode visible
This commit is contained in:
commit
fa070d9da3
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"
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue