@@ -94,7 +94,7 @@ html.dark-mode {
9494 .authorization__btn svg ,
9595 .expand-operation svg ,
9696 .opblock-control-arrow svg {
97- fill : $neutral-40 ;
97+ color : $neutral-40 ;
9898 opacity : 1 ;
9999 }
100100
@@ -217,7 +217,7 @@ html.dark-mode {
217217 border-color : $neutral-80 ;
218218
219219 .close-modal svg {
220- fill : $neutral-20 ;
220+ color : $neutral-20 ;
221221 }
222222 }
223223
@@ -260,6 +260,15 @@ html.dark-mode {
260260 background : $neutral-80
261261 url (' data:image/svg+xml, <svg width="10px" height="8px" viewBox="3 7 10 8" version="1.1" xmlns="http://www.w3.org/2000/svg"><polygon id="Rectangle-34" stroke="none" fill="#E4E6E6" fill-rule="evenodd" points="6.33333333 15 3 11.6666667 4.33333333 10.3333333 6.33333333 12.3333333 11.6666667 7 13 8.33333333"></polygon></svg>' )
262262 center center no-repeat ;
263+
264+ @media (forced-colors : active ) {
265+ forced-color-adjust : none ;
266+ background-color : ButtonText ;
267+ background-image : none ;
268+ mask-image : url (' data:image/svg+xml, <svg width="10px" height="8px" viewBox="3 7 10 8" version="1.1" xmlns="http://www.w3.org/2000/svg"><polygon stroke="none" fill-rule="evenodd" points="6.33333333 15 3 11.6666667 4.33333333 10.3333333 6.33333333 12.3333333 11.6666667 7 13 8.33333333"/></svg>' );
269+ mask-position : center center ;
270+ mask-repeat : no-repeat ;
271+ }
263272 }
264273 }
265274 }
@@ -294,7 +303,7 @@ html.dark-mode {
294303 color : $authorize-button ;
295304
296305 svg {
297- fill : $authorize-button ;
306+ color : $authorize-button ;
298307 }
299308 }
300309 }
@@ -356,6 +365,15 @@ html.dark-mode {
356365 button {
357366 background : url (" data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='16' height='15' aria-hidden='true'><g transform='translate(2, -1)'><path fill='#E4E6E6' fill-rule='evenodd' d='M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z'></path></g></svg>" )
358367 center center no-repeat ;
368+
369+ @media (forced-colors : active ) {
370+ forced-color-adjust : none ;
371+ background-color : ButtonText ;
372+ background-image : none ;
373+ mask-image : url (" data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='16' height='15' aria-hidden='true'><g transform='translate(2, -1)'><path fill-rule='evenodd' d='M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z'/></g></svg>" );
374+ mask-position : center center ;
375+ mask-repeat : no-repeat ;
376+ }
359377 }
360378 }
361379
@@ -569,6 +587,16 @@ html.dark-mode {
569587 background : url (' data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#e4e6e6" d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>' )
570588 center no-repeat ;
571589 background-size : 100% ;
590+
591+ @media (forced-colors : active ) {
592+ forced-color-adjust : none ;
593+ background-color : CanvasText;
594+ background-image : none ;
595+ mask-image : url (' data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>' );
596+ mask-position : center ;
597+ mask-repeat : no-repeat ;
598+ mask-size : 100% ;
599+ }
572600 }
573601 }
574602
@@ -618,7 +646,7 @@ html.dark-mode {
618646 background : $neutral-95 ;
619647
620648 svg {
621- fill : $neutral-20 ;
649+ color : $neutral-20 ;
622650 }
623651 }
624652
@@ -735,7 +763,7 @@ html.dark-mode {
735763 }
736764
737765 svg {
738- fill : $neutral-40 ;
766+ color : $neutral-40 ;
739767 }
740768 }
741769 }
0 commit comments