Merge pull request #2153 from vr10t/preferences-visibility

Make preferences more visible by alternating background colors
This commit is contained in:
Kavin 2023-03-11 19:04:20 +00:00 committed by GitHub
commit fe0e1fb83d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -602,4 +602,10 @@ export default {
.pref { .pref {
@apply flex justify-between items-center my-2 mx-[15vw] lt-md:mx-[2vw]; @apply flex justify-between items-center my-2 mx-[15vw] lt-md:mx-[2vw];
} }
.pref:nth-child(odd) {
@apply bg-gray-200;
}
.dark .pref:nth-child(odd) {
@apply bg-dark-800;
}
</style> </style>