Skip to content

Commit a52eaf9

Browse files
committed
Re-fix samsung internet color inversion
1 parent e21d2d0 commit a52eaf9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/components/Projects.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
.projects-section {
2-
background-color: #d1bdf0; /* Mid-tone purple */
2+
color-scheme: only dark;
3+
background-color: #d1bdf0 !important; /* Mid-tone purple */
34
padding: 120px 2em;
45
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
6+
forced-color-adjust: none;
57
}
68

79
.projects-container {
@@ -43,8 +45,9 @@
4345
}
4446

4547
.project-image-container img[src$=".svg"] {
46-
/* Prevent the browser from applying a negative filter to your SVG */
48+
/* This prevents Samsung from applying its proprietary 'Night Mode' filter */
4749
filter: none !important;
50+
-webkit-filter: none !important;
4851
}
4952

5053
.project-image {

0 commit comments

Comments
 (0)