feat: dark mode for main pages (#637)

* feat: update dark mode styles for auth and explore page

* feat: dark mode for home page
This commit is contained in:
boojack
2022-11-29 21:44:52 +08:00
committed by GitHub
parent 52038d26d2
commit 6384f5af74
24 changed files with 126 additions and 174 deletions

View File

@ -18,19 +18,19 @@
.btn-normal {
@apply select-none inline-flex border cursor-pointer px-3 text-sm leading-8 rounded-md hover:opacity-80 hover:shadow;
}
.btn-primary {
@apply btn-normal border-transparent bg-green-600 text-white;
@apply btn-normal border-transparent bg-green-600 text-white dark:text-gray-200;
}
.btn-danger {
@apply btn-normal border-red-600 bg-red-50 text-red-600;
}
.btn-text {
@apply btn-normal text-gray-600 border-none hover:shadow-none;
@apply btn-normal text-gray-600 border-none dark:text-gray-200 hover:shadow-none;
}
.input-text {
@apply w-full px-3 py-2 leading-6 text-sm border rounded;
}