Move dark color for modal close icon into scoped styles
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
f5f00bf46e
commit
6877ca30a1
|
@ -94,10 +94,5 @@
|
|||
--text-invert: #000;
|
||||
--text-light: var(--grey-300);
|
||||
--text-strong: var(--grey-900);
|
||||
|
||||
// svg uses currentColor, change the color to keep the modal close X visible
|
||||
.close {
|
||||
color: var(--grey-900);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -60,4 +60,11 @@ export default {
|
|||
color: var(--dark);
|
||||
}
|
||||
}
|
||||
|
||||
/* Close icon SVG uses currentColor, change the color to keep it visible */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.close {
|
||||
color: var(--grey-900);
|
||||
}
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user