Fix avatar cropper picture gets inverted color in darkmode

This commit is contained in:
hadi 2023-05-26 11:24:05 +02:00
parent 710b28396d
commit 5c08a266c1
3 changed files with 3 additions and 1 deletions

View File

@ -78,6 +78,7 @@
html[data-darkmode='1'] sl-menu-item [slot="prefix"],
html[data-darkmode='1'] iframe,
html[data-darkmode='1'] et2-lavatar[image=""]::part(base),
html[data-darkmode='1'] et2-avatar[id="_cropper_image"],
html[data-darkmode='1'] video,
html[data-darkmode='1'] #loginMainDiv,
html[data-darkmode='1'] .et2_taglist_tags_icon,

View File

@ -33,7 +33,7 @@
sl-menu-item::part(prefix), et2-select-country::part(prefix),
et2-button::part(prefix), *::part(image), img, #blueimp-gallery:not(:fullscreen), #blueimp-gallery ol,
et2-select-account::part(icon), et2-select-email::part(icon), et2-calendar-owner::part(icon), sl-menu-item [slot="prefix"],
iframe, et2-lavatar[image=""]::part(base),
iframe, et2-lavatar[image=""]::part(base), et2-avatar[id="_cropper_image"],
video, #loginMainDiv, .et2_taglist_tags_icon, .fw_avatar_stat, et2-avatar-group,
.blueimp-gallery .slide {
filter: invert(1) hue-rotate(180deg) !important;

View File

@ -53,6 +53,7 @@
html[data-darkmode='1'] sl-menu-item [slot="prefix"],
html[data-darkmode='1'] iframe,
html[data-darkmode='1'] et2-lavatar[image=""]::part(base),
html[data-darkmode='1'] et2-avatar[id="_cropper_image"],
html[data-darkmode='1'] video,
html[data-darkmode='1'] #loginMainDiv,
html[data-darkmode='1'] .et2_taglist_tags_icon,