Skip to content

Commit 52d93a5

Browse files
committed
color adjustments
1 parent 8a7690d commit 52d93a5

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/components/Global/CustomCursor/styles.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
width: 100px;
99
height: 100px;
1010
border-radius: 50%;
11-
background: var(--foreground);
11+
background: var(--background);
1212
mix-blend-mode: difference;
1313
pointer-events: none;
1414
transform-origin: left top;
@@ -28,7 +28,7 @@
2828
.cursor-inner {
2929
@apply fixed;
3030
pointer-events: none;
31-
background: var(--foreground);
31+
background: var(--background);
3232
width: 20px;
3333
height: 20px;
3434
border-radius: 50%;
@@ -47,6 +47,12 @@
4747
}
4848
}
4949

50+
@media (prefers-color-scheme: dark) {
51+
.custom-cursor, .cursor-inner {
52+
background: var(--foreground);
53+
}
54+
}
55+
5056
@keyframes cursor-pulse {
5157
0% {
5258
transform: scale(1) translate(-50%, -50%);

0 commit comments

Comments
 (0)