Skip to content

Commit

Permalink
fix(style): Only respect the prefers-color-scheme on default nextclou…
Browse files Browse the repository at this point in the history
…d theme

Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Apr 15, 2024
1 parent 09727cb commit 969e38b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions css/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@

/* System default: dark theme */
@media (prefers-color-scheme: dark) {
.user-bubble__avatar .icon-group-forced-white.avatar-class-icon,
.user-bubble__avatar .icon-user-forced-white.avatar-class-icon,
.autocomplete-result .icon-group-forced-white.autocomplete-result__icon--,
.autocomplete-result .icon-user-forced-white.autocomplete-result__icon--,
.mention-bubble .icon-group-forced-white.mention-bubble__icon--,
.mention-bubble .icon-user-forced-white.mention-bubble__icon-- {
body[data-theme-default] .user-bubble__avatar .icon-group-forced-white.avatar-class-icon,
body[data-theme-default] .user-bubble__avatar .icon-user-forced-white.avatar-class-icon,
body[data-theme-default] .autocomplete-result .icon-group-forced-white.autocomplete-result__icon--,
body[data-theme-default] .autocomplete-result .icon-user-forced-white.autocomplete-result__icon--,
body[data-theme-default] .mention-bubble .icon-group-forced-white.mention-bubble__icon--,
body[data-theme-default] .mention-bubble .icon-user-forced-white.mention-bubble__icon-- {
background-color: #3B3B3B;
}
}
Expand Down

0 comments on commit 969e38b

Please sign in to comment.