mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
dark mode textareas, fixes #182
This commit is contained in:
parent
a9d6777523
commit
71be62cbe7
3 changed files with 19 additions and 0 deletions
|
@ -2,6 +2,7 @@ $primary-colour: #0071CE;
|
|||
$primary-colour-hover: #0A5CA0;
|
||||
$green: #00b550;
|
||||
$green-hover: #83f188;
|
||||
$lightest-grey: #eee;
|
||||
$light-grey: #ddd;
|
||||
$grey: #bbb;
|
||||
$dark-grey: #777;
|
||||
|
|
|
@ -567,6 +567,15 @@ div.navbar {
|
|||
border-color: #424549;
|
||||
}
|
||||
|
||||
[data-bs-theme=dark] .form-control {
|
||||
background-color: #424549;
|
||||
color: #eee;
|
||||
}
|
||||
[data-bs-theme=dark] .form-control:focus {
|
||||
background-color: #424549;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.community_icon {
|
||||
width: 20vw;
|
||||
height: 20vw;
|
||||
|
|
|
@ -142,6 +142,15 @@ div.navbar {
|
|||
border-color: $super-dark-grey;
|
||||
}
|
||||
|
||||
[data-bs-theme=dark] .form-control {
|
||||
background-color: $super-dark-grey;
|
||||
color: $lightest-grey;
|
||||
&:focus {
|
||||
background-color: $super-dark-grey;
|
||||
color: $lightest-grey;
|
||||
}
|
||||
}
|
||||
|
||||
.community_icon {
|
||||
width: 20vw;
|
||||
height: 20vw;
|
||||
|
|
Loading…
Add table
Reference in a new issue