Skip to content

Commit

Permalink
[scss:gmail] Add styles to darken reply editor
Browse files Browse the repository at this point in the history
  • Loading branch information
m4heshd committed Oct 20, 2023
1 parent 2129d46 commit 3d4787c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions dist/gmail.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@
color: #78b4f8 !important;
background: #000;
}
/* New Message Editor */
.AD, .aSt {
/* New Message Editor and Reply Editor */
.AD, .aSt, .gA .I5 {
filter: invert(93.2%) hue-rotate(180deg);
}
.AD .az2 .J-JN-M-I-Jm, .aSt .az2 .J-JN-M-I-Jm {
.AD .az2 .J-JN-M-I-Jm, .aSt .az2 .J-JN-M-I-Jm, .gA .I5 .az2 .J-JN-M-I-Jm {
color: black;
}
.AD .J-M, .aSt .J-M {
.AD .J-M, .aSt .J-M, .gA .I5 .J-M {
filter: invert(93.2%) hue-rotate(180deg);
}
.AD img, .aSt img {
.AD img:not(.uC > img), .aSt img:not(.uC > img), .gA .I5 img:not(.uC > img) {
filter: invert(100%) hue-rotate(180deg) contrast(120%) saturate(120%);
}
.AD ::selection, .aSt ::selection {
.AD ::selection, .aSt ::selection, .gA .I5 ::selection {
color: #78b4f8 !important;
background: #000;
}
Expand Down
6 changes: 3 additions & 3 deletions src/gmail.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ $revert-img-invert: invert(100%) hue-rotate(180deg) contrast(120%) saturate(120%
@include text-selection-fix;
}

/* New Message Editor */
.AD, .aSt {
/* New Message Editor and Reply Editor */
.AD, .aSt, .gA .I5 {
// Editor
filter: $invert-colors;

Expand All @@ -87,7 +87,7 @@ $revert-img-invert: invert(100%) hue-rotate(180deg) contrast(120%) saturate(120%
}

// Images
& img {
& img:not(.uC > img) {
filter: $revert-img-invert;
}

Expand Down

0 comments on commit 3d4787c

Please sign in to comment.